@seafile/sea-email-editor 0.0.11 → 0.0.12

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.
@@ -44,6 +44,7 @@ const mdStringToSlate = mdString => {
44
44
  const slateNodes = (0, _transform.formatMdToSlate)(root.children);
45
45
 
46
46
  // Format the document
47
- return reconciledSlateNodes(slateNodes);
47
+ const nodes = reconciledSlateNodes(slateNodes);
48
+ return [(0, _core.generateDefaultParagraph)(), (0, _core.generateDefaultParagraph)(), (0, _core.generateDefaultParagraph)(), ...nodes];
48
49
  };
49
50
  var _default = exports.default = mdStringToSlate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sea-email-editor",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "A Slate-based rich email editor with HTML, markdown, tables, images, links, and block plugins.",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {