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