reactjs-tiptap-editor 0.4.0 → 0.4.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/lib/Attachment.d.cts +46 -46
- package/lib/Attachment.d.ts +46 -46
- package/lib/BaseKit.d.cts +46 -46
- package/lib/BaseKit.d.ts +46 -46
- package/lib/Blockquote.d.cts +46 -46
- package/lib/Blockquote.d.ts +46 -46
- package/lib/Bold.d.cts +46 -46
- package/lib/Bold.d.ts +46 -46
- package/lib/BulletList.d.cts +46 -46
- package/lib/BulletList.d.ts +46 -46
- package/lib/Clear.d.cts +46 -46
- package/lib/Clear.d.ts +46 -46
- package/lib/Code.d.cts +46 -46
- package/lib/Code.d.ts +46 -46
- package/lib/CodeBlock.d.cts +46 -46
- package/lib/CodeBlock.d.ts +46 -46
- package/lib/CodeView.d.cts +46 -46
- package/lib/CodeView.d.ts +46 -46
- package/lib/Color.d.cts +46 -46
- package/lib/Color.d.ts +46 -46
- package/lib/Document.d.cts +46 -46
- package/lib/Document.d.ts +46 -46
- package/lib/Drawer.d.cts +46 -46
- package/lib/Drawer.d.ts +46 -46
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +46 -46
- package/lib/Emoji.d.ts +46 -46
- package/lib/Emoji.js +2 -2
- package/lib/Excalidraw.d.cts +46 -46
- package/lib/Excalidraw.d.ts +46 -46
- package/lib/ExportPdf.d.cts +46 -46
- package/lib/ExportPdf.d.ts +46 -46
- package/lib/ExportWord.d.cts +46 -46
- package/lib/ExportWord.d.ts +46 -46
- package/lib/FontFamily.d.cts +46 -46
- package/lib/FontFamily.d.ts +46 -46
- package/lib/FontSize.d.cts +46 -46
- package/lib/FontSize.d.ts +46 -46
- package/lib/FormatPainter.d.cts +46 -46
- package/lib/FormatPainter.d.ts +46 -46
- package/lib/Heading.d.cts +46 -46
- package/lib/Heading.d.ts +46 -46
- package/lib/Highlight.d.cts +46 -46
- package/lib/Highlight.d.ts +46 -46
- package/lib/History.d.cts +46 -46
- package/lib/History.d.ts +46 -46
- package/lib/HorizontalRule.d.cts +46 -46
- package/lib/HorizontalRule.d.ts +46 -46
- package/lib/Iframe.d.cts +46 -46
- package/lib/Iframe.d.ts +46 -46
- package/lib/Image.d.cts +46 -46
- package/lib/Image.d.ts +46 -46
- package/lib/ImageGif.d.cts +46 -46
- package/lib/ImageGif.d.ts +46 -46
- package/lib/ImportWord.d.cts +46 -46
- package/lib/ImportWord.d.ts +46 -46
- package/lib/Indent.d.cts +46 -46
- package/lib/Indent.d.ts +46 -46
- package/lib/Italic.d.cts +46 -46
- package/lib/Italic.d.ts +46 -46
- package/lib/Katex.d.cts +46 -46
- package/lib/Katex.d.ts +46 -46
- package/lib/LineHeight.d.cts +46 -46
- package/lib/LineHeight.d.ts +46 -46
- package/lib/Link.d.cts +46 -46
- package/lib/Link.d.ts +46 -46
- package/lib/ListItem.d.cts +46 -46
- package/lib/ListItem.d.ts +46 -46
- package/lib/Mention.d.cts +46 -46
- package/lib/Mention.d.ts +46 -46
- package/lib/Mermaid.d.cts +46 -46
- package/lib/Mermaid.d.ts +46 -46
- package/lib/MoreMark.d.cts +46 -46
- package/lib/MoreMark.d.ts +46 -46
- package/lib/MultiColumn.d.cts +46 -46
- package/lib/MultiColumn.d.ts +46 -46
- package/lib/OrderedList.d.cts +46 -46
- package/lib/OrderedList.d.ts +46 -46
- package/lib/SearchAndReplace.d.cts +46 -46
- package/lib/SearchAndReplace.d.ts +46 -46
- package/lib/Selection.d.cts +46 -46
- package/lib/Selection.d.ts +46 -46
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +46 -46
- package/lib/SlashCommand.d.ts +46 -46
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.d.cts +46 -46
- package/lib/Strike.d.ts +46 -46
- package/lib/SubAndSuperScript.d.cts +46 -46
- package/lib/SubAndSuperScript.d.ts +46 -46
- package/lib/Table.d.cts +46 -46
- package/lib/Table.d.ts +46 -46
- package/lib/TableOfContent.d.cts +46 -46
- package/lib/TableOfContent.d.ts +46 -46
- package/lib/TaskList.d.cts +46 -46
- package/lib/TaskList.d.ts +46 -46
- package/lib/TextAlign.d.cts +46 -46
- package/lib/TextAlign.d.ts +46 -46
- package/lib/TextBubble.d.cts +46 -46
- package/lib/TextBubble.d.ts +46 -46
- package/lib/TextDirection.d.cts +46 -46
- package/lib/TextDirection.d.ts +46 -46
- package/lib/TextUnderline.d.cts +46 -46
- package/lib/TextUnderline.d.ts +46 -46
- package/lib/TrailingNode.d.cts +46 -46
- package/lib/TrailingNode.d.ts +46 -46
- package/lib/Twitter.d.cts +46 -46
- package/lib/Twitter.d.ts +46 -46
- package/lib/Video.d.cts +46 -46
- package/lib/Video.d.ts +46 -46
- package/lib/bubble-extra.d.cts +46 -46
- package/lib/bubble-extra.d.ts +46 -46
- package/lib/index.d.cts +46 -46
- package/lib/index.d.ts +46 -46
- package/lib/locale-bundle.d.cts +46 -46
- package/lib/locale-bundle.d.ts +46 -46
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/ListItem.d.cts
CHANGED
|
@@ -40,8 +40,9 @@ declare module '@tiptap/core' {
|
|
|
40
40
|
|
|
41
41
|
declare module '@tiptap/core' {
|
|
42
42
|
interface Commands<ReturnType> {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
drawer: {
|
|
44
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
45
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
}
|
|
@@ -49,9 +50,8 @@ declare module '@tiptap/core' {
|
|
|
49
50
|
|
|
50
51
|
declare module '@tiptap/core' {
|
|
51
52
|
interface Commands<ReturnType> {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
53
|
+
excalidraw: {
|
|
54
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -75,15 +75,6 @@ declare module '@tiptap/core' {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
declare module '@tiptap/core' {
|
|
79
|
-
interface Commands<ReturnType> {
|
|
80
|
-
painter: {
|
|
81
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
78
|
declare module '@tiptap/core' {
|
|
88
79
|
interface Commands<ReturnType> {
|
|
89
80
|
fontSize: {
|
|
@@ -102,6 +93,15 @@ declare module '@tiptap/core' {
|
|
|
102
93
|
}
|
|
103
94
|
|
|
104
95
|
|
|
96
|
+
declare module '@tiptap/core' {
|
|
97
|
+
interface Commands<ReturnType> {
|
|
98
|
+
painter: {
|
|
99
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
105
|
declare module '@tiptap/core' {
|
|
106
106
|
interface Commands<ReturnType> {
|
|
107
107
|
iframe: {
|
|
@@ -137,6 +137,22 @@ declare module '@tiptap/core' {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
|
|
140
|
+
declare module '@tiptap/core' {
|
|
141
|
+
interface Commands<ReturnType> {
|
|
142
|
+
indent: {
|
|
143
|
+
/**
|
|
144
|
+
* Set the indent attribute
|
|
145
|
+
*/
|
|
146
|
+
indent: () => ReturnType;
|
|
147
|
+
/**
|
|
148
|
+
* Set the outdent attribute
|
|
149
|
+
*/
|
|
150
|
+
outdent: () => ReturnType;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
140
156
|
declare module '@tiptap/core' {
|
|
141
157
|
interface Commands<ReturnType> {
|
|
142
158
|
imageGifUpload: {
|
|
@@ -168,15 +184,9 @@ declare module '@tiptap/core' {
|
|
|
168
184
|
|
|
169
185
|
declare module '@tiptap/core' {
|
|
170
186
|
interface Commands<ReturnType> {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
*/
|
|
175
|
-
indent: () => ReturnType;
|
|
176
|
-
/**
|
|
177
|
-
* Set the outdent attribute
|
|
178
|
-
*/
|
|
179
|
-
outdent: () => ReturnType;
|
|
187
|
+
lineHeight: {
|
|
188
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
189
|
+
unsetLineHeight: () => ReturnType;
|
|
180
190
|
};
|
|
181
191
|
}
|
|
182
192
|
}
|
|
@@ -184,9 +194,9 @@ declare module '@tiptap/core' {
|
|
|
184
194
|
|
|
185
195
|
declare module '@tiptap/core' {
|
|
186
196
|
interface Commands<ReturnType> {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
197
|
+
mermaid: {
|
|
198
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
199
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
190
200
|
};
|
|
191
201
|
}
|
|
192
202
|
}
|
|
@@ -206,26 +216,6 @@ declare module '@tiptap/core' {
|
|
|
206
216
|
}
|
|
207
217
|
|
|
208
218
|
|
|
209
|
-
declare module '@tiptap/core' {
|
|
210
|
-
interface Commands<ReturnType> {
|
|
211
|
-
mermaid: {
|
|
212
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
213
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
declare module '@tiptap/core' {
|
|
220
|
-
interface Commands<ReturnType> {
|
|
221
|
-
tableOfContents: {
|
|
222
|
-
setTableOfContents: () => ReturnType;
|
|
223
|
-
removeTableOfContents: () => ReturnType;
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
219
|
declare module '@tiptap/core' {
|
|
230
220
|
interface Commands<ReturnType> {
|
|
231
221
|
search: {
|
|
@@ -249,6 +239,16 @@ declare module '@tiptap/core' {
|
|
|
249
239
|
}
|
|
250
240
|
|
|
251
241
|
|
|
242
|
+
declare module '@tiptap/core' {
|
|
243
|
+
interface Commands<ReturnType> {
|
|
244
|
+
tableOfContents: {
|
|
245
|
+
setTableOfContents: () => ReturnType;
|
|
246
|
+
removeTableOfContents: () => ReturnType;
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
252
|
declare module '@tiptap/core' {
|
|
253
253
|
interface Commands<ReturnType> {
|
|
254
254
|
twitter: {
|
package/lib/ListItem.d.ts
CHANGED
|
@@ -40,8 +40,9 @@ declare module '@tiptap/core' {
|
|
|
40
40
|
|
|
41
41
|
declare module '@tiptap/core' {
|
|
42
42
|
interface Commands<ReturnType> {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
drawer: {
|
|
44
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
45
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
}
|
|
@@ -49,9 +50,8 @@ declare module '@tiptap/core' {
|
|
|
49
50
|
|
|
50
51
|
declare module '@tiptap/core' {
|
|
51
52
|
interface Commands<ReturnType> {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
53
|
+
excalidraw: {
|
|
54
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -75,15 +75,6 @@ declare module '@tiptap/core' {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
declare module '@tiptap/core' {
|
|
79
|
-
interface Commands<ReturnType> {
|
|
80
|
-
painter: {
|
|
81
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
78
|
declare module '@tiptap/core' {
|
|
88
79
|
interface Commands<ReturnType> {
|
|
89
80
|
fontSize: {
|
|
@@ -102,6 +93,15 @@ declare module '@tiptap/core' {
|
|
|
102
93
|
}
|
|
103
94
|
|
|
104
95
|
|
|
96
|
+
declare module '@tiptap/core' {
|
|
97
|
+
interface Commands<ReturnType> {
|
|
98
|
+
painter: {
|
|
99
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
105
|
declare module '@tiptap/core' {
|
|
106
106
|
interface Commands<ReturnType> {
|
|
107
107
|
iframe: {
|
|
@@ -137,6 +137,22 @@ declare module '@tiptap/core' {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
|
|
140
|
+
declare module '@tiptap/core' {
|
|
141
|
+
interface Commands<ReturnType> {
|
|
142
|
+
indent: {
|
|
143
|
+
/**
|
|
144
|
+
* Set the indent attribute
|
|
145
|
+
*/
|
|
146
|
+
indent: () => ReturnType;
|
|
147
|
+
/**
|
|
148
|
+
* Set the outdent attribute
|
|
149
|
+
*/
|
|
150
|
+
outdent: () => ReturnType;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
140
156
|
declare module '@tiptap/core' {
|
|
141
157
|
interface Commands<ReturnType> {
|
|
142
158
|
imageGifUpload: {
|
|
@@ -168,15 +184,9 @@ declare module '@tiptap/core' {
|
|
|
168
184
|
|
|
169
185
|
declare module '@tiptap/core' {
|
|
170
186
|
interface Commands<ReturnType> {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
*/
|
|
175
|
-
indent: () => ReturnType;
|
|
176
|
-
/**
|
|
177
|
-
* Set the outdent attribute
|
|
178
|
-
*/
|
|
179
|
-
outdent: () => ReturnType;
|
|
187
|
+
lineHeight: {
|
|
188
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
189
|
+
unsetLineHeight: () => ReturnType;
|
|
180
190
|
};
|
|
181
191
|
}
|
|
182
192
|
}
|
|
@@ -184,9 +194,9 @@ declare module '@tiptap/core' {
|
|
|
184
194
|
|
|
185
195
|
declare module '@tiptap/core' {
|
|
186
196
|
interface Commands<ReturnType> {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
197
|
+
mermaid: {
|
|
198
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
199
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
190
200
|
};
|
|
191
201
|
}
|
|
192
202
|
}
|
|
@@ -206,26 +216,6 @@ declare module '@tiptap/core' {
|
|
|
206
216
|
}
|
|
207
217
|
|
|
208
218
|
|
|
209
|
-
declare module '@tiptap/core' {
|
|
210
|
-
interface Commands<ReturnType> {
|
|
211
|
-
mermaid: {
|
|
212
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
213
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
declare module '@tiptap/core' {
|
|
220
|
-
interface Commands<ReturnType> {
|
|
221
|
-
tableOfContents: {
|
|
222
|
-
setTableOfContents: () => ReturnType;
|
|
223
|
-
removeTableOfContents: () => ReturnType;
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
219
|
declare module '@tiptap/core' {
|
|
230
220
|
interface Commands<ReturnType> {
|
|
231
221
|
search: {
|
|
@@ -249,6 +239,16 @@ declare module '@tiptap/core' {
|
|
|
249
239
|
}
|
|
250
240
|
|
|
251
241
|
|
|
242
|
+
declare module '@tiptap/core' {
|
|
243
|
+
interface Commands<ReturnType> {
|
|
244
|
+
tableOfContents: {
|
|
245
|
+
setTableOfContents: () => ReturnType;
|
|
246
|
+
removeTableOfContents: () => ReturnType;
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
252
|
declare module '@tiptap/core' {
|
|
253
253
|
interface Commands<ReturnType> {
|
|
254
254
|
twitter: {
|
package/lib/Mention.d.cts
CHANGED
|
@@ -39,8 +39,9 @@ declare module '@tiptap/core' {
|
|
|
39
39
|
|
|
40
40
|
declare module '@tiptap/core' {
|
|
41
41
|
interface Commands<ReturnType> {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
drawer: {
|
|
43
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
44
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
}
|
|
@@ -48,9 +49,8 @@ declare module '@tiptap/core' {
|
|
|
48
49
|
|
|
49
50
|
declare module '@tiptap/core' {
|
|
50
51
|
interface Commands<ReturnType> {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
52
|
+
excalidraw: {
|
|
53
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -74,15 +74,6 @@ declare module '@tiptap/core' {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
declare module '@tiptap/core' {
|
|
78
|
-
interface Commands<ReturnType> {
|
|
79
|
-
painter: {
|
|
80
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
77
|
declare module '@tiptap/core' {
|
|
87
78
|
interface Commands<ReturnType> {
|
|
88
79
|
fontSize: {
|
|
@@ -101,6 +92,15 @@ declare module '@tiptap/core' {
|
|
|
101
92
|
}
|
|
102
93
|
|
|
103
94
|
|
|
95
|
+
declare module '@tiptap/core' {
|
|
96
|
+
interface Commands<ReturnType> {
|
|
97
|
+
painter: {
|
|
98
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
104
|
declare module '@tiptap/core' {
|
|
105
105
|
interface Commands<ReturnType> {
|
|
106
106
|
iframe: {
|
|
@@ -136,6 +136,22 @@ declare module '@tiptap/core' {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
declare module '@tiptap/core' {
|
|
140
|
+
interface Commands<ReturnType> {
|
|
141
|
+
indent: {
|
|
142
|
+
/**
|
|
143
|
+
* Set the indent attribute
|
|
144
|
+
*/
|
|
145
|
+
indent: () => ReturnType;
|
|
146
|
+
/**
|
|
147
|
+
* Set the outdent attribute
|
|
148
|
+
*/
|
|
149
|
+
outdent: () => ReturnType;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
|
|
139
155
|
declare module '@tiptap/core' {
|
|
140
156
|
interface Commands<ReturnType> {
|
|
141
157
|
imageGifUpload: {
|
|
@@ -167,15 +183,9 @@ declare module '@tiptap/core' {
|
|
|
167
183
|
|
|
168
184
|
declare module '@tiptap/core' {
|
|
169
185
|
interface Commands<ReturnType> {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
*/
|
|
174
|
-
indent: () => ReturnType;
|
|
175
|
-
/**
|
|
176
|
-
* Set the outdent attribute
|
|
177
|
-
*/
|
|
178
|
-
outdent: () => ReturnType;
|
|
186
|
+
lineHeight: {
|
|
187
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
188
|
+
unsetLineHeight: () => ReturnType;
|
|
179
189
|
};
|
|
180
190
|
}
|
|
181
191
|
}
|
|
@@ -183,9 +193,9 @@ declare module '@tiptap/core' {
|
|
|
183
193
|
|
|
184
194
|
declare module '@tiptap/core' {
|
|
185
195
|
interface Commands<ReturnType> {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
196
|
+
mermaid: {
|
|
197
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
198
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
189
199
|
};
|
|
190
200
|
}
|
|
191
201
|
}
|
|
@@ -205,26 +215,6 @@ declare module '@tiptap/core' {
|
|
|
205
215
|
}
|
|
206
216
|
|
|
207
217
|
|
|
208
|
-
declare module '@tiptap/core' {
|
|
209
|
-
interface Commands<ReturnType> {
|
|
210
|
-
mermaid: {
|
|
211
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
212
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
declare module '@tiptap/core' {
|
|
219
|
-
interface Commands<ReturnType> {
|
|
220
|
-
tableOfContents: {
|
|
221
|
-
setTableOfContents: () => ReturnType;
|
|
222
|
-
removeTableOfContents: () => ReturnType;
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
218
|
declare module '@tiptap/core' {
|
|
229
219
|
interface Commands<ReturnType> {
|
|
230
220
|
search: {
|
|
@@ -248,6 +238,16 @@ declare module '@tiptap/core' {
|
|
|
248
238
|
}
|
|
249
239
|
|
|
250
240
|
|
|
241
|
+
declare module '@tiptap/core' {
|
|
242
|
+
interface Commands<ReturnType> {
|
|
243
|
+
tableOfContents: {
|
|
244
|
+
setTableOfContents: () => ReturnType;
|
|
245
|
+
removeTableOfContents: () => ReturnType;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
251
251
|
declare module '@tiptap/core' {
|
|
252
252
|
interface Commands<ReturnType> {
|
|
253
253
|
twitter: {
|
package/lib/Mention.d.ts
CHANGED
|
@@ -39,8 +39,9 @@ declare module '@tiptap/core' {
|
|
|
39
39
|
|
|
40
40
|
declare module '@tiptap/core' {
|
|
41
41
|
interface Commands<ReturnType> {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
drawer: {
|
|
43
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
44
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
}
|
|
@@ -48,9 +49,8 @@ declare module '@tiptap/core' {
|
|
|
48
49
|
|
|
49
50
|
declare module '@tiptap/core' {
|
|
50
51
|
interface Commands<ReturnType> {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
52
|
+
excalidraw: {
|
|
53
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -74,15 +74,6 @@ declare module '@tiptap/core' {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
declare module '@tiptap/core' {
|
|
78
|
-
interface Commands<ReturnType> {
|
|
79
|
-
painter: {
|
|
80
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
77
|
declare module '@tiptap/core' {
|
|
87
78
|
interface Commands<ReturnType> {
|
|
88
79
|
fontSize: {
|
|
@@ -101,6 +92,15 @@ declare module '@tiptap/core' {
|
|
|
101
92
|
}
|
|
102
93
|
|
|
103
94
|
|
|
95
|
+
declare module '@tiptap/core' {
|
|
96
|
+
interface Commands<ReturnType> {
|
|
97
|
+
painter: {
|
|
98
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
104
|
declare module '@tiptap/core' {
|
|
105
105
|
interface Commands<ReturnType> {
|
|
106
106
|
iframe: {
|
|
@@ -136,6 +136,22 @@ declare module '@tiptap/core' {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
declare module '@tiptap/core' {
|
|
140
|
+
interface Commands<ReturnType> {
|
|
141
|
+
indent: {
|
|
142
|
+
/**
|
|
143
|
+
* Set the indent attribute
|
|
144
|
+
*/
|
|
145
|
+
indent: () => ReturnType;
|
|
146
|
+
/**
|
|
147
|
+
* Set the outdent attribute
|
|
148
|
+
*/
|
|
149
|
+
outdent: () => ReturnType;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
|
|
139
155
|
declare module '@tiptap/core' {
|
|
140
156
|
interface Commands<ReturnType> {
|
|
141
157
|
imageGifUpload: {
|
|
@@ -167,15 +183,9 @@ declare module '@tiptap/core' {
|
|
|
167
183
|
|
|
168
184
|
declare module '@tiptap/core' {
|
|
169
185
|
interface Commands<ReturnType> {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
*/
|
|
174
|
-
indent: () => ReturnType;
|
|
175
|
-
/**
|
|
176
|
-
* Set the outdent attribute
|
|
177
|
-
*/
|
|
178
|
-
outdent: () => ReturnType;
|
|
186
|
+
lineHeight: {
|
|
187
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
188
|
+
unsetLineHeight: () => ReturnType;
|
|
179
189
|
};
|
|
180
190
|
}
|
|
181
191
|
}
|
|
@@ -183,9 +193,9 @@ declare module '@tiptap/core' {
|
|
|
183
193
|
|
|
184
194
|
declare module '@tiptap/core' {
|
|
185
195
|
interface Commands<ReturnType> {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
196
|
+
mermaid: {
|
|
197
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
198
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
189
199
|
};
|
|
190
200
|
}
|
|
191
201
|
}
|
|
@@ -205,26 +215,6 @@ declare module '@tiptap/core' {
|
|
|
205
215
|
}
|
|
206
216
|
|
|
207
217
|
|
|
208
|
-
declare module '@tiptap/core' {
|
|
209
|
-
interface Commands<ReturnType> {
|
|
210
|
-
mermaid: {
|
|
211
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
212
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
declare module '@tiptap/core' {
|
|
219
|
-
interface Commands<ReturnType> {
|
|
220
|
-
tableOfContents: {
|
|
221
|
-
setTableOfContents: () => ReturnType;
|
|
222
|
-
removeTableOfContents: () => ReturnType;
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
218
|
declare module '@tiptap/core' {
|
|
229
219
|
interface Commands<ReturnType> {
|
|
230
220
|
search: {
|
|
@@ -248,6 +238,16 @@ declare module '@tiptap/core' {
|
|
|
248
238
|
}
|
|
249
239
|
|
|
250
240
|
|
|
241
|
+
declare module '@tiptap/core' {
|
|
242
|
+
interface Commands<ReturnType> {
|
|
243
|
+
tableOfContents: {
|
|
244
|
+
setTableOfContents: () => ReturnType;
|
|
245
|
+
removeTableOfContents: () => ReturnType;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
251
251
|
declare module '@tiptap/core' {
|
|
252
252
|
interface Commands<ReturnType> {
|
|
253
253
|
twitter: {
|