TextArea

Custom textarea.

Interface: ITextArea.

See the parameters of this component in storybook.

Textarea

Example

import {Actions, type IMessage, type ITextArea} from "@onlyoffice/docspace-plugin-sdk"

const onChange = (value: string) => {
  props.value = value

  const message: IMessage = {
    actions: [Actions.updateProps],
    newProps: props,
  }
  return message
}

const props: ITextArea = {
  value: "",
  onChange,
}

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).