@railway/inkwell 2.1.0 → 2.1.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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1251,7 +1251,7 @@ function withMarkdown(editor, featuresRef) {
|
|
|
1251
1251
|
return;
|
|
1252
1252
|
}
|
|
1253
1253
|
const nodes = deserialize(text, featuresRef.current);
|
|
1254
|
-
slate.Transforms.
|
|
1254
|
+
slate.Transforms.insertFragment(editor, nodes);
|
|
1255
1255
|
return;
|
|
1256
1256
|
}
|
|
1257
1257
|
insertData(data);
|
package/dist/index.js
CHANGED
|
@@ -1236,7 +1236,7 @@ function withMarkdown(editor, featuresRef) {
|
|
|
1236
1236
|
return;
|
|
1237
1237
|
}
|
|
1238
1238
|
const nodes = deserialize(text, featuresRef.current);
|
|
1239
|
-
Transforms.
|
|
1239
|
+
Transforms.insertFragment(editor, nodes);
|
|
1240
1240
|
return;
|
|
1241
1241
|
}
|
|
1242
1242
|
insertData(data);
|