Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lexical/html

Package Overview
Dependencies
Maintainers
8
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/html - npm Package Versions

1
1617

0.3.7

Diff

Changelog

Source

0.3.7 (July 6, 2022)

Lots of bug fixes and polish. Notably, the full text of minifed Lexical error codes can now be accessed via the Lexical website.

  • Update Browser Extension's Vite Config (#2540) Will
  • fix: import color and vertical align info from html string (#2571) Adithya Vardhan
  • Update PollNode.css (#2602) VelociRaptor
  • Update package names (#2599) Acy Watson
  • Ensure to call existing listeners only (not newly added ones) (#2573) Maksim Horbachevsky
  • Added dragend to list of rootElementEvents (#2598) stuartrobinson3007
  • Reverse MarkdownExport loop order to take TextMatchTransformers into account first (#2582) Lukas
  • Fetch Lexical State Tree in DevTools App (#2510) Will
  • chore: use keyboard shortcuts (#2580) Adithya Vardhan
  • fix prettier Gerard Rovira
  • Replace background images with pseudo classes to display checkboxes in playground (#2567) VelociRaptor
  • Customize default focus position (#2591) Gerard Rovira
  • Add missing dependencies (#2585) John Flockton
  • Website error codes - lexical.dev/error/<code> (#2574) Gerard Rovira
  • Use Vite server for E2E tests in CI (Fix windows CI failures) (#2584) Acy Watson
  • feat(lexical-playground): copy button for @lexical/code (#2396) 子瞻 Luci
  • fix: commenting issue after ts migration (#2558) Adithya Vardhan
  • npm run changelog (#2561) Gerard Rovira
  • fix: typo edtior to editor (#2560) Florent DUVEAU
zurfyx
published 0.3.6 •

Changelog

Source

0.3.6 (June 29, 2022)

lexical & @lexical/ packages:

  • fix(lexical): Text with underline format is stripped out on paste (#2555) 子瞻 Luci
  • Trigger readonly listener only when value has changed (#2550) Maksim Horbachevsky
  • fix(lexical): deselecting a decorator node by clicking (#2554) 子瞻 Luci
  • Remove wordwrap for tree view (#2551) John Flockton
  • add docs for headless package (#2539) Acy Watson
  • Normalize list children (#2509) Acy Watson
  • Add ability to set format and detail by string type (#2547) John Flockton
  • Pasting multi-line plain text into rich-text mode produces separate paragraphs (#2507) Maksim Horbachevsky
  • Revert "Revert "fix: insert text after delete next to inline node (#2530)" (#2544)" (#2549) Gerard Rovira
  • Revert "fix: insert text after delete next to inline node (#2530)" (#2544) Gerard Rovira
  • fix: insert text after delete next to inline node (#2530) Patrik Åkerstrand
  • Fix IME bug in lexical-history (#2501) John Flockton
  • Export Klass from Lexical root (#2533) John Flockton
  • Hide placeholder when readonly (#2511) Gerard Rovira
  • remove utility types from all packages (#2529) John Flockton
  • Improve markdown newline export/import (#2519) Maksim Horbachevsky
  • Revisit formatText node selection (#2524) Gerard Rovira
  • Fix $generateHtmlFromNodes to output whole editor contents if selection is null (#2504) yicrotkd
  • Remove unnecessary comments (#2505) John Flockton
  • fix(lexical): "selection.format" is not set correctly (#2502) 子瞻 Luci
  • Fixed getStyleObjectFromRawCSS function to work with unformatted css (#2515) Karam Qaoud
  • Fix image copy+paste (#2517) Dominic Gannaway
  • Migrate to TS strict mode 6/n (#2496) John Flockton
  • fix(lexical): caret at wrong place when paste (#2465) 子瞻 Luci
  • Fix infinite recursion in insertText in RangeSelection (#2490) Patrik Åkerstrand
  • Update error message and docs (#2492) John Flockton
  • Migrate to TS strict mode 5/n (#2488) John Flockton
  • Fix composition bugs affecting intern (#2487) John Flockton
  • Fix FF issue with composition (#2486) Dominic Gannaway
  • Migrate to TS strict mode 3/n (#2482) John Flockton
  • Fix Flow rewrite imports script (#2477) John Flockton
  • Migrate to TS strict mode 2/n (#2469) John Flockton
  • Inserting inline elements (#2474) Maksim Horbachevsky
  • Fix component/plugin names in get started section (#2472) Aleš Menzel
  • Revert "add e2e tests for MaxLength plugin (#2466)" (#2467) Gerard Rovira
  • add e2e tests for MaxLength plugin (#2466) Adithya Vardhan
  • Fix can format backwards when at first text node boundary (#2445) Gerard Rovira
  • Fix button--outline hover color dark mode (#2462) M. Zakiyuddin Munziri
  • Migrate to TS strict mode 1/n (#2458) John Flockton
  • renamed character styles popup plugin (#2456) Strek

Playground:

  • Flower size (#2527) Gerard Rovira
  • fix(lexical-playground): Resizing is not consistent on mobile (#2518) 子瞻 Luci
  • fix(lexical-playground): Floating toolbar displayed on composition (#2506) 子瞻 Luci
  • chore(lexical-playground): remove redundant code (#2497) 子瞻 Luci

Docs:

  • add docs for headless package (#2539) Acy Watson
  • tiny typo fix (#2514) Hadi El-Yakhni

Infra:

  • Update e2e test docs and run-all script (#2522) yicrotkd
  • Fix Windows CI Runs (#2513) Acy Watson
  • Deploy Lexical prod build to Vercel (#2476) Gerard Rovira
  • CI check against prod bundle (#2460) Gerard Rovira
  • shared PKG to cleanup (#2463) Gerard Rovira
zurfyx
published 0.3.5 •

Changelog

Source

0.3.5 (June 16, 2022)

  • Fix bad warnOnlyOnce minification (#2448)
  • add missing flow type (#2447)
tylerbainbridge
published 0.3.4 •

Changelog

Source

0.3.4 (June 16, 2022)

  • Customizable DecoratorBlockNode via theme (#2387)
  • initializeEditorState on LexicalComposer (#2425)
  • Revert "Prevent dispatching redundant can undo/redo commands (#2394)" (#2440)
  • Improve Spread type (#2434)
  • Improve text mutations around selection format changes (#2433)
  • Remove redundant newlines (#2431)
  • fix: add styles on copy (#2427)
  • Fix exposed private methods (#2429)
  • Fix backspace bug with non-RangeSelection (#2416)
  • Fix Android backspace bug (#2412)
  • Fix orphan list item clipboard bug (#2407)
  • Remove default json and node-type from DOM output. (#2404)
  • Simplify clickable links checks (#2395)
  • Prevent dispatching redundant can undo/redo commands (#2394)
  • Editor instance toJSON should call toJSON method on editor state (#2390)
fantactuka
published 0.3.3 •

Changelog

Source

0.3.3 (June 9, 2022)

  • Add stringified LexicalNodes to clipboard for lossless Lexical <-> Lexical copy and paste. (#2370)
  • Fix bad target issue for backspace/delete (#2375)
  • Improve nested editor propagation (#2367)
  • Fix scrolling issues due to browser rounding bugs (#2350)
  • Code cleanup, type definition and docs improvements

Playground

  • Autocomplete v2 (#2343)
  • Add collaboration support for commenting (#2376)
zurfyx
published 0.3.2 •

Changelog

Source

0.3.2 (June 6, 2022)

  • added typing for ListItemNode.setChecked, export ListNodeTagType (#2335)
  • Fix copy + paste in plain text (#2342)
  • Remove process.env (#2338)
fantactuka
published 0.3.1 •

Changelog

Source

0.3.1 (June 3, 2022)

  • Fix link toggle bug (#2331)
  • Enable copy+paste on NodeSelection (#2327)
  • Add default exportDOM and importDOM methods (#2324)
  • Disable checklist items in readOnly mode (#2321)
trueadm
published 0.3.0 •

Changelog

Source

0.3.0 (June 2, 2022)

Note: this release contains a number of breaking changes.

Major Changes

  • JSON parsing has changed from previous versions when serializing/parsing EditorState. See https://lexical.dev/docs/concepts/serialization.
  • Custom nodes that do not implement importDOM/exportDOM/importJSON/exportJSON may trigger a warning in DEV.
  • Imports from the Lexical npm packages that were previously default exports are now all named exports.

All Changes

  • Fix various JSON/HTML issues (#2317)
  • Add includeHeaders argument to INSERT_TABLE_COMMAND (#2300)
  • 02cb62f8 Fix invariant and update codes (#2315)
  • 6665c41c Stengthen onClick conditional (#2314)
  • 099376fa fix mispositioning of treeview caret (#2309)
  • c7191cc7 Remove unstable JSON serialization functions + unify copy+paste to be HTML (#2241)
  • 52c3d325 Normalize decorator warnings (#2291)
  • 3970b95b Improve DEV warnings for node methods (#2290)
  • 048fccab move toggleLink to lexical/link (#2239)
  • 6a01a8f3 Revise $hasUpdateTag (#2281)
  • 2f78eeb4 Improve scroll plugin (#2282)
  • eadd6dba Expose $getUpdateTags and $addUpdateTag (#2279)
  • eeccb4dd Improve copy + paste logic (#2276)
  • 06cac8e8 Fix bug in $createNodesFromDOM (#2275)
  • f6d4fa1a Simplify runtime logic (#2272)
  • 62f4052a Fix placeholder race conditions on load (#2270)
  • 2ff67df4 Provide legacy editor state JSON conversion (#2269)
  • b69f8df5 fix(code-block): move to start/move to end (#2257)
  • 65ebc8d9 Rename $rootTextContentCurry -> $rootTextContent (#2018)
  • 4e81bd30 Alter sequence for commitPendingUpdates (#2262)
  • a0f7c0d2 Fix bug in trimTextContentFromAnchor (#2265)
  • 018083f8 Check for frozen selection only on dev env (#2264)
  • 82f4365a Move HTML<->Lexical functions to new package, @lexical/html. (#2246)
  • e0ad392f Expose $parseSerializedNode (#2253)
  • 584b8460 feat: drop down keyboard navigation (#1985)
  • 90aad493 Add MaxLengthPlugin (#2254)
  • 94673423 Trim surrounding whitespace before applying text formatting during markdown export (#2251)
  • 77f1d594 Expose RootNode to be used in node transform (#2243)
  • eb411fd7 Rename insert text command (#2242)
  • 3b7e6846 Skip underscores for links (non-intraword format) (#2191)
  • d411cce8 Add missing types (#2225)
  • 8d549259 Support Strikethrough and italic paste from Google Docs (#2220)
  • 71824d1b Fix text replacement event handling (#2203)
  • 97acadd3 Ensure selection is not prematurely nulled out on blur (#2158)
  • 4229de03 Improve useDecorators sequencing (#2200)
  • 21a9d456 Adjust selection to be after decorator node when moving selection to the end of decorator/linebreak (#2162)
  • 92237d6f add runtime check for list node and list item node (#2196)
  • 91ba4725 Remove default exports from synced packages (#2193)
  • bf4ed74a Fix Safari IME issues (#2185)
  • cfc1cf62 Ensure window.event is valid (#2184)
  • ebbedbbc Delete unused variable dfsAncestor (#2173)
  • 29bcd493 Add utility types as dep (#2177)
  • d83515c4 Update LexicalMarkdownShortcutPlugin.d.ts (#2160)
  • bccd5402 Replace element node with list item instead of appending. Fix #2142 (#2146)
1
1617
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc