@mdxeditor/editor 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -147,12 +147,6 @@ const linkDialogSystem = system(
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
editor == null ? void 0 : editor.dispatchCommand(TOGGLE_LINK_COMMAND, { url, title });
|
|
150
|
-
setTimeout(() => {
|
|
151
|
-
editor == null ? void 0 : editor.update(() => {
|
|
152
|
-
const node = getLinkNodeInSelection($getSelection());
|
|
153
|
-
node == null ? void 0 : node.setTitle(title);
|
|
154
|
-
});
|
|
155
|
-
}, 100);
|
|
156
150
|
r.pub(linkDialogState, {
|
|
157
151
|
type: "preview",
|
|
158
152
|
linkNodeKey: state.linkNodeKey,
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"private": false,
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"type": "module",
|
|
12
|
-
"version": "1.10.
|
|
12
|
+
"version": "1.10.1",
|
|
13
13
|
"description": "React component for rich text markdown editing",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "vite build",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@codemirror/state": "^6.2.1",
|
|
41
41
|
"@codemirror/view": "^6.21.0",
|
|
42
42
|
"@codesandbox/sandpack-react": "^2.6.7",
|
|
43
|
-
"@lexical/clipboard": "^0.12.
|
|
44
|
-
"@lexical/link": "^0.12.
|
|
45
|
-
"@lexical/list": "^0.12.
|
|
46
|
-
"@lexical/markdown": "^0.12.
|
|
47
|
-
"@lexical/plain-text": "^0.12.
|
|
48
|
-
"@lexical/react": "^0.12.
|
|
49
|
-
"@lexical/rich-text": "^0.12.
|
|
50
|
-
"@lexical/selection": "^0.12.
|
|
51
|
-
"@lexical/utils": "^0.12.
|
|
43
|
+
"@lexical/clipboard": "^0.12.4",
|
|
44
|
+
"@lexical/link": "^0.12.4",
|
|
45
|
+
"@lexical/list": "^0.12.4",
|
|
46
|
+
"@lexical/markdown": "^0.12.4",
|
|
47
|
+
"@lexical/plain-text": "^0.12.4",
|
|
48
|
+
"@lexical/react": "^0.12.4",
|
|
49
|
+
"@lexical/rich-text": "^0.12.4",
|
|
50
|
+
"@lexical/selection": "^0.12.4",
|
|
51
|
+
"@lexical/utils": "^0.12.4",
|
|
52
52
|
"@radix-ui/colors": "^0.1.8",
|
|
53
53
|
"@radix-ui/react-dialog": "^1.0.4",
|
|
54
54
|
"@radix-ui/react-icons": "^1.3.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"hast-util-sanitize": "^4.1.0",
|
|
66
66
|
"hast-util-to-html": "^8.0.4",
|
|
67
67
|
"js-yaml": "4.1.0",
|
|
68
|
-
"lexical": "^0.12.
|
|
68
|
+
"lexical": "^0.12.4",
|
|
69
69
|
"mdast-util-directive": "2.2.4",
|
|
70
70
|
"mdast-util-from-markdown": "^1.3.0",
|
|
71
71
|
"mdast-util-frontmatter": "1.0.1",
|