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

@lexical/clipboard

Package Overview
Dependencies
Maintainers
7
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/clipboard - npm Package Versions

1
23

0.3.6

Diff

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)
thegreatercurve
published 0.2.9 •

Changelog

Source

0.2.9 (May 11, 2022)

  • Fix a breaking change to the NPM release (#2144)
acywatson
published 0.2.8 •

Changelog

Source

0.2.8 (May 11, 2022)

  • Migrate more packages to TypeScript (#2135)
  • Fix several TypeScript type bugs (#2116)
  • Fix several Markdown export bugs (#2136m #2137, #2139)
fantactuka
published 0.2.7 •

Changelog

Source

0.2.7 (May 9, 2022)

  • Fix Firefox composition bug with emojis (#2109)
  • Add a cache for selection.getNodes() (#2088)
  • remove root style from theme (#2084)
  • Fix character styles position + caret color (#2080)
  • Remove TextNode __marks (#2022)
  • Move isComposing to TextNode (#2032)
  • Markdown import/export/shortcuts (#1998)
  • Improve Lexical -> HTML and Lexical -> Lexical Copy and Paste Data Model Conversion (#1996)
  • Headless editor mode (#2046)
  • Checklist support (#2050)
  • Type definitions fixes (#2076, #2030, #2023, #2028)
  • Adding support for parsed JSON in addition to stringified JSON (#2055)
  • Remove root style from theme (#2084)
  • Fix character styles position + caret color (#2080)
  • Multiple fixes for node insertion and selection
  • Documentation updates
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