Markdown Editor Kit

MdKitEditor

Function: MdKitEditor()

function MdKitEditor(props: MdKitEditorProps): Element;

Defined in: packages/mdkit/src/markdown/MdKitEditor.tsx:43

Markdown-first rich text editor. Behaves like a controlled textarea in local mode and switches to a Yjs-backed engine when given a collaboration session.

Parameters

ParameterType
propsMdKitEditorProps

Returns

Element

Remarks

In collaborative mode the Yjs document is the content source; external value changes are not applied into the shared document.

On this page