@jupyter/ydoc
Advanced tools
Comparing version 3.0.0-a7 to 3.0.0-a8
@@ -657,8 +657,4 @@ /* ----------------------------------------------------------------------------- | ||
const newText = new Y.Text(); | ||
let length = 0; | ||
// text is a list of strings | ||
for (const str of text) { | ||
newText.insert(length, str); | ||
length += str.length; | ||
} | ||
let _text = text instanceof Array ? text.join() : text; | ||
newText.insert(0, _text); | ||
_newOutput1['text'] = newText; | ||
@@ -665,0 +661,0 @@ } |
{ | ||
"name": "@jupyter/ydoc", | ||
"version": "3.0.0-a7", | ||
"version": "3.0.0-a8", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Jupyter document structures for collaborative editing using YJS", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141986
3272