@kedataindo/docflow-plugins 0.0.27 → 0.0.29

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
@@ -487,7 +487,10 @@ var pageBreakPlugin = (0, import_docflow_core11.definePlugin)({
487
487
  ],
488
488
  slashCommands: [{ name: "Page Break", command: "insertPageBreak" }],
489
489
  commands: {
490
- insertPageBreak: (editor) => editor.chain().focus().insertContent({ type: "pageBreak" }).run()
490
+ insertPageBreak: (editor) => editor.chain().focus().insertContent([
491
+ { type: "pageBreak" },
492
+ { type: "paragraph" }
493
+ ]).run()
491
494
  }
492
495
  });
493
496
 
package/dist/index.js CHANGED
@@ -418,7 +418,10 @@ var pageBreakPlugin = definePlugin11({
418
418
  ],
419
419
  slashCommands: [{ name: "Page Break", command: "insertPageBreak" }],
420
420
  commands: {
421
- insertPageBreak: (editor) => editor.chain().focus().insertContent({ type: "pageBreak" }).run()
421
+ insertPageBreak: (editor) => editor.chain().focus().insertContent([
422
+ { type: "pageBreak" },
423
+ { type: "paragraph" }
424
+ ]).run()
422
425
  }
423
426
  });
424
427
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kedataindo/docflow-plugins",
3
3
  "license": "UNLICENSED",
4
- "version": "0.0.27",
4
+ "version": "0.0.29",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "@tiptap/extension-highlight": "^2.27.2",
31
31
  "@tiptap/pm": "^2.11.0",
32
32
  "citeproc": "^2.4.63",
33
- "@kedataindo/docflow-core": "0.0.25"
33
+ "@kedataindo/docflow-core": "0.0.27"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@tiptap/core": "^2.11.0",