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/FontFamily.d.cts
CHANGED
|
@@ -123,8 +123,9 @@ declare module '@tiptap/core' {
|
|
|
123
123
|
|
|
124
124
|
declare module '@tiptap/core' {
|
|
125
125
|
interface Commands<ReturnType> {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
drawer: {
|
|
127
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
128
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
}
|
|
@@ -132,9 +133,8 @@ declare module '@tiptap/core' {
|
|
|
132
133
|
|
|
133
134
|
declare module '@tiptap/core' {
|
|
134
135
|
interface Commands<ReturnType> {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
136
|
+
excalidraw: {
|
|
137
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -158,15 +158,6 @@ declare module '@tiptap/core' {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
declare module '@tiptap/core' {
|
|
162
|
-
interface Commands<ReturnType> {
|
|
163
|
-
painter: {
|
|
164
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
161
|
declare module '@tiptap/core' {
|
|
171
162
|
interface Commands<ReturnType> {
|
|
172
163
|
fontSize: {
|
|
@@ -185,6 +176,15 @@ declare module '@tiptap/core' {
|
|
|
185
176
|
}
|
|
186
177
|
|
|
187
178
|
|
|
179
|
+
declare module '@tiptap/core' {
|
|
180
|
+
interface Commands<ReturnType> {
|
|
181
|
+
painter: {
|
|
182
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
188
|
declare module '@tiptap/core' {
|
|
189
189
|
interface Commands<ReturnType> {
|
|
190
190
|
iframe: {
|
|
@@ -220,6 +220,22 @@ declare module '@tiptap/core' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
+
declare module '@tiptap/core' {
|
|
224
|
+
interface Commands<ReturnType> {
|
|
225
|
+
indent: {
|
|
226
|
+
/**
|
|
227
|
+
* Set the indent attribute
|
|
228
|
+
*/
|
|
229
|
+
indent: () => ReturnType;
|
|
230
|
+
/**
|
|
231
|
+
* Set the outdent attribute
|
|
232
|
+
*/
|
|
233
|
+
outdent: () => ReturnType;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
223
239
|
declare module '@tiptap/core' {
|
|
224
240
|
interface Commands<ReturnType> {
|
|
225
241
|
imageGifUpload: {
|
|
@@ -251,15 +267,9 @@ declare module '@tiptap/core' {
|
|
|
251
267
|
|
|
252
268
|
declare module '@tiptap/core' {
|
|
253
269
|
interface Commands<ReturnType> {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
*/
|
|
258
|
-
indent: () => ReturnType;
|
|
259
|
-
/**
|
|
260
|
-
* Set the outdent attribute
|
|
261
|
-
*/
|
|
262
|
-
outdent: () => ReturnType;
|
|
270
|
+
lineHeight: {
|
|
271
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
272
|
+
unsetLineHeight: () => ReturnType;
|
|
263
273
|
};
|
|
264
274
|
}
|
|
265
275
|
}
|
|
@@ -267,9 +277,9 @@ declare module '@tiptap/core' {
|
|
|
267
277
|
|
|
268
278
|
declare module '@tiptap/core' {
|
|
269
279
|
interface Commands<ReturnType> {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
280
|
+
mermaid: {
|
|
281
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
282
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
273
283
|
};
|
|
274
284
|
}
|
|
275
285
|
}
|
|
@@ -289,26 +299,6 @@ declare module '@tiptap/core' {
|
|
|
289
299
|
}
|
|
290
300
|
|
|
291
301
|
|
|
292
|
-
declare module '@tiptap/core' {
|
|
293
|
-
interface Commands<ReturnType> {
|
|
294
|
-
mermaid: {
|
|
295
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
296
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
declare module '@tiptap/core' {
|
|
303
|
-
interface Commands<ReturnType> {
|
|
304
|
-
tableOfContents: {
|
|
305
|
-
setTableOfContents: () => ReturnType;
|
|
306
|
-
removeTableOfContents: () => ReturnType;
|
|
307
|
-
};
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
312
302
|
declare module '@tiptap/core' {
|
|
313
303
|
interface Commands<ReturnType> {
|
|
314
304
|
search: {
|
|
@@ -332,6 +322,16 @@ declare module '@tiptap/core' {
|
|
|
332
322
|
}
|
|
333
323
|
|
|
334
324
|
|
|
325
|
+
declare module '@tiptap/core' {
|
|
326
|
+
interface Commands<ReturnType> {
|
|
327
|
+
tableOfContents: {
|
|
328
|
+
setTableOfContents: () => ReturnType;
|
|
329
|
+
removeTableOfContents: () => ReturnType;
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
335
|
declare module '@tiptap/core' {
|
|
336
336
|
interface Commands<ReturnType> {
|
|
337
337
|
twitter: {
|
package/lib/FontFamily.d.ts
CHANGED
|
@@ -123,8 +123,9 @@ declare module '@tiptap/core' {
|
|
|
123
123
|
|
|
124
124
|
declare module '@tiptap/core' {
|
|
125
125
|
interface Commands<ReturnType> {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
drawer: {
|
|
127
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
128
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
}
|
|
@@ -132,9 +133,8 @@ declare module '@tiptap/core' {
|
|
|
132
133
|
|
|
133
134
|
declare module '@tiptap/core' {
|
|
134
135
|
interface Commands<ReturnType> {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
136
|
+
excalidraw: {
|
|
137
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -158,15 +158,6 @@ declare module '@tiptap/core' {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
declare module '@tiptap/core' {
|
|
162
|
-
interface Commands<ReturnType> {
|
|
163
|
-
painter: {
|
|
164
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
161
|
declare module '@tiptap/core' {
|
|
171
162
|
interface Commands<ReturnType> {
|
|
172
163
|
fontSize: {
|
|
@@ -185,6 +176,15 @@ declare module '@tiptap/core' {
|
|
|
185
176
|
}
|
|
186
177
|
|
|
187
178
|
|
|
179
|
+
declare module '@tiptap/core' {
|
|
180
|
+
interface Commands<ReturnType> {
|
|
181
|
+
painter: {
|
|
182
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
188
|
declare module '@tiptap/core' {
|
|
189
189
|
interface Commands<ReturnType> {
|
|
190
190
|
iframe: {
|
|
@@ -220,6 +220,22 @@ declare module '@tiptap/core' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
+
declare module '@tiptap/core' {
|
|
224
|
+
interface Commands<ReturnType> {
|
|
225
|
+
indent: {
|
|
226
|
+
/**
|
|
227
|
+
* Set the indent attribute
|
|
228
|
+
*/
|
|
229
|
+
indent: () => ReturnType;
|
|
230
|
+
/**
|
|
231
|
+
* Set the outdent attribute
|
|
232
|
+
*/
|
|
233
|
+
outdent: () => ReturnType;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
223
239
|
declare module '@tiptap/core' {
|
|
224
240
|
interface Commands<ReturnType> {
|
|
225
241
|
imageGifUpload: {
|
|
@@ -251,15 +267,9 @@ declare module '@tiptap/core' {
|
|
|
251
267
|
|
|
252
268
|
declare module '@tiptap/core' {
|
|
253
269
|
interface Commands<ReturnType> {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
*/
|
|
258
|
-
indent: () => ReturnType;
|
|
259
|
-
/**
|
|
260
|
-
* Set the outdent attribute
|
|
261
|
-
*/
|
|
262
|
-
outdent: () => ReturnType;
|
|
270
|
+
lineHeight: {
|
|
271
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
272
|
+
unsetLineHeight: () => ReturnType;
|
|
263
273
|
};
|
|
264
274
|
}
|
|
265
275
|
}
|
|
@@ -267,9 +277,9 @@ declare module '@tiptap/core' {
|
|
|
267
277
|
|
|
268
278
|
declare module '@tiptap/core' {
|
|
269
279
|
interface Commands<ReturnType> {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
280
|
+
mermaid: {
|
|
281
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
282
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
273
283
|
};
|
|
274
284
|
}
|
|
275
285
|
}
|
|
@@ -289,26 +299,6 @@ declare module '@tiptap/core' {
|
|
|
289
299
|
}
|
|
290
300
|
|
|
291
301
|
|
|
292
|
-
declare module '@tiptap/core' {
|
|
293
|
-
interface Commands<ReturnType> {
|
|
294
|
-
mermaid: {
|
|
295
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
296
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
declare module '@tiptap/core' {
|
|
303
|
-
interface Commands<ReturnType> {
|
|
304
|
-
tableOfContents: {
|
|
305
|
-
setTableOfContents: () => ReturnType;
|
|
306
|
-
removeTableOfContents: () => ReturnType;
|
|
307
|
-
};
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
312
302
|
declare module '@tiptap/core' {
|
|
313
303
|
interface Commands<ReturnType> {
|
|
314
304
|
search: {
|
|
@@ -332,6 +322,16 @@ declare module '@tiptap/core' {
|
|
|
332
322
|
}
|
|
333
323
|
|
|
334
324
|
|
|
325
|
+
declare module '@tiptap/core' {
|
|
326
|
+
interface Commands<ReturnType> {
|
|
327
|
+
tableOfContents: {
|
|
328
|
+
setTableOfContents: () => ReturnType;
|
|
329
|
+
removeTableOfContents: () => ReturnType;
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
335
|
declare module '@tiptap/core' {
|
|
336
336
|
interface Commands<ReturnType> {
|
|
337
337
|
twitter: {
|
package/lib/FontSize.d.cts
CHANGED
|
@@ -128,8 +128,9 @@ declare module '@tiptap/core' {
|
|
|
128
128
|
|
|
129
129
|
declare module '@tiptap/core' {
|
|
130
130
|
interface Commands<ReturnType> {
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
drawer: {
|
|
132
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
133
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
133
134
|
};
|
|
134
135
|
}
|
|
135
136
|
}
|
|
@@ -137,9 +138,8 @@ declare module '@tiptap/core' {
|
|
|
137
138
|
|
|
138
139
|
declare module '@tiptap/core' {
|
|
139
140
|
interface Commands<ReturnType> {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
141
|
+
excalidraw: {
|
|
142
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -163,15 +163,6 @@ declare module '@tiptap/core' {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
declare module '@tiptap/core' {
|
|
167
|
-
interface Commands<ReturnType> {
|
|
168
|
-
painter: {
|
|
169
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
166
|
declare module '@tiptap/core' {
|
|
176
167
|
interface Commands<ReturnType> {
|
|
177
168
|
fontSize: {
|
|
@@ -190,6 +181,15 @@ declare module '@tiptap/core' {
|
|
|
190
181
|
}
|
|
191
182
|
|
|
192
183
|
|
|
184
|
+
declare module '@tiptap/core' {
|
|
185
|
+
interface Commands<ReturnType> {
|
|
186
|
+
painter: {
|
|
187
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
193
|
declare module '@tiptap/core' {
|
|
194
194
|
interface Commands<ReturnType> {
|
|
195
195
|
iframe: {
|
|
@@ -225,6 +225,22 @@ declare module '@tiptap/core' {
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
|
|
228
|
+
declare module '@tiptap/core' {
|
|
229
|
+
interface Commands<ReturnType> {
|
|
230
|
+
indent: {
|
|
231
|
+
/**
|
|
232
|
+
* Set the indent attribute
|
|
233
|
+
*/
|
|
234
|
+
indent: () => ReturnType;
|
|
235
|
+
/**
|
|
236
|
+
* Set the outdent attribute
|
|
237
|
+
*/
|
|
238
|
+
outdent: () => ReturnType;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
228
244
|
declare module '@tiptap/core' {
|
|
229
245
|
interface Commands<ReturnType> {
|
|
230
246
|
imageGifUpload: {
|
|
@@ -256,15 +272,9 @@ declare module '@tiptap/core' {
|
|
|
256
272
|
|
|
257
273
|
declare module '@tiptap/core' {
|
|
258
274
|
interface Commands<ReturnType> {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
*/
|
|
263
|
-
indent: () => ReturnType;
|
|
264
|
-
/**
|
|
265
|
-
* Set the outdent attribute
|
|
266
|
-
*/
|
|
267
|
-
outdent: () => ReturnType;
|
|
275
|
+
lineHeight: {
|
|
276
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
277
|
+
unsetLineHeight: () => ReturnType;
|
|
268
278
|
};
|
|
269
279
|
}
|
|
270
280
|
}
|
|
@@ -272,9 +282,9 @@ declare module '@tiptap/core' {
|
|
|
272
282
|
|
|
273
283
|
declare module '@tiptap/core' {
|
|
274
284
|
interface Commands<ReturnType> {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
285
|
+
mermaid: {
|
|
286
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
287
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
278
288
|
};
|
|
279
289
|
}
|
|
280
290
|
}
|
|
@@ -294,26 +304,6 @@ declare module '@tiptap/core' {
|
|
|
294
304
|
}
|
|
295
305
|
|
|
296
306
|
|
|
297
|
-
declare module '@tiptap/core' {
|
|
298
|
-
interface Commands<ReturnType> {
|
|
299
|
-
mermaid: {
|
|
300
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
301
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
declare module '@tiptap/core' {
|
|
308
|
-
interface Commands<ReturnType> {
|
|
309
|
-
tableOfContents: {
|
|
310
|
-
setTableOfContents: () => ReturnType;
|
|
311
|
-
removeTableOfContents: () => ReturnType;
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
|
|
317
307
|
declare module '@tiptap/core' {
|
|
318
308
|
interface Commands<ReturnType> {
|
|
319
309
|
search: {
|
|
@@ -337,6 +327,16 @@ declare module '@tiptap/core' {
|
|
|
337
327
|
}
|
|
338
328
|
|
|
339
329
|
|
|
330
|
+
declare module '@tiptap/core' {
|
|
331
|
+
interface Commands<ReturnType> {
|
|
332
|
+
tableOfContents: {
|
|
333
|
+
setTableOfContents: () => ReturnType;
|
|
334
|
+
removeTableOfContents: () => ReturnType;
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
340
|
declare module '@tiptap/core' {
|
|
341
341
|
interface Commands<ReturnType> {
|
|
342
342
|
twitter: {
|
package/lib/FontSize.d.ts
CHANGED
|
@@ -128,8 +128,9 @@ declare module '@tiptap/core' {
|
|
|
128
128
|
|
|
129
129
|
declare module '@tiptap/core' {
|
|
130
130
|
interface Commands<ReturnType> {
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
drawer: {
|
|
132
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
133
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
133
134
|
};
|
|
134
135
|
}
|
|
135
136
|
}
|
|
@@ -137,9 +138,8 @@ declare module '@tiptap/core' {
|
|
|
137
138
|
|
|
138
139
|
declare module '@tiptap/core' {
|
|
139
140
|
interface Commands<ReturnType> {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
141
|
+
excalidraw: {
|
|
142
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -163,15 +163,6 @@ declare module '@tiptap/core' {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
declare module '@tiptap/core' {
|
|
167
|
-
interface Commands<ReturnType> {
|
|
168
|
-
painter: {
|
|
169
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
166
|
declare module '@tiptap/core' {
|
|
176
167
|
interface Commands<ReturnType> {
|
|
177
168
|
fontSize: {
|
|
@@ -190,6 +181,15 @@ declare module '@tiptap/core' {
|
|
|
190
181
|
}
|
|
191
182
|
|
|
192
183
|
|
|
184
|
+
declare module '@tiptap/core' {
|
|
185
|
+
interface Commands<ReturnType> {
|
|
186
|
+
painter: {
|
|
187
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
193
|
declare module '@tiptap/core' {
|
|
194
194
|
interface Commands<ReturnType> {
|
|
195
195
|
iframe: {
|
|
@@ -225,6 +225,22 @@ declare module '@tiptap/core' {
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
|
|
228
|
+
declare module '@tiptap/core' {
|
|
229
|
+
interface Commands<ReturnType> {
|
|
230
|
+
indent: {
|
|
231
|
+
/**
|
|
232
|
+
* Set the indent attribute
|
|
233
|
+
*/
|
|
234
|
+
indent: () => ReturnType;
|
|
235
|
+
/**
|
|
236
|
+
* Set the outdent attribute
|
|
237
|
+
*/
|
|
238
|
+
outdent: () => ReturnType;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
228
244
|
declare module '@tiptap/core' {
|
|
229
245
|
interface Commands<ReturnType> {
|
|
230
246
|
imageGifUpload: {
|
|
@@ -256,15 +272,9 @@ declare module '@tiptap/core' {
|
|
|
256
272
|
|
|
257
273
|
declare module '@tiptap/core' {
|
|
258
274
|
interface Commands<ReturnType> {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
*/
|
|
263
|
-
indent: () => ReturnType;
|
|
264
|
-
/**
|
|
265
|
-
* Set the outdent attribute
|
|
266
|
-
*/
|
|
267
|
-
outdent: () => ReturnType;
|
|
275
|
+
lineHeight: {
|
|
276
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
277
|
+
unsetLineHeight: () => ReturnType;
|
|
268
278
|
};
|
|
269
279
|
}
|
|
270
280
|
}
|
|
@@ -272,9 +282,9 @@ declare module '@tiptap/core' {
|
|
|
272
282
|
|
|
273
283
|
declare module '@tiptap/core' {
|
|
274
284
|
interface Commands<ReturnType> {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
285
|
+
mermaid: {
|
|
286
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
287
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
278
288
|
};
|
|
279
289
|
}
|
|
280
290
|
}
|
|
@@ -294,26 +304,6 @@ declare module '@tiptap/core' {
|
|
|
294
304
|
}
|
|
295
305
|
|
|
296
306
|
|
|
297
|
-
declare module '@tiptap/core' {
|
|
298
|
-
interface Commands<ReturnType> {
|
|
299
|
-
mermaid: {
|
|
300
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
301
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
declare module '@tiptap/core' {
|
|
308
|
-
interface Commands<ReturnType> {
|
|
309
|
-
tableOfContents: {
|
|
310
|
-
setTableOfContents: () => ReturnType;
|
|
311
|
-
removeTableOfContents: () => ReturnType;
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
|
|
317
307
|
declare module '@tiptap/core' {
|
|
318
308
|
interface Commands<ReturnType> {
|
|
319
309
|
search: {
|
|
@@ -337,6 +327,16 @@ declare module '@tiptap/core' {
|
|
|
337
327
|
}
|
|
338
328
|
|
|
339
329
|
|
|
330
|
+
declare module '@tiptap/core' {
|
|
331
|
+
interface Commands<ReturnType> {
|
|
332
|
+
tableOfContents: {
|
|
333
|
+
setTableOfContents: () => ReturnType;
|
|
334
|
+
removeTableOfContents: () => ReturnType;
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
340
|
declare module '@tiptap/core' {
|
|
341
341
|
interface Commands<ReturnType> {
|
|
342
342
|
twitter: {
|