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