lexical_html 1.7.4 copy "lexical_html: ^1.7.4" to clipboard
lexical_html: ^1.7.4 copied to clipboard

HTML import and export for lexical_core: render a document to HTML, and parse pasted HTML back into nodes. Pure Dart.

Changelog #

1.7.4 #

A block wrapper contributes its text once. A <div> holding only inline content becomes a paragraph — and that paragraph was built from the converted children and filled again by converting the element a second time, so every such div was pasted into the document twice. Its alignment survives as before.

1.7.3 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_core for what changed.

1.7.2 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_core for what changed.

1.7.1 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_link for what changed.

1.7.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image and lexical_flutter for what changed.

1.6.1 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image for what changed.

1.6.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image for what changed.

1.5.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_image for what changed.

1.4.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_flutter for what changed.

1.3.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. See lexical_core for what changed.

1.2.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version.

1.1.0 #

No library changes. The packages version in lockstep — they are one library split for pay-for-what-you-use, not a set of independent projects — so this release keeps the set on one version. The bundled example is now in English.

1.0.0 #

First stable release; semantic versioning applies from here. HTML import and export, with a sanitizer that runs at render time rather than mangling the model.

The entries below record how it got here.

0.1.0-dev.1 #

First development release.

Added #

  • $generateHtmlFromNodes: semantic HTML for headings, quotes, lists including check lists, code with its language, links, and the text formats.
  • $generateNodesFromHtml: the tags a paste actually arrives as, with unrecognized elements contributing their text rather than nothing.
  • HtmlImportLimits, bounding depth, node count and text length, because pasted markup is untrusted input.
  • Escaping applied to every value that reaches the output, attributes included.
0
likes
160
points
425
downloads

Documentation

API reference

Publisher

verified publisherahmadre.com

Weekly Downloads

HTML import and export for lexical_core: render a document to HTML, and parse pasted HTML back into nodes. Pure Dart.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

html, lexical_code, lexical_core, lexical_link, lexical_list, lexical_rich_text, meta

More

Packages that depend on lexical_html