novident_editor_document 1.0.2
novident_editor_document: ^1.0.2 copied to clipboard
Core document model for Novident Editor — tree nodes, rich-text delta, paths, and attributes. Reusable independently of the full editor.
1.0.2 #
- Feat: replaced
node.attributesto return a directMapinstance, instead copies. It's NOT recommended to use for mutation. All the warnings is inside the method documentation. UseupdateAttributesinstead for any change to maintain the consistency.
1.0.1 #
- Chore: expose
OpIteratorto the public API. - Chore: export
clearandoperationsmethods fromDeltaclass. - Fix:
lengthnow uses cached plain text value when needed.
1.0.0 #
- Initial release: document model extracted from
novident_editor. Document— tree-structured document with JSON serialization.Node— tree node with attributes, children, path resolution.Delta— Quill-compatible rich-text delta (compose, diff, invert).Path—List<int>with comparison and navigation extensions.Attributes— map-based attribute helpers (compose, invert, diff).NodeIterator— depth-first visual-order traversal.RichTextKeys— well-known rich-text attribute constants.