![]() visibleDragbar?: boolean=true: Show drag and drop tool.️ ⚠️ Dragbar is invalid when height parameter percentage. height?: number=200: The height of the editor.toolbar Override the default command element.textarea Use div to replace TextArea or re-render TextArea.components: re-render textarea/toolbar element.Use div to replace TextArea or re-render TextArea. renderTextarea?: (props, opts) => JSX.Element : Please use renderTextarea -> components.textareaProps?: TextareaHTMLAttributes: Set the textarea related props.previewOptions?: ReactMarkdown.ReactMarkdownProps: This is reset settings.autoFocus?: true: Can be used to make Markdown Editor focus itself on initialization.extraCommands?: ICommand: Displayed on the right side of the toolbar.commandsFilter?: (command: ICommand, isExtra: boolean) => false | ICommand: Filter or modify your commands.Commands are explained in more details below. If no commands are specified, the default will be used. commands?: ICommand: An array of ICommand, which, each one, contain a commands property. ![]() onStatistics?: (data: Statistics) => void Some data on the statistics editor.onHeightChange?: ((value?: CSSProperties, oldValue?: CSSProperties, state?: ContextStore): editor height change listener.onChange?: (value?: string, event?: React.ChangeEvent, state?: ContextStore): Event handler for the onChange event.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |