@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 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.insertNodes(editor, nodes);
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.insertNodes(editor, nodes);
1239
+ Transforms.insertFragment(editor, nodes);
1240
1240
  return;
1241
1241
  }
1242
1242
  insertData(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@railway/inkwell",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Inkwell is a Markdown editor and renderer for React with an extensible plugin system.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",