Module
@riducms/plugin-richtext
@riducms/plugin-richtext — The statically bundled Svelte/Lexical half of the rich-text plugin.
Types 9
constant richTextAdminPluginThe paired admin export named by the Go plugin descriptor.
constant richTextMessagesExact namespaced English, French, and Arabic messages used by the rich-text admin plugin.
type RichTextFeatureA rich-text authoring capability supported by the current editor.
type SerializedUploadNodeThe public serialized Lexical shape for an embedded upload reference.
type RichTextEditorFeatureA feature the core editor implements.
type RichTextMessageKeyOne of the editor's messages, such as `"editor.placeholder"`.
type RichTextMessagesText for some of the editor's messages, such as the app's own translations. Text keeps the English message's `{placeholders}`; messages left out come from the built-in catalogue.
type RichTextToolbarWhere the formatting toolbar appears: over a selection, above the text, or both.
type RichTextBlockComponentsPublic type RichTextBlockComponents from @riducms/plugin-richtext.
Interfaces 2
interface RichTextConfigThe manifest configuration consumed by the editor.
interface RichTextMarkdownOptionsHow `convertMarkdownToLexical` converts: which of the editor's features it may use.
Constants 1
constant RichTextEditorPublic constant RichTextEditor from @riducms/plugin-richtext.
Functions 1
convertMarkdownToLexical()A document from Markdown, such as a language model's answer or imported content, made the way the editor's Markdown shortcuts make it. It runs without a browser, so a server action or script can save it, and the editor can open it.
Components 1
component RichTextPublic Svelte component exported as RichText.