Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions packages/richtext-lexical/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,16 +356,16 @@
]
},
"dependencies": {
"@lexical/headless": "0.27.2",
"@lexical/html": "0.27.2",
"@lexical/link": "0.27.2",
"@lexical/list": "0.27.2",
"@lexical/mark": "0.27.2",
"@lexical/react": "0.27.2",
"@lexical/rich-text": "0.27.2",
"@lexical/selection": "0.27.2",
"@lexical/table": "0.27.2",
"@lexical/utils": "0.27.2",
"@lexical/headless": "0.28.0",
"@lexical/html": "0.28.0",
"@lexical/link": "0.28.0",
"@lexical/list": "0.28.0",
"@lexical/mark": "0.28.0",
"@lexical/react": "0.28.0",
"@lexical/rich-text": "0.28.0",
"@lexical/selection": "0.28.0",
"@lexical/table": "0.28.0",
"@lexical/utils": "0.28.0",
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"@types/uuid": "10.0.0",
Expand All @@ -374,7 +374,7 @@
"dequal": "2.0.3",
"escape-html": "1.0.3",
"jsox": "1.2.121",
"lexical": "0.27.2",
"lexical": "0.28.0",
"mdast-util-from-markdown": "2.0.2",
"mdast-util-mdx-jsx": "3.1.3",
"micromark-extension-mdx-jsx": "3.0.1",
Expand All @@ -389,7 +389,7 @@
"@babel/preset-env": "7.26.7",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@lexical/eslint-plugin": "0.27.2",
"@lexical/eslint-plugin": "0.28.0",
"@payloadcms/eslint-config": "workspace:*",
"@types/escape-html": "1.0.4",
"@types/json-schema": "7.0.15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {
$isParagraphNode,
$isRangeSelection,
$isTextNode,
$setSelection,
COMMAND_PRIORITY_CRITICAL,
getDOMSelection,
isDOMNode,
Expand Down Expand Up @@ -219,8 +220,7 @@ function TableActionMenu({
updateTableCellNode(tableCellNode.getLatest())
}

const rootNode = $getRoot()
rootNode.selectStart()
$setSelection(null)
})
}, [editor, tableCellNode])

Expand Down
2 changes: 1 addition & 1 deletion packages/richtext-lexical/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { richTextValidateHOC } from './validate/index.js'

let checkedDependencies = false

export const lexicalTargetVersion = '0.27.2'
export const lexicalTargetVersion = '0.28.0'

export function lexicalEditor(args?: LexicalEditorProps): LexicalRichTextAdapterProvider {
if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,15 @@
margin: 0 0 0.4em 40px;
}

&__listItem::marker {
// See https://github.com/facebook/lexical/pull/7325/files#diff-915a0be0588ee3ceb38aca4ae182f51291c8885e7af5f8dca2a91f8d92a95e0c
// These are applied by the ListItemNode
color: var(--listitem-marker-color);
background-color: var(--listitem-marker-background-color);
font-family: var(--listitem-marker-font-family);
font-size: var(--listitem-marker-font-size);
}

&__listItem[dir='rtl'] {
margin: 0 40px 0.4em 0;
}
Expand Down
Loading