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/LineHeight.d.cts
CHANGED
|
@@ -116,8 +116,9 @@ declare module '@tiptap/core' {
|
|
|
116
116
|
|
|
117
117
|
declare module '@tiptap/core' {
|
|
118
118
|
interface Commands<ReturnType> {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
drawer: {
|
|
120
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
121
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
124
|
}
|
|
@@ -125,9 +126,8 @@ declare module '@tiptap/core' {
|
|
|
125
126
|
|
|
126
127
|
declare module '@tiptap/core' {
|
|
127
128
|
interface Commands<ReturnType> {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
129
|
+
excalidraw: {
|
|
130
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -151,15 +151,6 @@ declare module '@tiptap/core' {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
declare module '@tiptap/core' {
|
|
155
|
-
interface Commands<ReturnType> {
|
|
156
|
-
painter: {
|
|
157
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
154
|
declare module '@tiptap/core' {
|
|
164
155
|
interface Commands<ReturnType> {
|
|
165
156
|
fontSize: {
|
|
@@ -178,6 +169,15 @@ declare module '@tiptap/core' {
|
|
|
178
169
|
}
|
|
179
170
|
|
|
180
171
|
|
|
172
|
+
declare module '@tiptap/core' {
|
|
173
|
+
interface Commands<ReturnType> {
|
|
174
|
+
painter: {
|
|
175
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
|
|
181
181
|
declare module '@tiptap/core' {
|
|
182
182
|
interface Commands<ReturnType> {
|
|
183
183
|
iframe: {
|
|
@@ -213,6 +213,22 @@ declare module '@tiptap/core' {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
|
|
216
|
+
declare module '@tiptap/core' {
|
|
217
|
+
interface Commands<ReturnType> {
|
|
218
|
+
indent: {
|
|
219
|
+
/**
|
|
220
|
+
* Set the indent attribute
|
|
221
|
+
*/
|
|
222
|
+
indent: () => ReturnType;
|
|
223
|
+
/**
|
|
224
|
+
* Set the outdent attribute
|
|
225
|
+
*/
|
|
226
|
+
outdent: () => ReturnType;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
216
232
|
declare module '@tiptap/core' {
|
|
217
233
|
interface Commands<ReturnType> {
|
|
218
234
|
imageGifUpload: {
|
|
@@ -244,15 +260,9 @@ declare module '@tiptap/core' {
|
|
|
244
260
|
|
|
245
261
|
declare module '@tiptap/core' {
|
|
246
262
|
interface Commands<ReturnType> {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
*/
|
|
251
|
-
indent: () => ReturnType;
|
|
252
|
-
/**
|
|
253
|
-
* Set the outdent attribute
|
|
254
|
-
*/
|
|
255
|
-
outdent: () => ReturnType;
|
|
263
|
+
lineHeight: {
|
|
264
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
265
|
+
unsetLineHeight: () => ReturnType;
|
|
256
266
|
};
|
|
257
267
|
}
|
|
258
268
|
}
|
|
@@ -260,9 +270,9 @@ declare module '@tiptap/core' {
|
|
|
260
270
|
|
|
261
271
|
declare module '@tiptap/core' {
|
|
262
272
|
interface Commands<ReturnType> {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
mermaid: {
|
|
274
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
275
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
266
276
|
};
|
|
267
277
|
}
|
|
268
278
|
}
|
|
@@ -282,26 +292,6 @@ declare module '@tiptap/core' {
|
|
|
282
292
|
}
|
|
283
293
|
|
|
284
294
|
|
|
285
|
-
declare module '@tiptap/core' {
|
|
286
|
-
interface Commands<ReturnType> {
|
|
287
|
-
mermaid: {
|
|
288
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
289
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
declare module '@tiptap/core' {
|
|
296
|
-
interface Commands<ReturnType> {
|
|
297
|
-
tableOfContents: {
|
|
298
|
-
setTableOfContents: () => ReturnType;
|
|
299
|
-
removeTableOfContents: () => ReturnType;
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
295
|
declare module '@tiptap/core' {
|
|
306
296
|
interface Commands<ReturnType> {
|
|
307
297
|
search: {
|
|
@@ -325,6 +315,16 @@ declare module '@tiptap/core' {
|
|
|
325
315
|
}
|
|
326
316
|
|
|
327
317
|
|
|
318
|
+
declare module '@tiptap/core' {
|
|
319
|
+
interface Commands<ReturnType> {
|
|
320
|
+
tableOfContents: {
|
|
321
|
+
setTableOfContents: () => ReturnType;
|
|
322
|
+
removeTableOfContents: () => ReturnType;
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
|
|
328
328
|
declare module '@tiptap/core' {
|
|
329
329
|
interface Commands<ReturnType> {
|
|
330
330
|
twitter: {
|
package/lib/LineHeight.d.ts
CHANGED
|
@@ -116,8 +116,9 @@ declare module '@tiptap/core' {
|
|
|
116
116
|
|
|
117
117
|
declare module '@tiptap/core' {
|
|
118
118
|
interface Commands<ReturnType> {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
drawer: {
|
|
120
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
121
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
124
|
}
|
|
@@ -125,9 +126,8 @@ declare module '@tiptap/core' {
|
|
|
125
126
|
|
|
126
127
|
declare module '@tiptap/core' {
|
|
127
128
|
interface Commands<ReturnType> {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
129
|
+
excalidraw: {
|
|
130
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -151,15 +151,6 @@ declare module '@tiptap/core' {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
declare module '@tiptap/core' {
|
|
155
|
-
interface Commands<ReturnType> {
|
|
156
|
-
painter: {
|
|
157
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
154
|
declare module '@tiptap/core' {
|
|
164
155
|
interface Commands<ReturnType> {
|
|
165
156
|
fontSize: {
|
|
@@ -178,6 +169,15 @@ declare module '@tiptap/core' {
|
|
|
178
169
|
}
|
|
179
170
|
|
|
180
171
|
|
|
172
|
+
declare module '@tiptap/core' {
|
|
173
|
+
interface Commands<ReturnType> {
|
|
174
|
+
painter: {
|
|
175
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
|
|
181
181
|
declare module '@tiptap/core' {
|
|
182
182
|
interface Commands<ReturnType> {
|
|
183
183
|
iframe: {
|
|
@@ -213,6 +213,22 @@ declare module '@tiptap/core' {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
|
|
216
|
+
declare module '@tiptap/core' {
|
|
217
|
+
interface Commands<ReturnType> {
|
|
218
|
+
indent: {
|
|
219
|
+
/**
|
|
220
|
+
* Set the indent attribute
|
|
221
|
+
*/
|
|
222
|
+
indent: () => ReturnType;
|
|
223
|
+
/**
|
|
224
|
+
* Set the outdent attribute
|
|
225
|
+
*/
|
|
226
|
+
outdent: () => ReturnType;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
216
232
|
declare module '@tiptap/core' {
|
|
217
233
|
interface Commands<ReturnType> {
|
|
218
234
|
imageGifUpload: {
|
|
@@ -244,15 +260,9 @@ declare module '@tiptap/core' {
|
|
|
244
260
|
|
|
245
261
|
declare module '@tiptap/core' {
|
|
246
262
|
interface Commands<ReturnType> {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
*/
|
|
251
|
-
indent: () => ReturnType;
|
|
252
|
-
/**
|
|
253
|
-
* Set the outdent attribute
|
|
254
|
-
*/
|
|
255
|
-
outdent: () => ReturnType;
|
|
263
|
+
lineHeight: {
|
|
264
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
265
|
+
unsetLineHeight: () => ReturnType;
|
|
256
266
|
};
|
|
257
267
|
}
|
|
258
268
|
}
|
|
@@ -260,9 +270,9 @@ declare module '@tiptap/core' {
|
|
|
260
270
|
|
|
261
271
|
declare module '@tiptap/core' {
|
|
262
272
|
interface Commands<ReturnType> {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
mermaid: {
|
|
274
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
275
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
266
276
|
};
|
|
267
277
|
}
|
|
268
278
|
}
|
|
@@ -282,26 +292,6 @@ declare module '@tiptap/core' {
|
|
|
282
292
|
}
|
|
283
293
|
|
|
284
294
|
|
|
285
|
-
declare module '@tiptap/core' {
|
|
286
|
-
interface Commands<ReturnType> {
|
|
287
|
-
mermaid: {
|
|
288
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
289
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
declare module '@tiptap/core' {
|
|
296
|
-
interface Commands<ReturnType> {
|
|
297
|
-
tableOfContents: {
|
|
298
|
-
setTableOfContents: () => ReturnType;
|
|
299
|
-
removeTableOfContents: () => ReturnType;
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
295
|
declare module '@tiptap/core' {
|
|
306
296
|
interface Commands<ReturnType> {
|
|
307
297
|
search: {
|
|
@@ -325,6 +315,16 @@ declare module '@tiptap/core' {
|
|
|
325
315
|
}
|
|
326
316
|
|
|
327
317
|
|
|
318
|
+
declare module '@tiptap/core' {
|
|
319
|
+
interface Commands<ReturnType> {
|
|
320
|
+
tableOfContents: {
|
|
321
|
+
setTableOfContents: () => ReturnType;
|
|
322
|
+
removeTableOfContents: () => ReturnType;
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
|
|
328
328
|
declare module '@tiptap/core' {
|
|
329
329
|
interface Commands<ReturnType> {
|
|
330
330
|
twitter: {
|
package/lib/Link.d.cts
CHANGED
|
@@ -114,8 +114,9 @@ declare module '@tiptap/core' {
|
|
|
114
114
|
|
|
115
115
|
declare module '@tiptap/core' {
|
|
116
116
|
interface Commands<ReturnType> {
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
drawer: {
|
|
118
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
119
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
119
120
|
};
|
|
120
121
|
}
|
|
121
122
|
}
|
|
@@ -123,9 +124,8 @@ declare module '@tiptap/core' {
|
|
|
123
124
|
|
|
124
125
|
declare module '@tiptap/core' {
|
|
125
126
|
interface Commands<ReturnType> {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
|
+
excalidraw: {
|
|
128
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
declare module '@tiptap/core' {
|
|
153
|
-
interface Commands<ReturnType> {
|
|
154
|
-
painter: {
|
|
155
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
152
|
declare module '@tiptap/core' {
|
|
162
153
|
interface Commands<ReturnType> {
|
|
163
154
|
fontSize: {
|
|
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
|
|
|
176
167
|
}
|
|
177
168
|
|
|
178
169
|
|
|
170
|
+
declare module '@tiptap/core' {
|
|
171
|
+
interface Commands<ReturnType> {
|
|
172
|
+
painter: {
|
|
173
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
179
|
declare module '@tiptap/core' {
|
|
180
180
|
interface Commands<ReturnType> {
|
|
181
181
|
iframe: {
|
|
@@ -211,6 +211,22 @@ declare module '@tiptap/core' {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
|
|
214
|
+
declare module '@tiptap/core' {
|
|
215
|
+
interface Commands<ReturnType> {
|
|
216
|
+
indent: {
|
|
217
|
+
/**
|
|
218
|
+
* Set the indent attribute
|
|
219
|
+
*/
|
|
220
|
+
indent: () => ReturnType;
|
|
221
|
+
/**
|
|
222
|
+
* Set the outdent attribute
|
|
223
|
+
*/
|
|
224
|
+
outdent: () => ReturnType;
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
|
|
214
230
|
declare module '@tiptap/core' {
|
|
215
231
|
interface Commands<ReturnType> {
|
|
216
232
|
imageGifUpload: {
|
|
@@ -242,15 +258,9 @@ declare module '@tiptap/core' {
|
|
|
242
258
|
|
|
243
259
|
declare module '@tiptap/core' {
|
|
244
260
|
interface Commands<ReturnType> {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
*/
|
|
249
|
-
indent: () => ReturnType;
|
|
250
|
-
/**
|
|
251
|
-
* Set the outdent attribute
|
|
252
|
-
*/
|
|
253
|
-
outdent: () => ReturnType;
|
|
261
|
+
lineHeight: {
|
|
262
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
263
|
+
unsetLineHeight: () => ReturnType;
|
|
254
264
|
};
|
|
255
265
|
}
|
|
256
266
|
}
|
|
@@ -258,9 +268,9 @@ declare module '@tiptap/core' {
|
|
|
258
268
|
|
|
259
269
|
declare module '@tiptap/core' {
|
|
260
270
|
interface Commands<ReturnType> {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
271
|
+
mermaid: {
|
|
272
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
273
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
264
274
|
};
|
|
265
275
|
}
|
|
266
276
|
}
|
|
@@ -280,26 +290,6 @@ declare module '@tiptap/core' {
|
|
|
280
290
|
}
|
|
281
291
|
|
|
282
292
|
|
|
283
|
-
declare module '@tiptap/core' {
|
|
284
|
-
interface Commands<ReturnType> {
|
|
285
|
-
mermaid: {
|
|
286
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
287
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
288
|
-
};
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
declare module '@tiptap/core' {
|
|
294
|
-
interface Commands<ReturnType> {
|
|
295
|
-
tableOfContents: {
|
|
296
|
-
setTableOfContents: () => ReturnType;
|
|
297
|
-
removeTableOfContents: () => ReturnType;
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
293
|
declare module '@tiptap/core' {
|
|
304
294
|
interface Commands<ReturnType> {
|
|
305
295
|
search: {
|
|
@@ -323,6 +313,16 @@ declare module '@tiptap/core' {
|
|
|
323
313
|
}
|
|
324
314
|
|
|
325
315
|
|
|
316
|
+
declare module '@tiptap/core' {
|
|
317
|
+
interface Commands<ReturnType> {
|
|
318
|
+
tableOfContents: {
|
|
319
|
+
setTableOfContents: () => ReturnType;
|
|
320
|
+
removeTableOfContents: () => ReturnType;
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
326
|
declare module '@tiptap/core' {
|
|
327
327
|
interface Commands<ReturnType> {
|
|
328
328
|
twitter: {
|
package/lib/Link.d.ts
CHANGED
|
@@ -114,8 +114,9 @@ declare module '@tiptap/core' {
|
|
|
114
114
|
|
|
115
115
|
declare module '@tiptap/core' {
|
|
116
116
|
interface Commands<ReturnType> {
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
drawer: {
|
|
118
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
119
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
119
120
|
};
|
|
120
121
|
}
|
|
121
122
|
}
|
|
@@ -123,9 +124,8 @@ declare module '@tiptap/core' {
|
|
|
123
124
|
|
|
124
125
|
declare module '@tiptap/core' {
|
|
125
126
|
interface Commands<ReturnType> {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
|
+
excalidraw: {
|
|
128
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
declare module '@tiptap/core' {
|
|
153
|
-
interface Commands<ReturnType> {
|
|
154
|
-
painter: {
|
|
155
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
152
|
declare module '@tiptap/core' {
|
|
162
153
|
interface Commands<ReturnType> {
|
|
163
154
|
fontSize: {
|
|
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
|
|
|
176
167
|
}
|
|
177
168
|
|
|
178
169
|
|
|
170
|
+
declare module '@tiptap/core' {
|
|
171
|
+
interface Commands<ReturnType> {
|
|
172
|
+
painter: {
|
|
173
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
179
|
declare module '@tiptap/core' {
|
|
180
180
|
interface Commands<ReturnType> {
|
|
181
181
|
iframe: {
|
|
@@ -211,6 +211,22 @@ declare module '@tiptap/core' {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
|
|
214
|
+
declare module '@tiptap/core' {
|
|
215
|
+
interface Commands<ReturnType> {
|
|
216
|
+
indent: {
|
|
217
|
+
/**
|
|
218
|
+
* Set the indent attribute
|
|
219
|
+
*/
|
|
220
|
+
indent: () => ReturnType;
|
|
221
|
+
/**
|
|
222
|
+
* Set the outdent attribute
|
|
223
|
+
*/
|
|
224
|
+
outdent: () => ReturnType;
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
|
|
214
230
|
declare module '@tiptap/core' {
|
|
215
231
|
interface Commands<ReturnType> {
|
|
216
232
|
imageGifUpload: {
|
|
@@ -242,15 +258,9 @@ declare module '@tiptap/core' {
|
|
|
242
258
|
|
|
243
259
|
declare module '@tiptap/core' {
|
|
244
260
|
interface Commands<ReturnType> {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
*/
|
|
249
|
-
indent: () => ReturnType;
|
|
250
|
-
/**
|
|
251
|
-
* Set the outdent attribute
|
|
252
|
-
*/
|
|
253
|
-
outdent: () => ReturnType;
|
|
261
|
+
lineHeight: {
|
|
262
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
263
|
+
unsetLineHeight: () => ReturnType;
|
|
254
264
|
};
|
|
255
265
|
}
|
|
256
266
|
}
|
|
@@ -258,9 +268,9 @@ declare module '@tiptap/core' {
|
|
|
258
268
|
|
|
259
269
|
declare module '@tiptap/core' {
|
|
260
270
|
interface Commands<ReturnType> {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
271
|
+
mermaid: {
|
|
272
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
273
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
264
274
|
};
|
|
265
275
|
}
|
|
266
276
|
}
|
|
@@ -280,26 +290,6 @@ declare module '@tiptap/core' {
|
|
|
280
290
|
}
|
|
281
291
|
|
|
282
292
|
|
|
283
|
-
declare module '@tiptap/core' {
|
|
284
|
-
interface Commands<ReturnType> {
|
|
285
|
-
mermaid: {
|
|
286
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
287
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
288
|
-
};
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
declare module '@tiptap/core' {
|
|
294
|
-
interface Commands<ReturnType> {
|
|
295
|
-
tableOfContents: {
|
|
296
|
-
setTableOfContents: () => ReturnType;
|
|
297
|
-
removeTableOfContents: () => ReturnType;
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
293
|
declare module '@tiptap/core' {
|
|
304
294
|
interface Commands<ReturnType> {
|
|
305
295
|
search: {
|
|
@@ -323,6 +313,16 @@ declare module '@tiptap/core' {
|
|
|
323
313
|
}
|
|
324
314
|
|
|
325
315
|
|
|
316
|
+
declare module '@tiptap/core' {
|
|
317
|
+
interface Commands<ReturnType> {
|
|
318
|
+
tableOfContents: {
|
|
319
|
+
setTableOfContents: () => ReturnType;
|
|
320
|
+
removeTableOfContents: () => ReturnType;
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
326
|
declare module '@tiptap/core' {
|
|
327
327
|
interface Commands<ReturnType> {
|
|
328
328
|
twitter: {
|