Skip to content

MDXEditorMethods

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/editor/src/MDXEditor.tsx

Properties

PropertyType
getMarkdown() => string
setMarkdown(value: string) => void
insertMarkdown(value: string) => void
focus`(
callbackFn?: (() => void) | undefined,
opts?: {
  defaultSelection?: 'rootStart' | 'rootEnd'
  preventScroll?: boolean
}

) => void| |getContentEditableHTML|() => string| |getSelectionMarkdown|() => string` |

Was this page helpful?

Download as PDF