Skip to content

Commit

Permalink
Merge branch 'main' into max-indent
Browse files Browse the repository at this point in the history
  • Loading branch information
fantactuka authored Jan 6, 2025
2 parents 4e0f894 + 7961130 commit ae09eb8
Show file tree
Hide file tree
Showing 211 changed files with 8,337 additions and 6,068 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ on:
- 'packages/lexical-website/**'
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'examples/**'
- 'packages/lexical-website/**'
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
## v0.23.0 (2025-01-04)

- lexical-playground Fix table hover actions button position (#7011) Ivaylo Pavlov
- lexical Bug Fix Fix registerNodeTransform regression introduced in #6894 (#7016) Bob Ippolito
- lexical-playground Refactor switch headings test file names (#7008) Christian Grngaard
- Breaking Changelexical Feature Add updateFromJSON and move more textFormattextStyle to ElementNode (#6970) Bob Ippolito
- lexical Bug Fix Fix getNodes over-selection (#7006) Bob Ippolito
- test npm upgrade astro (#7001) Sherry
- Documentation Fix typo nest nest-nest in README.md (#7000) Christian Grngaard
- tests npm upgrade next (#6996) Sherry
- lexical Bug Fix Flow is missing some variables and functions (#6977) Simon
- v0.22.0 (#6993) Sherry
- v0.22.0 Lexical GitHub Actions Bot

## v0.22.0 (2024-12-23)

- lexical Fix flow error change this to any (#6992) Sherry
- Refactor exportJSON (#6983) Germn Jabloski
- feature expose forEachSelectedTextNode (#6981) Germn Jabloski
- lexicallexical-table Bug fix TablePlugin - check is current selection in target table node (#6979) Alex
- Documentationlexical-website Documentation for useLexical node selection hook (#6976) Ajaezo Kingsley
- lexical-table Feature Support google docs colgroup import (via deprecated col width attribute) (#6971) Bob Ippolito
- lexical-markdown Bug Fix preserve the order of markdown tags for markdown combinations, and close the tags when the outmost tag is closed (#5758) yhw5
- lexical-utils Bug Fix Refactor markSelection for getDOMSlot and not using updateDOM (#6961) Bob Ippolito
- lexicallexical-table Bug Fix Allow TableSelection to be preserved during contextmenu events (#6964) Bob Ippolito
- lexical-website Add Discord to the community section of the footer (#6967) Bob Ippolito
- lexicallexical-rich-textlexical-playground Feature Support capitalization format (#6897) Bedru Umer
- lexical-playground Bug Fix Allow scrolling if the table cell content overflows (#6966) Parasaran
- lexical-tablelexical-playground Fix Insertion of multiple rows (#6963) Vinay Kushwaha
- Breaking Changelexical Feature New update tag skip-dom-selection, onUpdate now always called (#6894) Bob Ippolito
- Test234 (#6958) Tranquiliz00
- Revert Test comment for pr testing (#6953) (#6957) bailey-meta
- Revert lexical-onboarding testing sev mitigation (#6952) (#6956) Niels Y.
- Create a test PR (#6955) Tranquiliz00
- Test comment for pr testing (#6953) bailey-meta
- lexical-onboarding testing sev mitigation (#6952) Niels Y.
- lexical-list Revert PR 6912 (#6944) Sherry
- scripts-integration-fixtures Address GitHub detected a vulnerability in the sveltejskit dependency (#6943) Luis Silva
- lexical-table Fix Delete table row in merge cells (#6922) Vinay Kushwaha
- lexical-list Bug Fix Ensure new paragraph node retains selection styling when exiting list (#6917) Aleksandr Lapukin
- lexical-reactBug Fix the location of draggable-block-menu cannot be calculated #6818 (#6915) lin-mt
- lexical-playground Refactor editor styles should in PlaygroundEditorTheme.css (#6934) Syed Umar Anis
- lexical-playground Fix tabs do not show strikethroughunderline (#6811) Oluwasanya Olaoluwa
- Breaking Changelexical-list Fix Preserve original format after indenting list item (#6912) C.
- Bug Fix add mergegroup to the tests workflow (#6932) Bob Ippolito
- Update core-tests workflow triggers (#6928) Gerard Rovira
- Doc nits (#6927) Gerard Rovira
- lexical-playground Chore Update Prettier to v3 (#6920) daichan132
- lexical-playground Fix empty layout item causes 100 CPU usage (#6906) Basile Savouret
- lexicallexicalselection Feature Unify selectAll Implementations (#6902) Hadi Elghoul
- lexical-tablelexical-utilslexical-react Bug Fix Enforce table integrity with transforms and move non-React plugin code to lexicaltable (#6914) Bob Ippolito
- lexical-website Fix docsreact next button links to itself (#6911) Oluwasanya Olaoluwa
- Warn about display flex container for the editor (#6901) Maksim Horbachevsky
- lexical-websitelexical-react Documentation Update documentation for LexicalTreeView plugin (#6898) Ajaezo Kingsley
- lexical-link Bug Fix Preserve the startend of the selection for non-text points when creating a LinkNode (#6883) Bob Ippolito
- v0.21.0 (#6896) Sherry
- Documentation Update Add release protocol to maintainers-guide.md (#6895) Sherry
- v0.21.0 Lexical GitHub Actions Bot

## v0.21.0 (2024-12-01)

- Fix selected table colors (#6892) Gerard Rovira
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Node Transforms and Command Listeners are called with an implicit `editor.update

It is permitted to do nested updates, or nested reads, but an update should not be nested in a read
or vice versa. For example, `editor.update(() => editor.update(() => {...}))` is allowed. It is permitted
to nest nest an `editor.read` at the end of an `editor.update`, but this will immediately flush the update
to nest an `editor.read` at the end of an `editor.update`, but this will immediately flush the update
and any additional update in that callback will throw an error.

All Lexical Nodes are dependent on the associated Editor State. With few exceptions, you should only call methods
Expand Down
6 changes: 3 additions & 3 deletions examples/react-plain-text/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@lexical/react-plain-text-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@lexical/react": "0.21.0",
"lexical": "0.21.0",
"@lexical/react": "0.23.0",
"lexical": "0.23.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
8 changes: 4 additions & 4 deletions examples/react-rich-collab/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lexical/react-rich-collab-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -12,9 +12,9 @@
"server:webrtc": "cross-env HOST=localhost PORT=1235 npx y-webrtc"
},
"dependencies": {
"@lexical/react": "0.21.0",
"@lexical/yjs": "0.21.0",
"lexical": "0.21.0",
"@lexical/react": "0.23.0",
"@lexical/yjs": "0.23.0",
"lexical": "0.23.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"y-webrtc": "^10.3.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/react-rich/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@lexical/react-rich-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@lexical/react": "0.21.0",
"lexical": "0.21.0",
"@lexical/react": "0.23.0",
"lexical": "0.23.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
3 changes: 2 additions & 1 deletion examples/react-rich/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
DOMConversionMap,
DOMExportOutput,
DOMExportOutputMap,
isHTMLElement,
Klass,
LexicalEditor,
LexicalNode,
Expand All @@ -36,7 +37,7 @@ const removeStylesExportDOM = (
target: LexicalNode,
): DOMExportOutput => {
const output = target.exportDOM(editor);
if (output && output.element instanceof HTMLElement) {
if (output && isHTMLElement(output.element)) {
// Remove all inline styles and classes if the element is an HTMLElement
// Children are checked as well since TextNode can be nested
// in i, b, and strong tags.
Expand Down
6 changes: 3 additions & 3 deletions examples/react-table/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@lexical/react-table-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@lexical/react": "0.21.0",
"lexical": "0.21.0",
"@lexical/react": "0.23.0",
"lexical": "0.23.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
12 changes: 6 additions & 6 deletions examples/vanilla-js-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@lexical/vanilla-js-plugin-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@lexical/dragon": "0.21.0",
"@lexical/history": "0.21.0",
"@lexical/rich-text": "0.21.0",
"@lexical/utils": "0.21.0",
"@lexical/dragon": "0.23.0",
"@lexical/history": "0.23.0",
"@lexical/rich-text": "0.23.0",
"@lexical/utils": "0.23.0",
"emoji-datasource-facebook": "15.1.2",
"lexical": "0.21.0"
"lexical": "0.23.0"
},
"devDependencies": {
"typescript": "^5.2.2",
Expand Down
1 change: 0 additions & 1 deletion examples/vanilla-js-plugin/src/emoji-plugin/EmojiNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class EmojiNode extends TextNode {
exportJSON(): SerializedEmojiNode {
return {
...super.exportJSON(),
type: 'emoji',
unifiedID: this.__unifiedID,
};
}
Expand Down
12 changes: 6 additions & 6 deletions examples/vanilla-js/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "@lexical/vanilla-js-example",
"private": true,
"version": "0.21.0",
"version": "0.23.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@lexical/dragon": "0.21.0",
"@lexical/history": "0.21.0",
"@lexical/rich-text": "0.21.0",
"@lexical/utils": "0.21.0",
"lexical": "0.21.0"
"@lexical/dragon": "0.23.0",
"@lexical/history": "0.23.0",
"@lexical/rich-text": "0.23.0",
"@lexical/utils": "0.23.0",
"lexical": "0.23.0"
},
"devDependencies": {
"typescript": "^5.2.2",
Expand Down
Loading

0 comments on commit ae09eb8

Please sign in to comment.