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

@lexical/mark

Package Overview
Dependencies
Maintainers
0
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/mark - npm Package Versions

1
19

0.11.2

Diff

Changelog

Source

v0.11.2 (2023-07-11)

  • Update listeners.md (#4768) mohammadreza490
  • Reset editor state when setting null root (#4762) Maksim Horbachevsky
  • Flow key down command (#4766) Gerard Rovira
  • Fixes broken trunk (#4763) Maksim Horbachevsky
  • Fix $transferStartingElementPointToTextPoint() (#4756) amyworrall
  • Add video links to Getting Started docs (#4752) Acy Watson
  • Fix missing token type (#4751) Maksim Horbachevsky
  • Add selection adjustments for node removal (#4745) Maksim Horbachevsky
  • Allow preventing text drag (#4749) Maksim Horbachevsky
  • Add EditorRef plugin (#4747) Acy Watson
  • Fix flowtypes for cut/copy commands (#4746) Maksim Horbachevsky
  • Add RangeSelection docs (#4742) Acy Watson
  • Fix multi-line token parsing (#4741) Maksim Horbachevsky
  • Fix code block export (#4702) Maksim Horbachevsky
  • Remove instanceof checks in onPasteForPlainText (#4737) Acy Watson
  • Context Menu Options Added (#4713) Shubhankerism
  • Show excalidraw edit button (#4731) Ibrahim El-bastawisi
  • Fixed drop down buttons to prevent sumbit (#4727) Ou7law007
  • Improve md error message (#4710) Acy Watson
  • Fix: Use $createListItemNode within importJSON to override on deserialization (#4717) Kazu
  • Image resizer fix (#4722) Maksim Horbachevsky
  • Keeping local comments and sharedCommentsArray orders in sync (#4721) Ebad
  • Table selection keyboard controls (#4689) Maksim Horbachevsky
  • correction : line 47 - create -> update (#4704) Abhishek Kumar
  • Allow table selection when cells are already selected (#4699) Peter Cook Bulukin
  • Swap noopener for noreferrer (#4690) Adam Conrad
  • Additional fix for editor._window in lexical-clipboard (#4686) Xinzi Zhou
  • Preserving language and indentation of code block when serialized/deserialized (#4682) Ebad
  • Remove outdated examples (#4684) John Flockton
  • Remove delay from flakey E2E test (#4676) John Flockton
  • Fix dropdown menu position in playground when scroll (#4496) Xinyuan Wang
  • feat: playground inline image plugin (#4423) Anthony Bouch
  • Override selectall on RangeSelection (#4671) Gerard Rovira
  • Normalize select all on NodeSelection (#4664) Gerard Rovira
  • Add columns next to selection (#4663) Peter Cook Bulukin
  • Fix clipboard if content editable is in an iframe. (#4649) Xinzi Zhou
  • Fix reconciler recovery listeners (#4654) Maksim Horbachevsky
  • Check for specific excluded props (#4655) Maksim Horbachevsky
  • Fix ContentEditable Flow types (#4652) Gerard Rovira
  • Import alignment for Heading and Blockquote (#4625) Ivaylo Pavlov
  • Add missing ExportDOM to CodeNode (#4637) Ivaylo Pavlov
  • Add error formating params (#4629) Maksim Horbachevsky
  • Add clipboard documentation (#4631) Acy Watson
  • Add error formating params (#4627) Maksim Horbachevsky
  • Fix issue with syncing yjs changes to Lexical (#4621) Ebad
  • fix issue with dead keys (i.e. backticks) when converting markdown (#4620) Michel Bongard
  • Don't throw error on format element (#4611) John Flockton
  • fix: freeze get style object in DEV env to avoid mutations (#4616) Jatin Ranka
  • TextNode docs (#4606) Acy Watson
  • Fix iOS newline insertion (#4603) Maksim Horbachevsky
  • Add vercel analytics script (#4604) Acy Watson
  • mouseenter event typo fix (#4588) raghvendra
  • Update nodes.md (#4598) navanshu
  • Fix MenuTypeahead position (#4597) Aleksandr Kiliushin
  • Fix uuid bug in AutocompleteNode.clone() (#4592) Scott Driggers
  • use selection from state in insertNodeToNearestRoot and insertNodes (#4570) Calvin Leung
  • Allow native shift+arrow selection work over decorator nodes (#4584) John Flockton
  • Fix a11y for ContentEditable (#4580) Max Shypko
  • Another approach to fixing the className cache (#4582) Acy Watson
  • Better Error Message for exportJSON type (#4556) Hao Luo
zurfyx
published 0.11.1 •

Changelog

Source

0.11.1 (2023-05-26)

  • Fire selection change on decorator delete (#4555) Acy Watson
  • Fix flow (#4549) Gerard Rovira
  • Add key to portal to avoid decorator component remounting (#4554) Maksim Horbachevsky
  • Mutations to respect canInsertBeforeAfter (#4553) Gerard Rovira
  • Arrow up selection fix #4536 (#4544) Maksim Horbachevsky
  • Max length recalculation. Fix #4542 (#4543) Maksim Horbachevsky
  • Fix update-changelog not finishing (#4537) Gerard Rovira
zurfyx
published 0.11.0 •

Changelog

Source

0.11.0 (2023-05-23)

  • Tame wild white spaces (#4467) Gerard Rovira
  • Auto embed fix #4530 (#4535) Maksim Horbachevsky
  • Basic Context Menu (behind Switch) (#4285) Tyler Bainbridge
  • Allow importing width and height from table cell and DOM nodes (#4521) Kristian Ignatov
  • Add HTML deserialization recipe to docs (#4432) Ivaylo Pavlov
  • Fix clickable link plugin #4514 (#4519) Maksim Horbachevsky
  • Allow arbitrary awareness fields in Collaboration plugin (#4507) Attila
  • Make tabs flexible in code (#4520) Gerard Rovira
  • Fix GC memory leak (2) (#4513) Gerard Rovira
  • Adjust selection after triple click (#4512) Maksim Horbachevsky
  • Fix GC memory leak (#4510) Gerard Rovira
  • TypeAheadMenu and TableActionMenu rendered off screen fixed. (#4301) Shubhankerism
  • Fix Flow types (#4485) Gerard Rovira
  • Add texturi-list support in clipboard. (#4478) xinyuan0801
  • Sanitize url (#4483) Acy Watson
  • exportDOM methods for HeadingNode, QuoteNode (#4445) Ivaylo Pavlov
  • Tests for inserting text either side of an inline element (#4346) Jamie Birch
  • Improve rect deduplication (#4471) Acy Watson
  • Sanitize floatingLinkEditor (#4462) Acy Watson
  • Generalize Menu Logic (#4284) Tyler Bainbridge
  • Event delegation for NoteEventPlugin (#4424) Maksim Horbachevsky
  • Tab support (#4436) Gerard Rovira
  • Handle empty element deletion (#4380) Maksim Horbachevsky
  • Select all adjustments (#4425) Maksim Horbachevsky
  • Add documentation for TabIndentationPlugin (#4453) Filip Palmqvist
  • Disable flaky test (#4455) Gerard Rovira
  • fix attach event listeners to initial nodes (#4454) Ante Sepic
  • Revisit touch devices (#4441) Gerard Rovira
  • Allow to pass all possible attributes to a content editable div (#4450) Leks Kazimirchuk
  • Fix text click selection on touch devices #3098 (#4395) Ibrahim El-bastawisi
  • Updated Toolbar Plugin to Add keyboard shortcut for adding hyperlinks (#4413) AnuragBalhra
  • simplify logic for the fix Improve responsiveness of the floating text format toolbar buttons (#4431) Alessio Gravili
  • Remove unused styles (#4426) Georgii Dolzhykov
  • Fix HistoryPlugin selection out of sync (#4390) Gerard Rovira
  • Split test files and skip flaky tests in linux collab (#4394) Acy Watson
  • Optional colrowSpan serialization (#4344) Gerard Rovira
  • Fix list merging (#4386) Acy Watson
  • Fix markdown list merging (#4387) Acy Watson
  • Use provided selection when serializing to HTML (#4392) Acy Watson
  • Flow table bg color types (#4400) Gerard Rovira
  • Add docs for list package (#4393) Acy Watson
  • Make DecoratorBlockNode.isInline return false (#4383) EgonBolton
  • Setting initial state of isSmallWidthViewport (#4398) Ebad
  • Improve responsiveness of the floating text format toolbar buttons (#4298) Brandon
  • Collapsible enhancements (#4257) Maksim Horbachevsky
  • Inherit format for text entity node (#4382) Maksim Horbachevsky
  • Fall back to url if parser fails (#4364) Acy Watson
  • Change MarkNodeclone node arg type to this (#4363) Giovanni Cappellotto
  • 0.10.0 (#4349) Acy Watson
acywatson
published 0.10.0 •

Changelog

Source

0.10.0 (2023-04-18)

Breaking Changes

@lexical/link will now sanitize anchor tag hrefs before rendering them to the DOM. This provides a measure of protection against XSS attacks that rely on inlining javascript in that attribute. However, it means that links using less common protocols will now be sanitized (converted to about:blank), which will be a breaking change for any existing links.

Like most other node-based logic in Lexical, the sanitization logic can be overriden by overriding LinkNode using the Node Overrides API and replacing it with a node that implements the sanitizeUrl method differently.

Fixes CVE-2023-30792

  • Table feature: background color (#4345) Gerard Rovira
  • Add @react/LexicalClickableLinkPlugin (#4316) Gerard Rovira
  • TablePlugin feature: cell merge (#4343) Gerard Rovira
  • Ban javascript URLs in @lexical/link (#4342) Acy Watson
  • Table Cell Background Color (#4306) Gerard Rovira
  • ExportDOM in Debug Tree View (#4307) Ivaylo Pavlov
acywatson
published 0.9.2 •

Changelog

Source

0.9.2 (2023-04-14)

  • Update codes.json (#4320) Gerard Rovira
  • Missing table types (#4302) Gerard Rovira
  • Fix cursor changing to default when resizing image (#4317) (#4318) Mohit Singh Chauhan
  • Persist files and scene state in Excalidraw plugin (#4299) Ivaylo Pavlov
  • Fix crash on prettier formatting fail (#4310) Syed Umar Anis
  • YouTube embed: use more privacy-friendly youtube-nocookie.com instead of youtube.com (#4282) Alessio Gravili
  • Fix flowtypes for insertBefore/after (#4245) Maksim Horbachevsky
  • Fix excluded property imports (#4287) Acy Watson
  • Allow excluding specific properties from collab syncing via plugin (#4275) Acy Watson
  • Update tables.md (#4278) Gerard Rovira
  • Refactor Check for mention match function (#4277) Aleksandr Kiliushin
  • Replace canExtractContents with ShadowRoot check (#4276) Gerard Rovira
  • Ignore script nodes in HTML deserialization (#4249) Acy Watson
  • Fix Clear Formatting (Fixes #4188) (#4204) Ivaylo Pavlov
  • Add try catch around katex renderer (#4260) John Flockton
  • last table row delete throwing error (#4270) Aman Bansal
  • Upgrade Flow to 0.2 (#4264) Gerard Rovira
  • Cell merge backwards compatiblity 2 (#4268) Gerard Rovira
  • Cell merge backwards compatiblity (#4267) Gerard Rovira
  • fix get text selectRect error (#4263) yjh
  • Loosen node and version types (#4143) John Flockton
  • Bugfix: Comment popup closes when cursor hovers over table (#4228) Ben Carleton
  • isEditable is true on first render even if editor initiated with false (#4251) Aman Bansal
  • Fix TableCellNode import/exportJSON (#4259) Gerard Rovira
  • Flow: table missing methods (#4261) Gerard Rovira
  • Fix insertTableColumn when rowSpan > 1 (#4258) Gerard Rovira
  • Bugfix: Floating tool bar not responsive in tables (#4237) Ben Carleton
  • pasting text on input was creating a new paragraph node instead of ad… (#4246) Aman Bansal
  • Excalidraw Component fixes (#4252) Ivaylo Pavlov
  • Preserve content with merging cells (#4242) Gerard Rovira
  • Support select all for node selection (#4233) Maksim Horbachevsky
  • Fix TypeaheadMenuPlugin scrollIntoView to not rely on external class (#4238) Dragoș Străinu
  • Ignore __indent in list deserialization (#4241) Acy Watson
  • Revise Excalidraw dependency (#4234) Gerard Rovira
  • Table toolbar foundation (#4182) Gerard Rovira
  • Restore MD selection (#4232) Gerard Rovira
  • Fixed aria-label typo (#4229) Hao Luo
  • Export $hasUpdateTag (#4216) Alma Madsen
  • Fix incorrect placement of Auto Embed (#4192) wangqi
  • Fix bad selection shift at boundary (#4219) Gerard Rovira
  • Improve Documentation - multiple modules (#4166) Harry Sanders
  • Unmerge cell (#4212) Gerard Rovira
  • Only allow numbers in TablePlugin row / column number input (#4201) Alessio Gravili
  • Create fragment attached to the doc (#4186) Maksim Horbachevsky
  • Add a title to the link node to support titles in markdown (#4161) themagickoala
  • Fix table insertion (#4180) Gerard Rovira
  • added trash button to floatingLinkEditor plugin to toggle the link to… (#4209) Aman Bansal
  • Delete unused LinkPreview.css (#4200) Alessio Gravili
  • Use 'padding' shorthand CSS rule (#4198) Alessio Gravili
  • Add missing flow file (#4193) Maksim Horbachevsky
zurfyx
published 0.9.1 •

Changelog

Source

v0.9.1 (2023-03-24)

  • Explicit E2E_BROWSER on E2E runs (#4179) Gerard Rovira
  • Fix tables Webkit e2e (#4175) Gerard Rovira
  • Remove unused convertToMarkdown file (#4169) themagickoala
  • Improve markdown transformers (#3886) Godefroy
  • Iterate through the live NodeList instead of copying to an array in $generateNodesFromDOM (#4164) Acy Watson
  • Bump Excalidraw to v0.14.2 (#4153) Ivaylo Pavlov
  • Fix table stealing selectionchange (#4162) Gerard Rovira
  • Improve Documentation #2845 - lexical/selection (#4140) Harry Sanders
  • UX: Floating link editor: better positioning (#4158) Alessio Gravili
  • DecoratorNode not disabling placeholder at root (#4147) Harry Sanders
  • Color picker - fixes #4127 (#4146) Harry Sanders
  • Validate against infinite loop in ListItemNode.setIndent (#4120) Acy Watson
  • Paste merged celled table (#4116) Gerard Rovira
  • Add md import/export tests, fix numbered lists pasting (#4123) Maksim Horbachevsky
  • Bump webpack from 5.75.0 to 5.76.0 (#4128) dependabot[bot]
  • fix: drag-over event on windows (#4125) 子瞻 Luci
  • Remove link preview (#4122) John Flockton
  • Add a function to create a LinkMatcher based on a RegExp (#3972) Karibash
  • Revise padding for smaller res (#4112) Gerard Rovira
  • Catch failures in parseEditorState (#4109) Acy Watson
  • Improve Documentation #2845 - lexical/list (#4107) Harry Sanders
  • Fix tables Collab E2E (#4117) Gerard Rovira
  • Fix ShadowRoot + X insertNode (#4115) Gerard Rovira
  • Overflow of logos of action items in Lexical Playground (#4096) 7gaurab_khanal
  • Remove columns w/ span support (#4093) Gerard Rovira
  • Remove rows w/ span support (#4078) Gerard Rovira
  • Table insert column w/ span support (#4074) Gerard Rovira
  • Table insert row w/ span support (#4063) Gerard Rovira
  • Use broader return types in HorizontalRuleNode (#4097) Chris Montrois
  • Add focus tag to editor.focus (#4092) Dragoș Străinu
  • Improve Documentation #2845 - lexical/utils (#4047) Harry Sanders
  • Fix toolbars that shouldn't appear in certain cases (#4077) Warren19
  • Fixed reference to old addUpdateListener method in transforms doc (#4094) Kevin Ansfield
  • Pass tags to onChange for LexicalOnChangePlugin (#4091) Dragoș Străinu
  • Fix tables E2E (#4090) John Flockton
  • Change default indent to 40px (#4025) EgonBolton
  • Update CODEOWNERS (#4089) John Flockton
  • Updated InsertTableDialog UX (#4082) Brandon
  • Export getNearestEditorFromDOMNode (#4079) Gerard Rovira
  • Fix unresponsive resize handle in Safari (#4081) Brandon
  • Sticky toolbar to assist in editing large content (#4076) Brandon
  • Fix table RangeSelection test (#4061) Gerard Rovira
  • Trim table e2e assert (#4060) Gerard Rovira
acywatson
published 0.9.0 •

Changelog

Source

v0.9.0 (2023-03-08)

  • deprecate $wrapNodes (#4059) Acy Watson
  • [0.9] Remove experimental flag for setBlockTypes (#4045) John Flockton
  • [0.9] Remove experimental flag from content plugins (#4036) John Flockton
  • Table - cell merging (#4046) Gerard Rovira
  • After removing a ListItemNode, merge its siblings. (#4035) Awjin
  • [0.9] Remove experimental flag for copyToClipboard (#4037) John Flockton
  • Fix inf loop block cursor (#4049) Gerard Rovira
  • Fix type import syntax for CodeHighlightNode (#4053) John Flockton
  • Fix list deserialization (#4030) Acy Watson
  • Fix EquationNode issues on Android (#4040) John Flockton
  • Styling tweaks to better accommodate long urls (#4041) Brandon
  • Add docs for LexicalEditor (#4034) Acy Watson
  • Add docs for LexicalNode APIs (#4033) Acy Watson
  • Remove remaining deprecated hooks (#3782) John Flockton
  • Improved link editor UX (#4026) Brandon
  • Add command logging into tree view (#4022) John Flockton
  • Deprecate experimental DevTools browser extension (#4023) John Flockton
  • Fix Chrome beforeinput race condition on large docs (#4016) Gerard Rovira
  • Fix insertNode insertion for inline Elements inside empty Elements (#4018) Gerard Rovira
  • fix(lexical-playground): link editor flashs (#4013) 子瞻 Luci
  • Reposition Node Menu when Node Changes (#4010) Tyler Bainbridge
  • Fix small lint error (#4014) John Flockton
  • Check if parent node is root in order to remove it in trimTextContentFromAnchor (#3952) Theodore Nastos
  • Fix PollNode copy and paste missing options (#4002) John Flockton
  • Fix converting nodes with nested lists (#3821) EgonBolton
  • Fix selection on color change (#4004) Konrad Ryczko
  • Cleanup excessive use of WebsocketProvider for types (#3979) Maksim Horbachevsky
  • Nested composers should initialize with parent editor editable state (#4001) John Flockton
  • Adjust playground CSS to fix vertical resize being disabled in select scenarios (#3997) Brandon
  • Improve serialization types for element node children (#3990) John Flockton
  • Listen to Collapsible Section toggle event (#3983) Ivaylo Pavlov
  • Doc: initial execution of listener function (#3991) Gerard Delmàs
  • Fix getNodes of RangeSelection (#3966) kosei28
  • Account for children text content size in 's (#3930) Giacomo Randazzo
  • Update badge URL in README (#3987) Andrew Doan
  • Fix: Floating toolbar flashes on hover over empty lines when the selection is backwards. (#3959) Alessio Gravili
  • Bump jest and node versions to accommodate structuredClone (#3969) Acy Watson
  • Make one previous node be selected when deleting a block (#3970) Karibash
  • Beforeinput prevent default on mismatching targetRanges (#3954) Gerard Rovira
  • Trigger as false when goes down to 0 (#3943) Diego Esclapez
thegreatercurve
published 0.8.1 •

Changelog

Source

v0.8.1 (2023-02-22)

  • Clone objects from the CSS cache before mutating them (#3945) Brian Birtles
  • added docsfeature-button in lexical playground issue#3918 (#3935) Mohan Sai Potla
  • fix: change from to (#3942) Asim Kattum Thazha
  • Added Chinese character support for native webkit (#3846) Annabelle Almås
  • Fix autocapitalization (#3881) Gerard Rovira
  • Expand the actionable empty playground editor text area via flex (#3883) Brandon
  • Fix toggling styles on collapsed selections with (#3922) Brian Birtles
  • Remove condition for history merge on null prev selection (#3914) Acy Watson
  • fix: change tablecell return type for TableCellNode (#3925) Sebastien Ahkrin
  • Align types for createEditor APIs (#3928) Acy Watson
  • Remove instanceof type checks against HTMLElement and subtypes (#3913) Acy Watson
  • Fix small lint error breaking main (#3924) John Flockton
  • Update plugins.md (#3926) dimitarbikov
  • Added support for Java & C++ (#3884) Vignesh gupta
  • Add fixme annotation to flaky collab tests (#3916) Acy Watson
  • Playground: fix issue with floating link editor plugin not closing (#3904) Rich
  • Further tweaks to format/style selection (#3895) Dominic Gannaway
  • Add KEY_DOWN_COMMAND (#3878) Dominic Gannaway
  • Remove draggable block plugin on mobile devices (#3875) John Flockton
  • Close color pickers on select (#3874) John Flockton
  • Fix ContentEditable types for internal use (#3868) John Flockton
  • Fix v0.8.9 typo in changelog, should be v0.8.0 (#3869) Joel Besada
thegreatercurve
published 0.8.0 •

Changelog

Source

v0.8.0 (2023-02-09)

This release includes some breaking changes, including: - Remove of indentList and outdentList from @lexical/list. - Refactor of the LexicalContentEditable types from @lexical/react to make them more accurate with HTMLDivElement attributes.

This release adds functionality to apply node transforms to node replacements, it allows users to specify tab indentation sizes, and improved support for tracking the origin of YJS updates for collaborative editing.

  • Ensure deletions capture existing formatting (#3867) Dominic Gannaway
  • Add style properties to RangeSelection (#3863) Dominic Gannaway
  • List indentation simplified (#3809) EgonBolton
  • Update ContentEditable types (#3580) John Flockton
  • Allow the format property to be omitted (#3812) Karibash
  • Allow users to customise the indentation of tabs (#3802) John Flockton
  • Apply node transform not only to the original node but also to the overriding node (#3639) mizuno
  • feat: set the update tag from yjs based on the origin (#3608) El-Hussein Abdelraouf
thegreatercurve
published 0.7.9 •

Changelog

Source

v0.7.9 (2023-02-09)

  • Fix bad import into core (#3861) Dominic Gannaway
  • Add import/export DOM methods to YouTubeNode and improve EquationNode (#3835) Pervez Ali
  • Fix backspace regression (#3862) Dominic Gannaway
  • Fix restoreEditorState (#3856) Dominic Gannaway
  • Add more configuration for heading in INSERT_TABLE_COMMAND (#3843) Sebastien Ahkrin
  • perf(playground): load prettier and its parsers on demand in code block (#3637) Shanmughapriyan
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