@fileverse-dev/ddoc 2.0.6-patch-4 → 2.0.6-patch-6

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.
@@ -0,0 +1 @@
1
+ export * from './page-break';
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { NodeViewProps } from '@tiptap/react';
3
+
4
+ export declare const PageBreakNodeView: React.FC<NodeViewProps>;
@@ -0,0 +1,20 @@
1
+ import { Node } from '@tiptap/core';
2
+
3
+ export interface PageBreakRuleOptions {
4
+ HTMLAttributes: Record<string, any>;
5
+ }
6
+ declare module '@tiptap/core' {
7
+ interface Commands<ReturnType> {
8
+ pageBreak: {
9
+ /**
10
+ * Add a page break
11
+ */
12
+ setPageBreak: () => ReturnType;
13
+ /**
14
+ * Remove a page break
15
+ */
16
+ unsetPageBreak: () => ReturnType;
17
+ };
18
+ }
19
+ }
20
+ export declare const PageBreak: Node<PageBreakRuleOptions, any>;