@lexical/yjs 0.29.1-nightly.20250404.0 → 0.30.0
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.
- package/LexicalYjs.dev.js +1 -1
- package/LexicalYjs.dev.mjs +1 -1
- package/package.json +4 -4
package/LexicalYjs.dev.js
CHANGED
|
@@ -1253,7 +1253,7 @@ function updateCursor(binding, cursor, nextSelection, nodeMap) {
|
|
|
1253
1253
|
|
|
1254
1254
|
// In the case of a collapsed selection on a linebreak, we need
|
|
1255
1255
|
// to improvise as the browser will return nothing here as <br>
|
|
1256
|
-
//
|
|
1256
|
+
// apparently take up no visual space :/
|
|
1257
1257
|
// This won't work in all cases, but it's better than just showing
|
|
1258
1258
|
// nothing all the time.
|
|
1259
1259
|
if (anchorNode === focusNode && lexical.$isLineBreakNode(anchorNode)) {
|
package/LexicalYjs.dev.mjs
CHANGED
|
@@ -1251,7 +1251,7 @@ function updateCursor(binding, cursor, nextSelection, nodeMap) {
|
|
|
1251
1251
|
|
|
1252
1252
|
// In the case of a collapsed selection on a linebreak, we need
|
|
1253
1253
|
// to improvise as the browser will return nothing here as <br>
|
|
1254
|
-
//
|
|
1254
|
+
// apparently take up no visual space :/
|
|
1255
1255
|
// This won't work in all cases, but it's better than just showing
|
|
1256
1256
|
// nothing all the time.
|
|
1257
1257
|
if (anchorNode === focusNode && $isLineBreakNode(anchorNode)) {
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"crdt"
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.30.0",
|
|
15
15
|
"main": "LexicalYjs.js",
|
|
16
16
|
"types": "index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lexical/offset": "0.
|
|
19
|
-
"@lexical/selection": "0.
|
|
20
|
-
"lexical": "0.
|
|
18
|
+
"@lexical/offset": "0.30.0",
|
|
19
|
+
"@lexical/selection": "0.30.0",
|
|
20
|
+
"lexical": "0.30.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"yjs": ">=13.5.22"
|