Skip to main content

Module recipe_rich_text_editor_style

Module recipe_rich_text_editor_style 

Source
Expand description

Default RichTextEditorStyle impl.

Frames the editor viewport in a TextInput-like border + padding + corner-radius surface. The RichTextEditor widget routes its body through this trait — apps installing a custom RichTextEditorStyle (per-call .style(...) or theme-wide via style_slots.rich_text_editor) swap the chrome wholesale without touching the editor’s handlers, focus, or paint.

Structs§

RecipeRichTextEditorStyle
Default RichTextEditorStyle shipped with Teksilo. Wraps the viewport in a TextInput-like border + padding + corner-radius frame, with a focus-aware border. Returns the viewport id directly when read-only — viewers shouldn’t carry an editable-field frame.