Rich text / foldkit-mixins-richtext

sourceEditor

function · packages/mixins-richtext/src/source.ts:140

function sourceEditor<Message>(): SlotView.SlotView<
  typeof SourceEditorSlots,
  SourceEditorInput<Message>,
  Message
>

The source editor as a slot view: a text area holding the draft, then — once the draft is edited — one warning per thing switching back would lose or refuse, then the way back.