novident_editor_document 1.0.2 copy "novident_editor_document: ^1.0.2" to clipboard
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.attributes to return a direct Map instance, instead copies. It's NOT recommended to use for mutation. All the warnings is inside the method documentation. Use updateAttributes instead for any change to maintain the consistency.

1.0.1 #

  • Chore: expose OpIterator to the public API.
  • Chore: export clear and operations methods from Delta class.
  • Fix: length now 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).
  • PathList<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.
0
likes
0
points
387
downloads

Publisher

unverified uploader

Weekly Downloads

Core document model for Novident Editor — tree nodes, rich-text delta, paths, and attributes. Reusable independently of the full editor.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, diff_match_patch, flutter, nanoid

More

Packages that depend on novident_editor_document