Options
All
  • Public
  • Public/Protected
  • All
Menu

Properties for the MarkdownEditor component.

internal

Hierarchy

  • MarkdownEditorProps

Index

Properties

Properties

Optional onChange

onChange: (data: { html: string; text: string }, event?: ChangeEvent<HTMLTextAreaElement>) => void

Function called each time the user makes a change to the editor.

Type declaration

    • (data: { html: string; text: string }, event?: ChangeEvent<HTMLTextAreaElement>): void
    • Parameters

      • data: { html: string; text: string }
        • html: string
        • text: string
      • Optional event: ChangeEvent<HTMLTextAreaElement>

      Returns void

Optional style

style: CSSProperties

Styling properties for the editor.

Optional value

value: string

Initial content displayed in the editor.

Generated using TypeDoc