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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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>;