Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: clear format in text toolbar (#3544)

Bogdan Chadkin56fbabf56df2
diff --git a/apps/builder/app/canvas/features/text-editor/interop.test.ts b/apps/builder/app/canvas/features/text-editor/interop.test.ts
index 90f7eb4399..d830f0e717 100644
--- a/apps/builder/app/canvas/features/text-editor/interop.test.ts
+++ b/apps/builder/app/canvas/features/text-editor/interop.test.ts
@@ -148,6 +148,7 @@ test("convert instances to lexical", async () => {
"direction": null,
"format": "",
"indent": 0,
+ "textFormat": 0,
"type": "paragraph",
"version": 1,
},
diff --git a/apps/builder/app/canvas/features/text-editor/text-editor.stories.tsx b/apps/builder/app/canvas/features/text-editor/text-editor.stories.tsx
index e4ccab40b6..951163034f 100644
--- a/apps/builder/app/canvas/features/text-editor/text-editor.stories.tsx
+++ b/apps/builder/app/canvas/features/text-editor/text-editor.stories.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useRef } from "react";
+import { useEffect } from "react";
import { useStore } from "@nanostores/react";
import { ContentEditable } from "@lexical/react/LexicalContentEditable";
import type { StoryFn, Meta } from "@storybook/react";
@@ -48,7 +48,6 @@ const instances: Instances = new Map([
export const Basic: StoryFn<typeof TextEditor> = ({ onChange }) => {
const state = useStore($textToolbar);
- const ref = useRef<null | HTMLDivElement>(null);
useEffect(subscribeCommands, []);
@@ -116,7 +115,6 @@ export const Basic: StoryFn<typeof TextEditor> = ({ onChange }) => {
}}
>
<TextEditor
- rootRef={ref}
rootInstanceSelector={["1"]}
instances={instances}
contentEditable={<ContentEditable />}
diff --git a/apps/builder/app/canvas/features/text-editor/text-editor.tsx b/apps/builder/app/canvas/features/text-editor/text-editor.tsx
index 0a669d832d..7d11ec20bf 100644
--- a/apps/builder/app/canvas/features/text-editor/text-editor.tsx
+++ b/apps/builder/app/canvas/features/text-editor/text-editor.tsx
@@ -14,7 +14,7 @@ import { LinkNode } from "@lexical/link";
import { LexicalComposer } from "@lexical/react/LexicalComposer";
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
-import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
+import { LexicalErrorBoundary } from "@lexical/react/LexicalErrorBoundary";
import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin";
import { LinkPlugin } from "@lexical/react/LexicalLinkPlugin";
import { nanoid } from "nanoid";
@@ -196,7 +196,6 @@ const onError = (error: Error) => {
};
type TextEditorProps = {
- rootRef: { current: null | HTMLDivElement };
rootInstanceSelector: InstanceSelector;
instances: Instances;
contentEditable: JSX.Element;
@@ -205,7 +204,6 @@ type TextEditorProps = {
};
export const TextEditor = ({
- rootRef,
rootInstanceSelector,
instances,
contentEditable,
diff --git a/apps/builder/app/canvas/features/text-editor/toolbar-connector.tsx b/apps/builder/app/canvas/features/text-editor/toolbar-connector.tsx
index ab2a523584..d433a5b140 100644
--- a/apps/builder/app/canvas/features/text-editor/toolbar-connector.tsx
+++ b/apps/builder/app/canvas/features/text-editor/toolbar-connector.tsx
@@ -78,6 +78,8 @@ const $clearText = () => {
// recompute selection to get new splitted nodes
const newSelection = $getSelection();
if ($isRangeSelection(newSelection)) {
+ // update both nodes and selection
+ newSelection.format = 0;
for (const node of selection.getNodes()) {
if ($isTextNode(node)) {
node.setFormat(0);
diff --git a/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx b/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx
index cf107dacb5..a90f06a8b2 100644
--- a/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx
+++ b/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx
@@ -310,7 +310,6 @@ export const WebstudioComponentCanvas = forwardRef<
HTMLElement,
WebstudioComponentProps
>(({ instance, instanceSelector, components, ...restProps }, ref) => {
- const rootRef = useRef<null | HTMLDivElement>(null);
const instanceId = instance.id;
const instances = useStore($instances);
@@ -410,7 +409,7 @@ export const WebstudioComponentCanvas = forwardRef<
const instanceElement = (
<>
- <Component {...props} ref={mergeRefs(ref, rootRef)}>
+ <Component {...props} ref={ref}>
{children}
</Component>
</>
@@ -427,13 +426,12 @@ export const WebstudioComponentCanvas = forwardRef<
return (
<Suspense fallback={instanceElement}>
<TextEditor
- rootRef={rootRef}
rootInstanceSelector={instanceSelector}
instances={instances}
contentEditable={
<ContentEditable
renderComponentWithRef={(elementRef) => (
- <Component {...props} ref={mergeRefs(ref, elementRef, rootRef)}>
+ <Component {...props} ref={mergeRefs(ref, elementRef)}>
{initialContentEditableContent.current}
</Component>
)}
diff --git a/apps/builder/package.json b/apps/builder/package.json
index 2f1621e5ae..d76cda171d 100644
--- a/apps/builder/package.json
+++ b/apps/builder/package.json
@@ -27,15 +27,15 @@
"@codemirror/language": "^6.10.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.3",
- "@floating-ui/dom": "^1.5.3",
+ "@floating-ui/dom": "^1.6.5",
"@fontsource-variable/inter": "^5.0.13",
"@fontsource-variable/manrope": "^5.0.15",
"@fontsource/roboto-mono": "^5.0.13",
- "@lexical/headless": "^0.14.3",
- "@lexical/link": "^0.14.3",
- "@lexical/react": "^0.14.3",
- "@lexical/selection": "^0.14.3",
- "@lexical/utils": "^0.14.3",
+ "@lexical/headless": "^0.16.0",
+ "@lexical/link": "^0.16.0",
+ "@lexical/react": "^0.16.0",
+ "@lexical/selection": "^0.16.0",
+ "@lexical/utils": "^0.16.0",
"@lezer/common": "^1.2.1",
"@lezer/highlight": "^1.2.0",
"@nanostores/react": "^0.7.1",
@@ -89,7 +89,7 @@
"hono": "^3.7.3",
"immer": "^10.0.3",
"immerhin": "^0.9.0",
- "lexical": "^0.14.3",
+ "lexical": "^0.16.0",
"match-sorter": "^6.3.1",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-gfm": "^3.0.0",
diff --git a/packages/design-system/package.json b/packages/design-system/package.json
index beddcce8c2..149745896e 100644
--- a/packages/design-system/package.json
+++ b/packages/design-system/package.json
@@ -28,7 +28,7 @@
"react-dom": "18.3.0-canary-14898b6a9-20240318"
},
"dependencies": {
- "@floating-ui/dom": "^1.5.3",
+ "@floating-ui/dom": "^1.6.5",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-accessible-icon": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 70ec84cac9..32f335ff87 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -128,8 +128,8 @@ importers:
specifier: ^6.26.3
version: 6.26.3
'@floating-ui/dom':
- specifier: ^1.5.3
- version: 1.5.3
+ specifier: ^1.6.5
+ version: 1.6.5
'@fontsource-variable/inter':
specifier: ^5.0.13
version: 5.0.13
@@ -140,20 +140,20 @@ importers:
specifier: ^5.0.13
version: 5.0.13
'@lexical/headless':
- specifier: ^0.14.3
- version: 0.14.3
+ specifier: ^0.16.0
+ version: 0.16.0
'@lexical/link':
- specifier: ^0.14.3
- version: 0.14.3
+ specifier: ^0.16.0
+ version: 0.16.0
'@lexical/react':
- specifier: ^0.14.3
+ specifier: ^0.16.0
'@lexical/selection':
- specifier: ^0.14.3
- version: 0.14.3
+ specifier: ^0.16.0
+ version: 0.16.0
'@lexical/utils':
- specifier: ^0.14.3
- version: 0.14.3
+ specifier: ^0.16.0
+ version: 0.16.0
'@lezer/common':
specifier: ^1.2.1
version: 1.2.1
@@ -314,8 +314,8 @@ importers:
specifier: ^0.9.0
version: 0.9.0
lexical:
- specifier: ^0.14.3
- version: 0.14.3
+ specifier: ^0.16.0
+ version: 0.16.0
match-sorter:
specifier: ^6.3.1
version: 6.3.1
@@ -1188,8 +1188,8 @@ importers:
packages/design-system:
dependencies:
'@floating-ui/dom':
- specifier: ^1.5.3
- version: 1.5.3
+ specifier: ^1.6.5
+ version: 1.6.5
'@radix-ui/colors':
specifier: ^3.0.0
version: 3.0.0
@@ -3638,20 +3638,20 @@ packages:
resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==}
engines: {node: '>=14'}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-rZtAmSht4Lry6gdhAJDrCp/6rKN7++JnL1/Anbr/DdeyYXQPxvg/ivrbYvJulbRf4vL8b212suwMM2lxbv+RQA==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==}
'@fontsource-variable/[email protected]':
resolution: {integrity: sha512-mb2WyZ2rHeqIG8aqGJIvLBOmo4sg2x7SHlsE6PUhwxbOicVzO59EZwSGtzNO3FmchuDPFVAxzcXYcR5B6jE6Qw==}
@@ -3802,71 +3802,77 @@ packages:
resolution: {integrity: sha512-Lg3PnLp0QXpxwLIAuuJboLeRaIhrgJjeuh797QADg3xz8wGLugQOS5DpsE8A6i6Adgzf+bacllkKZG3J0tGfDw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-kMasHJQCNSSdD6US8XF/GJEZAgdmIUIoqwcV/7Q8jVUICYT53bcr+Rh7RxL+1c7ZpJE2rXg5KTELsUPGjs0uwA==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-eYMJ6jCXpWBVC05Mu9HLMysrBbfi++xFfsm+Yo7A6kYGrqYUhpXqjJkYnw1xdZYL3bV73Oe4ByVJuq42GU+Mqw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-eBhs+TsJ5z7Vg/0e77bau86lN7R5nqO7effkPNNndn0XV2VSDpjMF+PTj4Cd1peenFlfqVivBr9gdewDrvPQng==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-1EKCBSFV745UI2zn5v75sKcvVdmd+y2JtZhw8CItiQkRnBLv4l4d/RZYy+cKOuXJGsoBrKtxXn5sl7HebwQbPw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-GTnt5a5Zs1f3q5Z9tC63VPzCFNAG+37ySHO+mQpVqlTsDmwSeJzFKGZyxq81tZXsKaXQZ4llc9K6I1f/XJoypw==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-Jt8p0J0UoMHf3UMh3VdyrXbLLwpEZuMqihTmbPRpwo+YQ6NGQU35QgwY2K0DpPAThpxL/Cm7uaFqGOy8Kjrhqw==}
+ peerDependencies:
+ react: 18.3.0-canary-14898b6a9-20240318
+ react-dom: 18.3.0-canary-14898b6a9-20240318
+
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-Yr29SFZzOPs+S6UrEZaXnnso1fJGVfZOXVJQZbyzlspqJpSHXVH7InOXYHWN6JSWQ8Hs/vU3ksJXwqz+0TCp2g==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-BlMhegitxNscJyM0QGjnzpt7QQaiftVf80dqfiVGdgFJi9hS4wrYEsPpA7jlsZG5Q46DSw/zMRp3tpHfdU6TCQ==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-2EdAvxYVYqb0nv6vgxCRgE8ip7yez5p0y0oeUyxmdbcfZdA+Jl90gYH3VdevmZ5Bk3wE0/fIqiLD+Bb5smqjCQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-/fNeDHm0WvnlquKgjJDJ0G9Di8TJU6gw0AaLmNLI1Iz+8HvMZ8P6R8OW0l+uRtJMC0TlFt6iLxira6rntQ2K2g==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-B0efH1EYpjPD5kayCsHFRbvneyF64JMB/unC6uYRkUxp6a733pqsWGta8DDn7KQt0W1XPI0jqDoJFDmQKwoi4g==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-I5Ssaz+uRYsFmqN5WfKCyTkPPV1CTnEQ21vuKp8PVI4hBdlIy5aJdeQXbQhg0BdCtQVSjpm7WRGMk5ATiAXLPw==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-xwFxgDZGviyGEqHmgt6A6gPhsyU/yzlKRk9TBUVByba3khuTknlJ1a80H5jb+OYcrpiElml7iVuGYt+oC7atCA==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-ID4RdHdOXv2qIg6cqNhbYiqgcV5aEJFAV+zZ14CMpxPlW71tiRlmy/Pp4WqCFgjnZ2GZRq34+kag+cT2H69ILQ==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-okxn3q/1qkUpCZNEFRI39XeJj4YRjb6prm3WqZgP4d39DI1W24feeTZJjYRCW+dc3NInwFaolU3pNA2MGkjRtg==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-txhuzcx2OfOtZ/fy9cgauDGW1gi2vSU0iQdde4i0UP2KK4ltioA9eFkjqAacGiPvwJ8w2CZV9q5Ck4DgFAKQ7w==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-ppvJSh/XGqlzbeymOiwcXJcUcrqgQqTK2QXTBAZq7JThtb0WsJxYd2CSLSN+Ycu23prnwqOqILcU0+34+gAVFw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-d9ZiEkZ34DpzBNq2GkedJpXF8sIxSQvHOGhNbVvTuBvgDcCwbmXL0KY4k+xu+jMScRO/3oR7C6YZpZT3GaUO+Q==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-nBx/DMM7nCgnOzo1JyNnVaIrk/Xi5wIPNi8jixrEV6w9Om2K6dHutn/79Xzp2dQlNGSLHEDjky6N2RyFgmXh0g==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-HegYMuiCazmM4XXVUzteA5bOFEiWxeIZSMK98rCV7t5czYlQmgaV5PWIT5/wLnSgrJA6apa02JHLINE9CuUHlw==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-WMR4nqygSgIQ6Vdr5WAzohxBGjH+m44dBNTbWTGZGVlRvPzvBT6tieCoxFqpceIq/ko67HGTCNoFj2cMKVwgIA==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-G97Twk0qq5Mkj7S95fFODN6D7nBZsHiXgd2QeCZQ+qbrItEsjEsM0vCtVBELpZzyl700ExfIJCA9eHrq28VNxw==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-7HQLFrBbpY68mcq4A6C1qIGmjgA+fAByditi2WRe7tD2eoIKb/B5baQAnDKis0J+m5kTaCBmdlT6csSzyOPzeQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-xzyHLED9N3VPsLSpxs235W1xnh1xLl0SFqLLN9fkZs4fBLPtoPrzfYjjTMx6KgRPCa96GauAMsAaKn+JWHaD4g==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-4TqPEC2qA7sgO8Tm65nOWnhJ8dkl22oeuGv9sUB+nhaiRZnw3R45mDelg23r56CWE8itZnvueE7TKvV+F3OXtQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-2PabHT5vCtfN1lx2d3j1AW6naGJEcjLyUxEMrPzqNZ8IDGuLbD3uRi/wS8evmFLgKkF5mqRnPPlpwGbqGg+qUw==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-a7gtIRxleEuMN9dj2yO4CdezBBfIr9Mq+m7G5z62+xy7VL7cfMfF+xWjy3EmDYDXS4vOQgAXAUgO4oKz2AKGhQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-Ct3sQmhc34Iuj0YWT5dlLzTcuCLAMx7uaLKb0lxb7A6bcUBPfC1eBv2KtILZ9eW/GEUCMTqYEnmixTY7vPR9AA==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-BK7/GSOZUHRJTbNPkpb9a/xN9z+FBCdunTsZhnOY8pQ7IKws3kuMO2Tk1zXfTd882ZNAxFdDKNdLYDSeufrKpw==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-sUgF7dStJTYvkS14QzlpB5XJ5p498JDSEBSADRsf0KOJsTINAQhh27vXuS8/I2FH3FanonH/RrLwSildL/FnzA==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-WKFQbI0/m1YkLjL5t90YLJwjGcl5QRe6mkfm3ljQuL7Ioj3F92ZN/J2gHFVJ9iC8/lJs6Zzw6oFjiP8hQxJf9Q==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318
- '@lexical/[email protected]':
- resolution: {integrity: sha512-o8wGvRDyPSRcfb6bauF5lzK5u/kzCW+hAQq0ExM1e8p4GHDb0vwz9DA6NH5D0BPHb2fUgknwClHOoJX95WUA8A==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-AGTD6yJZ+kj2TNah1r7/6vyufs6fZANeSvv9x5eG+WjV4uyUJYkd1qR8C5gFZHdkyr+bhAcsAXvS039VzAxRrQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-43EmqG6flLqFJJNZ7GCxFlx3qXy7osB3AQBgxKTthWtQeBrJPdgacctL1jhO7etTIQWP5C1DExy3opDLVKyDjg==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-trT9gQVJ2j6AwAe7tHJ30SRuxCpV6yR9LFtggxphHsXSvJYnoHC0CXh1TF2jHl8Gd5OsdWseexGLBE4Y0V3gwQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-9btpU2lfAE34ucIqlMu5RiSVlxREXY7Zp+s26oFsXNoNPhW57iND96TrqwYo9FJl/6zXXfvqYxnUEcUD2dLgwQ==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-A66K779kxdr0yH2RwT2itsMnkzyFLFNPXyiWGLobCH8ON4QPuBouZvjbRHBe8Pe64yJ0c1bRDxSbTqUi9Wt3Gg==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-7+B9KkA37iHTlPqt6GHdfBIoaA9dQfhKrQNP9+422/CO/adCru4S94yNxiHXFq7iCvgucfuFop9M8jOfqLQbBQ==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-9ilaOhuNIIGHKC8g8j3K/mEvJ09af9B6RKbm3GNoRcf/WNHD4dEFWNTEvgo/3zCzAS8EUBI6UINmfQQWlMjdIQ==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-coqG2AO7QhJCM0xBlYvtETjl0il9u4HQRuc8ye3j8jMfNadVvVVWO3Fodmm/8FTPyJuxIij1Ruma9zqhlAbN6Q==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-GWmFEmd7o3GHqJBaEwzuZQbfTNI3Gg8ReGuHMHABgrkhZ8j2NggoRBlxsQLG0f7BewfTMVwbye22yBPq78775w==}
- '@lexical/[email protected]':
- resolution: {integrity: sha512-Ju+PQJg4NjQoNzfPlQKa6A71sjgGWj5lL4cbe+4xlNoknfK3NApVeznOi3xAM7rUCr6fPBAjzF9/uwfMXR451g==}
+ '@lexical/[email protected]':
+ resolution: {integrity: sha512-YIJr87DfAXTwoVHDjR7cci//hr4r/a61Nn95eo2JNwbTqQo65Gp8rwJivqVxNfvKZmRdwHTKgvdEDoBmI/tGog==}
peerDependencies:
yjs: '>=13.5.22'
@@ -7620,8 +7626,8 @@ packages:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-LaWSKj6OpvJ+bdfQA2AybEzho0YoWfAdRGkuCtPNYd/uf7IHyoEwCFQsIBvWCQF23saDgE1NONR4uiwl6iaJ9g==}
+ resolution: {integrity: sha512-Skn45Qhriazq4fpAtwnAB11U//GKc4vjzx54xsV3TkDLDvWpbL4Z9TNRwRoN3g7w8AkWnqjeOSODKkrjgfRSrg==}
resolution: {integrity: sha512-aJJIElCLWnHMcYZPtsM07QoSfHwpxCy4VUzBYGXFYEmh/h2QS5uZNbCCfL0CqnkOE30b7Tp9DVfjXag+3qzZjQ==}
@@ -11631,22 +11637,22 @@ snapshots:
'@fastify/[email protected]': {}
- '@floating-ui/[email protected]':
+ '@floating-ui/[email protected]':
dependencies:
- '@floating-ui/utils': 0.1.6
+ '@floating-ui/utils': 0.2.2
- '@floating-ui/[email protected]':
+ '@floating-ui/[email protected]':
dependencies:
- '@floating-ui/core': 1.5.0
- '@floating-ui/utils': 0.1.6
+ '@floating-ui/core': 1.6.2
+ '@floating-ui/utils': 0.2.2
dependencies:
- '@floating-ui/dom': 1.5.3
+ '@floating-ui/dom': 1.6.5
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318([email protected])
- '@floating-ui/[email protected]': {}
+ '@floating-ui/[email protected]': {}
'@fontsource-variable/[email protected]': {}
@@ -11898,141 +11904,153 @@ snapshots:
'@jspm/[email protected]': {}
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/html': 0.14.3
- '@lexical/list': 0.14.3
- '@lexical/selection': 0.14.3
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/html': 0.16.0
+ '@lexical/list': 0.16.0
+ '@lexical/selection': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
prismjs: 1.29.0
- '@lexical/[email protected]':
+ dependencies:
+ '@lexical/html': 0.16.0
+ '@lexical/link': 0.16.0
+ '@lexical/mark': 0.16.0
+ '@lexical/table': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
+ react: 18.3.0-canary-14898b6a9-20240318
+ react-dom: 18.3.0-canary-14898b6a9-20240318([email protected])
+
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/selection': 0.14.3
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/selection': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/code': 0.14.3
- '@lexical/link': 0.14.3
- '@lexical/list': 0.14.3
- '@lexical/rich-text': 0.14.3
- '@lexical/text': 0.14.3
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/code': 0.16.0
+ '@lexical/link': 0.16.0
+ '@lexical/list': 0.16.0
+ '@lexical/rich-text': 0.16.0
+ '@lexical/text': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/clipboard': 0.14.3
- '@lexical/selection': 0.14.3
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/clipboard': 0.16.0
+ '@lexical/selection': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
dependencies:
- '@lexical/clipboard': 0.14.3
- '@lexical/code': 0.14.3
- '@lexical/dragon': 0.14.3
- '@lexical/hashtag': 0.14.3
- '@lexical/history': 0.14.3
- '@lexical/link': 0.14.3
- '@lexical/list': 0.14.3
- '@lexical/mark': 0.14.3
- '@lexical/markdown': 0.14.3
- '@lexical/overflow': 0.14.3
- '@lexical/plain-text': 0.14.3
- '@lexical/rich-text': 0.14.3
- '@lexical/selection': 0.14.3
- '@lexical/table': 0.14.3
- '@lexical/text': 0.14.3
- '@lexical/utils': 0.14.3
- '@lexical/yjs': 0.14.3([email protected])
- lexical: 0.14.3
+ '@lexical/clipboard': 0.16.0
+ '@lexical/code': 0.16.0
+ '@lexical/devtools-core': 0.16.0([email protected]([email protected]))([email protected])
+ '@lexical/dragon': 0.16.0
+ '@lexical/hashtag': 0.16.0
+ '@lexical/history': 0.16.0
+ '@lexical/link': 0.16.0
+ '@lexical/list': 0.16.0
+ '@lexical/mark': 0.16.0
+ '@lexical/markdown': 0.16.0
+ '@lexical/overflow': 0.16.0
+ '@lexical/plain-text': 0.16.0
+ '@lexical/rich-text': 0.16.0
+ '@lexical/selection': 0.16.0
+ '@lexical/table': 0.16.0
+ '@lexical/text': 0.16.0
+ '@lexical/utils': 0.16.0
+ '@lexical/yjs': 0.16.0([email protected])
+ lexical: 0.16.0
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318([email protected])
react-error-boundary: 3.1.4([email protected])
transitivePeerDependencies:
- yjs
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/clipboard': 0.14.3
- '@lexical/selection': 0.14.3
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/clipboard': 0.16.0
+ '@lexical/selection': 0.16.0
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/utils': 0.14.3
- lexical: 0.14.3
+ '@lexical/utils': 0.16.0
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- lexical: 0.14.3
+ lexical: 0.16.0
- '@lexical/[email protected]':
+ '@lexical/[email protected]':
dependencies:
- '@lexical/list': 0.14.3
- '@lexical/selection': 0.14.3
- '@lexical/table': 0.14.3
- lexical: 0.14.3
+ '@lexical/list': 0.16.0
+ '@lexical/selection': 0.16.0
+ '@lexical/table': 0.16.0
+ lexical: 0.16.0
dependencies:
- '@lexical/offset': 0.14.3
- lexical: 0.14.3
+ '@lexical/offset': 0.16.0
+ lexical: 0.16.0
yjs: 13.5.52
'@lezer/[email protected]': {}
@@ -12584,7 +12602,7 @@ snapshots:
dependencies:
'@babel/runtime': 7.22.3
- '@floating-ui/react-dom': 2.0.1([email protected]([email protected]))([email protected])
+ '@floating-ui/react-dom': 2.1.0([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
@@ -16961,7 +16979,7 @@ snapshots:
prelude-ls: 1.2.1
type-check: 0.4.0
dependencies: