minHeights?: number=100: Minimum drag height.maxHeight?: number=1200: Maximum drag height.preview?: 'live' | 'edit' | 'preview': Default value live, Show markdown preview.overflow?: boolean=true: Disable fullscreen setting body styles.fullscreen?: boolean=false: Show markdown preview.The value is false, which increases the editing speed. highlightEnable?: boolean=true: Disable editing area code highlighting.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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |