lexical_image 1.2.0
lexical_image: ^1.2.0 copied to clipboard
Image nodes for lexical_core, with a resizable Flutter widget: drag handles with configurable minimum and maximum size, aspect-ratio preservation and optional captions.
Changelog #
1.2.0 #
imageMarkdownTransformer({maxWidth}): the image rule with a width of your choosing.imageTransformeris now this function at its default, which is still upstream's800, so nothing changes for anyone not passing a number. It exists because the only way to write a different one was to copy the rule into the application — and a copied rule stops matching this one the first time either changes.
1.1.0 #
First release. The packages version in lockstep, so this one joins the set at its current version rather than at 1.0.0.
Images and GIFs: a decorator node matching the Lexical playground's wire format, and a Flutter widget with drag handles, min/max limits, aspect-ratio preservation and optional captions.