novident_editor_rich_text 1.0.3
novident_editor_rich_text: ^1.0.3 copied to clipboard
Rich text paragraph rendering for Novident Editor — widget, selection mixin, and abstract editor config. Usable without the full editor for lightweight node rendering.
Changelog #
1.0.3 #
- feat: replaceable span pipeline (
NovidentTextSpanPipeline). All per-span logic — style resolution, text transforms, span emission, selection contrast, placeholder handling and span adjustments — moved out ofNovidentRichTextinto a 6-phase pipeline with immutable contexts.DefaultNovidentTextSpanPipelinereproduces the previous behavior exactly (legacy callbacks kept in the constructor), and the pipeline can be plugged throughRichTextEditorConfig.spanPipelineorNovidentRichText.spanPipeline— custom decorations (e.g. spell-check marks) no longer require forking the widget. - fix: use
resolveStyleForNodeinstead the changedresolveStyle. - fix:
moveVerticallyInTextreturnnullon empty paragraphs or empty nodes._renderParagraphwas the only used, and_placeholderRenderParagraphwas ignored, causing the error - fix: when the caret wraps the current character selection, the constrast color is never used.
- chore:
getRenderParagraph()returns the delta content_renderParagraphand, if it's null, returns the_placeholderRenderParagraph(can be null too)
1.0.2 #
- chore: bumped
novident_editor_documentdependency to ^1.0.4 after TextDocument revert.
1.0.1 #
- feat: replaced Delta usage to the new TextDocument class.
- chore: updated dependencies to the latest versions
- chore: minimal improvements to perfomance and assignations
1.0.0 #
- First release.