Skip to main content

lexical_layout 1.11.0 copy "lexical_layout: ^1.11.0" to clipboard
lexical_layout: ^1.11.0 copied to clipboard

Column layout nodes for lexical_core (layout-container, layout-item), wire-compatible with the Lexical playground's layout nodes. Pure Dart.

Changelog #

1.11.0 #

First release. LayoutContainerNode (layout-container, with templateColumns) and LayoutItemNode (layout-item), in the Lexical playground's wire shape and verified against fixtures generated by Lexical 0.48. Both are shadow roots; the container cannot be empty, and backspace in the first of a layout's all-empty columns removes the layout, as upstream.

parseTemplateColumns and resolveTemplateColumns read a grid template and turn it into column widths, or null when the width is too narrow for the fixed tracks and the columns should stack. registerLayout brings the insert and update commands and the structural transforms of upstream's LayoutExtension.

0
likes
160
points
850
downloads

Documentation

API reference

Publisher

verified publisherahmadre.com

Weekly Downloads

Column layout nodes for lexical_core (layout-container, layout-item), wire-compatible with the Lexical playground's layout nodes. Pure Dart.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

lexical_core, meta

More

Packages that depend on lexical_layout