diff --git a/CHANGELOG.md b/CHANGELOG.md index bda194d9f7c..3de6566b35e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,65 @@ +## v0.14.0 (2024-03-17) + +- Fix height and width parsing in ImportDOM for ExcalidrawNode (#5721) Ivaylo Pavlov +- ImportDOM and ExportDOM for LayoutContainerNode (#5722) Ivaylo Pavlov +- Fix dont call importDOM methods more than once (#5726) Georgii Dolzhykov +- Add test for multiple leading # characters in a hashtag (#5723) wnhlee +- Fix to count tabs as list indentation on importing markdown (#5706) wnhlee +- Update CharacterLimitPlugin to support custom renderer (#5715) wnhlee +- docs Added links to API docs for respective packages (#5719) Vlad Fedosov +- docs Creating a Plugin page example (#5717) Vlad Fedosov +- Add code snippets for ClearEditorPlugin and MarkdownShortcutPlugin (#5711) Nick +- Send click event in read-only editor (#5714) Ivaylo Pavlov +- Fix deletion issues when using Chromium Android (#5644) Aman Harwara +- Export table row height in JSON (#5696) Ivaylo Pavlov +- Fix Bulleting a Node Selection (#5699) Ivaylo Pavlov +- fix Typo in the collaboration nodes (#5702) Pranav Bakre +- Fix endless renders with editorRef callback (#5701) wnhlee +- style fix broken eslint check of #5625 (#5694) yf-yang +- Fix forward word deletion destructing element nodes (#5625) Ivaylo Pavlov +- fix(tables) Add missing paragraph node when copying empty cells from external resources (#5670) Simon Pasquereau +- chore(docs) Changed stackblitz.com links to point at this repo (#5685) Vlad Fedosov +- docs Added conceptual view of the Lexical Core Design (#5677) Vlad Fedosov +- Add support for grid selection in text alignment. (#5652) Serey Roth +- docs Added reasoning on why State is necessary (#5678) Vlad Fedosov +- docs Improved Getting Started with React guide (#5676) Vlad Fedosov +- docs add a tip about discrete state update (#5664) Micha Dzienisiewicz +- fix Fix E2E tests in Safari (Webkit) (#5672) Vlad Fedosov +- Configure ESLint enable curly rule, fix on save (#5666) Georgii Dolzhykov +- docs Interactive Vanilla JS example (#5668) Vlad Fedosov +- support multiple windows (#5070) Rob Figueiredo +- docs Added visualization of the Lexical modular architecture (#5667) Vlad Fedosov +- Refactor simplify getFirstDescendant and getLastDescendant (#5665) Georgii Dolzhykov +- Unbullet one list item not the whole list (#5621) Ivaylo Pavlov +- Preserve bullet item indent on newline (#5578) Ivaylo Pavlov +- fix unify class name splittingfiltering with normalizeClassNames (#5649) Bob Ippolito +- Move to native UUID (#5622) Ivaylo Pavlov +- Escape Layout Plugin (#5626) Ivaylo Pavlov +- 0.14 Remove unused canExtractContents (#5628) Ivaylo Pavlov +- Revert Fix hashtag regex blocking transform to heading (#5636) Acy Watson +- Fix hashtag regex blocking transform to heading (#5376) wnhlee +- Fix shiftarrow down selection for tables in sequence. (#5617) Serey Roth +- Revert Fixed position for lexical menu (#5602) (#5614) Gerard Rovira +- fix disable markdown shortcuts for collaboration (#5591) junhsss +- fix Improve performance of updateChildrenListItemValue (#5590) Bob Ippolito +- Fixed position for lexical menu (#5602) Ebad +- Bug Right Align in Toolbar for RTL direction shows Left Align Icon (#5561) Muhammad Fahad +- fix hide Firefoxs text size buttons (#5588) Martin +- IME Input via CDP with latest Playwright (#5584) Ivaylo Pavlov +- Fix list selection when first node followed by an element node (#5583) Ivaylo Pavlov +- fix update docs example (#5586) James Pulec +- Fix Double Deletion on Backspace (#5580) Ivaylo Pavlov +- Fix Poll Node (#5579) Ivaylo Pavlov +- Fix computeTableMap flow (#5574) Gerard Rovira +- Update react documentation (#5568) Pavel Shermayster +- Edit Link modal fix (#5551) Harry Sanders +- Add lexicalhtml to docs (#5557) wnhlee +- Prevent file img conversion (#5563) Gerard Rovira +- Fix add class to elements exported from CodeNode (#5558) wnhlee +- v0.13.1 (#5556) Gerard Rovira +- Fix Flow getCharacterOffsets (#5555) Gerard Rovira +- v0.13.1 Lexical GitHub Actions Bot + ## v0.13.1 (2024-01-27) - Update InlineImageNode.tsx (#5552) lvvl diff --git a/package-lock.json b/package-lock.json index c7d30caec41..21777afbf9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.13.1", + "version": "0.14.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.13.1", + "version": "0.14.0", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index 7a03464903c..15cec896bd1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/monorepo", "description": "Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.", - "version": "0.13.1", + "version": "0.14.0", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index 09ff00efbf9..14e84cf93d2 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,16 +9,16 @@ "paste" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalClipboard.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1", - "@lexical/list": "0.13.1", - "@lexical/selection": "0.13.1", - "@lexical/html": "0.13.1" + "@lexical/utils": "0.14.0", + "@lexical/list": "0.14.0", + "@lexical/selection": "0.14.0", + "@lexical/html": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index 659527b8857..22bb0c4ba2e 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,13 +8,13 @@ "code" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalCode.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1", + "@lexical/utils": "0.14.0", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index 8d1b2f6d368..9c9a5cb6adf 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,10 +9,10 @@ "accessibility" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalDragon.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index d107cea2f93..f1ac0455112 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,10 +10,10 @@ "export" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalFile.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 6021e361704..79f0f42545c 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,13 +8,13 @@ "hashtag" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalHashtag.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index f699cdcfabd..73d9ce9e2c8 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,10 +8,10 @@ "headless" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalHeadless.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index fb1170251f1..632e4f51c02 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,13 +8,13 @@ "history" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalHistory.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index e7674187758..649c90f0d4b 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,10 +8,10 @@ "html" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalHtml.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", @@ -19,8 +19,8 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.13.1", - "@lexical/utils": "0.13.1" + "@lexical/selection": "0.14.0", + "@lexical/utils": "0.14.0" }, "module": "LexicalHtml.esm.js", "sideEffects": false diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index d894abe6335..17e11db2d58 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,13 +8,13 @@ "link" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalLink.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index d1c91dfc581..abaa5c7f04e 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,13 +8,13 @@ "list" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalList.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index 1f48ad04976..8807f1649de 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,13 +8,13 @@ "mark" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalMark.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 6ef129348b0..5f9c44f8bbf 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,18 +8,18 @@ "markdown" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalMarkdown.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1", - "@lexical/code": "0.13.1", - "@lexical/text": "0.13.1", - "@lexical/rich-text": "0.13.1", - "@lexical/list": "0.13.1", - "@lexical/link": "0.13.1" + "@lexical/utils": "0.14.0", + "@lexical/code": "0.14.0", + "@lexical/text": "0.14.0", + "@lexical/rich-text": "0.14.0", + "@lexical/list": "0.14.0", + "@lexical/link": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 022a1f03e7e..4912c39eb41 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,10 +8,10 @@ "offset" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalOffset.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index 2da8c065c0d..d421f6cde42 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,10 +8,10 @@ "overflow" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalOverflow.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index e18362ee881..27a57f8894b 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -7,13 +7,13 @@ "plain-text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalPlainText.js", "peerDependencies": { - "lexical": "0.13.1", - "@lexical/utils": "0.13.1", - "@lexical/selection": "0.13.1", - "@lexical/clipboard": "0.13.1" + "lexical": "0.14.0", + "@lexical/utils": "0.14.0", + "@lexical/selection": "0.14.0", + "@lexical/clipboard": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index e23e756c3dd..a25543a3bea 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.13.1", + "version": "0.14.0", "private": true, "scripts": { "dev": "vite --host", @@ -11,22 +11,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.13.1", - "@lexical/code": "0.13.1", - "@lexical/file": "0.13.1", - "@lexical/hashtag": "0.13.1", - "@lexical/link": "0.13.1", - "@lexical/list": "0.13.1", - "@lexical/mark": "0.13.1", - "@lexical/overflow": "0.13.1", - "@lexical/plain-text": "0.13.1", - "@lexical/react": "0.13.1", - "@lexical/rich-text": "0.13.1", - "@lexical/selection": "0.13.1", - "@lexical/table": "0.13.1", - "@lexical/utils": "0.13.1", + "@lexical/clipboard": "0.14.0", + "@lexical/code": "0.14.0", + "@lexical/file": "0.14.0", + "@lexical/hashtag": "0.14.0", + "@lexical/link": "0.14.0", + "@lexical/list": "0.14.0", + "@lexical/mark": "0.14.0", + "@lexical/overflow": "0.14.0", + "@lexical/plain-text": "0.14.0", + "@lexical/react": "0.14.0", + "@lexical/rich-text": "0.14.0", + "@lexical/selection": "0.14.0", + "@lexical/table": "0.14.0", + "@lexical/utils": "0.14.0", "katex": "^0.15.2", - "lexical": "0.13.1", + "lexical": "0.14.0", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index c68570e7418..472e6311407 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,29 +8,29 @@ "rich-text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "dependencies": { - "@lexical/clipboard": "0.13.1", - "@lexical/code": "0.13.1", - "@lexical/dragon": "0.13.1", - "@lexical/hashtag": "0.13.1", - "@lexical/history": "0.13.1", - "@lexical/link": "0.13.1", - "@lexical/list": "0.13.1", - "@lexical/mark": "0.13.1", - "@lexical/markdown": "0.13.1", - "@lexical/overflow": "0.13.1", - "@lexical/plain-text": "0.13.1", - "@lexical/rich-text": "0.13.1", - "@lexical/selection": "0.13.1", - "@lexical/table": "0.13.1", - "@lexical/text": "0.13.1", - "@lexical/utils": "0.13.1", - "@lexical/yjs": "0.13.1", + "@lexical/clipboard": "0.14.0", + "@lexical/code": "0.14.0", + "@lexical/dragon": "0.14.0", + "@lexical/hashtag": "0.14.0", + "@lexical/history": "0.14.0", + "@lexical/link": "0.14.0", + "@lexical/list": "0.14.0", + "@lexical/mark": "0.14.0", + "@lexical/markdown": "0.14.0", + "@lexical/overflow": "0.14.0", + "@lexical/plain-text": "0.14.0", + "@lexical/rich-text": "0.14.0", + "@lexical/selection": "0.14.0", + "@lexical/table": "0.14.0", + "@lexical/text": "0.14.0", + "@lexical/utils": "0.14.0", + "@lexical/yjs": "0.14.0", "react-error-boundary": "^3.1.4" }, "peerDependencies": { - "lexical": "0.13.1", + "lexical": "0.14.0", "react": ">=17.x", "react-dom": ">=17.x" }, diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index 4af03c75020..d59c15d5793 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -7,13 +7,13 @@ "rich-text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalRichText.js", "peerDependencies": { - "lexical": "0.13.1", - "@lexical/selection": "0.13.1", - "@lexical/clipboard": "0.13.1", - "@lexical/utils": "0.13.1" + "lexical": "0.14.0", + "@lexical/selection": "0.14.0", + "@lexical/clipboard": "0.14.0", + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 2974dc8a604..07219ffdd23 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,10 +9,10 @@ "selection" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalSelection.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index 7fad1867dcb..5698da0d232 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,13 +8,13 @@ "table" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalTable.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/utils": "0.13.1" + "@lexical/utils": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index f9797d5cb0c..aaec50f9e40 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,10 +9,10 @@ "text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalText.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 9e2e2729c57..7613d840f34 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,15 +8,15 @@ "utils" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalUtils.js", "peerDependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "dependencies": { - "@lexical/list": "0.13.1", - "@lexical/table": "0.13.1", - "@lexical/selection": "0.13.1" + "@lexical/list": "0.14.0", + "@lexical/table": "0.14.0", + "@lexical/selection": "0.14.0" }, "repository": { "type": "git", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index 8d1eab9540f..d6c2aa5fdf1 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,13 +11,13 @@ "crdt" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "LexicalYjs.js", "dependencies": { - "@lexical/offset": "0.13.1" + "@lexical/offset": "0.14.0" }, "peerDependencies": { - "lexical": "0.13.1", + "lexical": "0.14.0", "yjs": ">=13.5.22" }, "repository": { diff --git a/packages/lexical/package.json b/packages/lexical/package.json index 9d8c2a0e6ab..1664f038d2e 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "main": "Lexical.js", "repository": { "type": "git", diff --git a/packages/shared/package.json b/packages/shared/package.json index e1fa00ff207..cbeb7536b55 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.13.1", + "version": "0.14.0", "dependencies": { - "lexical": "0.13.1" + "lexical": "0.14.0" }, "repository": { "type": "git",