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/TableOfContent.d.cts
CHANGED
|
@@ -41,8 +41,9 @@ declare module '@tiptap/core' {
|
|
|
41
41
|
|
|
42
42
|
declare module '@tiptap/core' {
|
|
43
43
|
interface Commands<ReturnType> {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
drawer: {
|
|
45
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
46
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -50,9 +51,8 @@ declare module '@tiptap/core' {
|
|
|
50
51
|
|
|
51
52
|
declare module '@tiptap/core' {
|
|
52
53
|
interface Commands<ReturnType> {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
54
|
+
excalidraw: {
|
|
55
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -76,15 +76,6 @@ declare module '@tiptap/core' {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
declare module '@tiptap/core' {
|
|
80
|
-
interface Commands<ReturnType> {
|
|
81
|
-
painter: {
|
|
82
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
79
|
declare module '@tiptap/core' {
|
|
89
80
|
interface Commands<ReturnType> {
|
|
90
81
|
fontSize: {
|
|
@@ -103,6 +94,15 @@ declare module '@tiptap/core' {
|
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
|
|
97
|
+
declare module '@tiptap/core' {
|
|
98
|
+
interface Commands<ReturnType> {
|
|
99
|
+
painter: {
|
|
100
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
106
|
declare module '@tiptap/core' {
|
|
107
107
|
interface Commands<ReturnType> {
|
|
108
108
|
iframe: {
|
|
@@ -138,6 +138,22 @@ declare module '@tiptap/core' {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
|
|
141
|
+
declare module '@tiptap/core' {
|
|
142
|
+
interface Commands<ReturnType> {
|
|
143
|
+
indent: {
|
|
144
|
+
/**
|
|
145
|
+
* Set the indent attribute
|
|
146
|
+
*/
|
|
147
|
+
indent: () => ReturnType;
|
|
148
|
+
/**
|
|
149
|
+
* Set the outdent attribute
|
|
150
|
+
*/
|
|
151
|
+
outdent: () => ReturnType;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
141
157
|
declare module '@tiptap/core' {
|
|
142
158
|
interface Commands<ReturnType> {
|
|
143
159
|
imageGifUpload: {
|
|
@@ -169,15 +185,9 @@ declare module '@tiptap/core' {
|
|
|
169
185
|
|
|
170
186
|
declare module '@tiptap/core' {
|
|
171
187
|
interface Commands<ReturnType> {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
*/
|
|
176
|
-
indent: () => ReturnType;
|
|
177
|
-
/**
|
|
178
|
-
* Set the outdent attribute
|
|
179
|
-
*/
|
|
180
|
-
outdent: () => ReturnType;
|
|
188
|
+
lineHeight: {
|
|
189
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
190
|
+
unsetLineHeight: () => ReturnType;
|
|
181
191
|
};
|
|
182
192
|
}
|
|
183
193
|
}
|
|
@@ -185,9 +195,9 @@ declare module '@tiptap/core' {
|
|
|
185
195
|
|
|
186
196
|
declare module '@tiptap/core' {
|
|
187
197
|
interface Commands<ReturnType> {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
198
|
+
mermaid: {
|
|
199
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
200
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
191
201
|
};
|
|
192
202
|
}
|
|
193
203
|
}
|
|
@@ -207,26 +217,6 @@ declare module '@tiptap/core' {
|
|
|
207
217
|
}
|
|
208
218
|
|
|
209
219
|
|
|
210
|
-
declare module '@tiptap/core' {
|
|
211
|
-
interface Commands<ReturnType> {
|
|
212
|
-
mermaid: {
|
|
213
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
214
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
declare module '@tiptap/core' {
|
|
221
|
-
interface Commands<ReturnType> {
|
|
222
|
-
tableOfContents: {
|
|
223
|
-
setTableOfContents: () => ReturnType;
|
|
224
|
-
removeTableOfContents: () => ReturnType;
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
220
|
declare module '@tiptap/core' {
|
|
231
221
|
interface Commands<ReturnType> {
|
|
232
222
|
search: {
|
|
@@ -250,6 +240,16 @@ declare module '@tiptap/core' {
|
|
|
250
240
|
}
|
|
251
241
|
|
|
252
242
|
|
|
243
|
+
declare module '@tiptap/core' {
|
|
244
|
+
interface Commands<ReturnType> {
|
|
245
|
+
tableOfContents: {
|
|
246
|
+
setTableOfContents: () => ReturnType;
|
|
247
|
+
removeTableOfContents: () => ReturnType;
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
253
|
declare module '@tiptap/core' {
|
|
254
254
|
interface Commands<ReturnType> {
|
|
255
255
|
twitter: {
|
package/lib/TableOfContent.d.ts
CHANGED
|
@@ -41,8 +41,9 @@ declare module '@tiptap/core' {
|
|
|
41
41
|
|
|
42
42
|
declare module '@tiptap/core' {
|
|
43
43
|
interface Commands<ReturnType> {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
drawer: {
|
|
45
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
46
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -50,9 +51,8 @@ declare module '@tiptap/core' {
|
|
|
50
51
|
|
|
51
52
|
declare module '@tiptap/core' {
|
|
52
53
|
interface Commands<ReturnType> {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
54
|
+
excalidraw: {
|
|
55
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -76,15 +76,6 @@ declare module '@tiptap/core' {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
declare module '@tiptap/core' {
|
|
80
|
-
interface Commands<ReturnType> {
|
|
81
|
-
painter: {
|
|
82
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
79
|
declare module '@tiptap/core' {
|
|
89
80
|
interface Commands<ReturnType> {
|
|
90
81
|
fontSize: {
|
|
@@ -103,6 +94,15 @@ declare module '@tiptap/core' {
|
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
|
|
97
|
+
declare module '@tiptap/core' {
|
|
98
|
+
interface Commands<ReturnType> {
|
|
99
|
+
painter: {
|
|
100
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
106
|
declare module '@tiptap/core' {
|
|
107
107
|
interface Commands<ReturnType> {
|
|
108
108
|
iframe: {
|
|
@@ -138,6 +138,22 @@ declare module '@tiptap/core' {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
|
|
141
|
+
declare module '@tiptap/core' {
|
|
142
|
+
interface Commands<ReturnType> {
|
|
143
|
+
indent: {
|
|
144
|
+
/**
|
|
145
|
+
* Set the indent attribute
|
|
146
|
+
*/
|
|
147
|
+
indent: () => ReturnType;
|
|
148
|
+
/**
|
|
149
|
+
* Set the outdent attribute
|
|
150
|
+
*/
|
|
151
|
+
outdent: () => ReturnType;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
141
157
|
declare module '@tiptap/core' {
|
|
142
158
|
interface Commands<ReturnType> {
|
|
143
159
|
imageGifUpload: {
|
|
@@ -169,15 +185,9 @@ declare module '@tiptap/core' {
|
|
|
169
185
|
|
|
170
186
|
declare module '@tiptap/core' {
|
|
171
187
|
interface Commands<ReturnType> {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
*/
|
|
176
|
-
indent: () => ReturnType;
|
|
177
|
-
/**
|
|
178
|
-
* Set the outdent attribute
|
|
179
|
-
*/
|
|
180
|
-
outdent: () => ReturnType;
|
|
188
|
+
lineHeight: {
|
|
189
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
190
|
+
unsetLineHeight: () => ReturnType;
|
|
181
191
|
};
|
|
182
192
|
}
|
|
183
193
|
}
|
|
@@ -185,9 +195,9 @@ declare module '@tiptap/core' {
|
|
|
185
195
|
|
|
186
196
|
declare module '@tiptap/core' {
|
|
187
197
|
interface Commands<ReturnType> {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
198
|
+
mermaid: {
|
|
199
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
200
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
191
201
|
};
|
|
192
202
|
}
|
|
193
203
|
}
|
|
@@ -207,26 +217,6 @@ declare module '@tiptap/core' {
|
|
|
207
217
|
}
|
|
208
218
|
|
|
209
219
|
|
|
210
|
-
declare module '@tiptap/core' {
|
|
211
|
-
interface Commands<ReturnType> {
|
|
212
|
-
mermaid: {
|
|
213
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
214
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
declare module '@tiptap/core' {
|
|
221
|
-
interface Commands<ReturnType> {
|
|
222
|
-
tableOfContents: {
|
|
223
|
-
setTableOfContents: () => ReturnType;
|
|
224
|
-
removeTableOfContents: () => ReturnType;
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
220
|
declare module '@tiptap/core' {
|
|
231
221
|
interface Commands<ReturnType> {
|
|
232
222
|
search: {
|
|
@@ -250,6 +240,16 @@ declare module '@tiptap/core' {
|
|
|
250
240
|
}
|
|
251
241
|
|
|
252
242
|
|
|
243
|
+
declare module '@tiptap/core' {
|
|
244
|
+
interface Commands<ReturnType> {
|
|
245
|
+
tableOfContents: {
|
|
246
|
+
setTableOfContents: () => ReturnType;
|
|
247
|
+
removeTableOfContents: () => ReturnType;
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
253
|
declare module '@tiptap/core' {
|
|
254
254
|
interface Commands<ReturnType> {
|
|
255
255
|
twitter: {
|
package/lib/TaskList.d.cts
CHANGED
|
@@ -118,8 +118,9 @@ declare module '@tiptap/core' {
|
|
|
118
118
|
|
|
119
119
|
declare module '@tiptap/core' {
|
|
120
120
|
interface Commands<ReturnType> {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
drawer: {
|
|
122
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
123
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
123
124
|
};
|
|
124
125
|
}
|
|
125
126
|
}
|
|
@@ -127,9 +128,8 @@ declare module '@tiptap/core' {
|
|
|
127
128
|
|
|
128
129
|
declare module '@tiptap/core' {
|
|
129
130
|
interface Commands<ReturnType> {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
131
|
+
excalidraw: {
|
|
132
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -153,15 +153,6 @@ declare module '@tiptap/core' {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
declare module '@tiptap/core' {
|
|
157
|
-
interface Commands<ReturnType> {
|
|
158
|
-
painter: {
|
|
159
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
156
|
declare module '@tiptap/core' {
|
|
166
157
|
interface Commands<ReturnType> {
|
|
167
158
|
fontSize: {
|
|
@@ -180,6 +171,15 @@ declare module '@tiptap/core' {
|
|
|
180
171
|
}
|
|
181
172
|
|
|
182
173
|
|
|
174
|
+
declare module '@tiptap/core' {
|
|
175
|
+
interface Commands<ReturnType> {
|
|
176
|
+
painter: {
|
|
177
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
183
|
declare module '@tiptap/core' {
|
|
184
184
|
interface Commands<ReturnType> {
|
|
185
185
|
iframe: {
|
|
@@ -215,6 +215,22 @@ declare module '@tiptap/core' {
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
declare module '@tiptap/core' {
|
|
219
|
+
interface Commands<ReturnType> {
|
|
220
|
+
indent: {
|
|
221
|
+
/**
|
|
222
|
+
* Set the indent attribute
|
|
223
|
+
*/
|
|
224
|
+
indent: () => ReturnType;
|
|
225
|
+
/**
|
|
226
|
+
* Set the outdent attribute
|
|
227
|
+
*/
|
|
228
|
+
outdent: () => ReturnType;
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
218
234
|
declare module '@tiptap/core' {
|
|
219
235
|
interface Commands<ReturnType> {
|
|
220
236
|
imageGifUpload: {
|
|
@@ -246,15 +262,9 @@ declare module '@tiptap/core' {
|
|
|
246
262
|
|
|
247
263
|
declare module '@tiptap/core' {
|
|
248
264
|
interface Commands<ReturnType> {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
*/
|
|
253
|
-
indent: () => ReturnType;
|
|
254
|
-
/**
|
|
255
|
-
* Set the outdent attribute
|
|
256
|
-
*/
|
|
257
|
-
outdent: () => ReturnType;
|
|
265
|
+
lineHeight: {
|
|
266
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
267
|
+
unsetLineHeight: () => ReturnType;
|
|
258
268
|
};
|
|
259
269
|
}
|
|
260
270
|
}
|
|
@@ -262,9 +272,9 @@ declare module '@tiptap/core' {
|
|
|
262
272
|
|
|
263
273
|
declare module '@tiptap/core' {
|
|
264
274
|
interface Commands<ReturnType> {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
275
|
+
mermaid: {
|
|
276
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
277
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
268
278
|
};
|
|
269
279
|
}
|
|
270
280
|
}
|
|
@@ -284,26 +294,6 @@ declare module '@tiptap/core' {
|
|
|
284
294
|
}
|
|
285
295
|
|
|
286
296
|
|
|
287
|
-
declare module '@tiptap/core' {
|
|
288
|
-
interface Commands<ReturnType> {
|
|
289
|
-
mermaid: {
|
|
290
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
291
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
declare module '@tiptap/core' {
|
|
298
|
-
interface Commands<ReturnType> {
|
|
299
|
-
tableOfContents: {
|
|
300
|
-
setTableOfContents: () => ReturnType;
|
|
301
|
-
removeTableOfContents: () => ReturnType;
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
297
|
declare module '@tiptap/core' {
|
|
308
298
|
interface Commands<ReturnType> {
|
|
309
299
|
search: {
|
|
@@ -327,6 +317,16 @@ declare module '@tiptap/core' {
|
|
|
327
317
|
}
|
|
328
318
|
|
|
329
319
|
|
|
320
|
+
declare module '@tiptap/core' {
|
|
321
|
+
interface Commands<ReturnType> {
|
|
322
|
+
tableOfContents: {
|
|
323
|
+
setTableOfContents: () => ReturnType;
|
|
324
|
+
removeTableOfContents: () => ReturnType;
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
|
|
330
330
|
declare module '@tiptap/core' {
|
|
331
331
|
interface Commands<ReturnType> {
|
|
332
332
|
twitter: {
|
package/lib/TaskList.d.ts
CHANGED
|
@@ -118,8 +118,9 @@ declare module '@tiptap/core' {
|
|
|
118
118
|
|
|
119
119
|
declare module '@tiptap/core' {
|
|
120
120
|
interface Commands<ReturnType> {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
drawer: {
|
|
122
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
123
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
123
124
|
};
|
|
124
125
|
}
|
|
125
126
|
}
|
|
@@ -127,9 +128,8 @@ declare module '@tiptap/core' {
|
|
|
127
128
|
|
|
128
129
|
declare module '@tiptap/core' {
|
|
129
130
|
interface Commands<ReturnType> {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
131
|
+
excalidraw: {
|
|
132
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -153,15 +153,6 @@ declare module '@tiptap/core' {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
declare module '@tiptap/core' {
|
|
157
|
-
interface Commands<ReturnType> {
|
|
158
|
-
painter: {
|
|
159
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
156
|
declare module '@tiptap/core' {
|
|
166
157
|
interface Commands<ReturnType> {
|
|
167
158
|
fontSize: {
|
|
@@ -180,6 +171,15 @@ declare module '@tiptap/core' {
|
|
|
180
171
|
}
|
|
181
172
|
|
|
182
173
|
|
|
174
|
+
declare module '@tiptap/core' {
|
|
175
|
+
interface Commands<ReturnType> {
|
|
176
|
+
painter: {
|
|
177
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
183
|
declare module '@tiptap/core' {
|
|
184
184
|
interface Commands<ReturnType> {
|
|
185
185
|
iframe: {
|
|
@@ -215,6 +215,22 @@ declare module '@tiptap/core' {
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
declare module '@tiptap/core' {
|
|
219
|
+
interface Commands<ReturnType> {
|
|
220
|
+
indent: {
|
|
221
|
+
/**
|
|
222
|
+
* Set the indent attribute
|
|
223
|
+
*/
|
|
224
|
+
indent: () => ReturnType;
|
|
225
|
+
/**
|
|
226
|
+
* Set the outdent attribute
|
|
227
|
+
*/
|
|
228
|
+
outdent: () => ReturnType;
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
218
234
|
declare module '@tiptap/core' {
|
|
219
235
|
interface Commands<ReturnType> {
|
|
220
236
|
imageGifUpload: {
|
|
@@ -246,15 +262,9 @@ declare module '@tiptap/core' {
|
|
|
246
262
|
|
|
247
263
|
declare module '@tiptap/core' {
|
|
248
264
|
interface Commands<ReturnType> {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
*/
|
|
253
|
-
indent: () => ReturnType;
|
|
254
|
-
/**
|
|
255
|
-
* Set the outdent attribute
|
|
256
|
-
*/
|
|
257
|
-
outdent: () => ReturnType;
|
|
265
|
+
lineHeight: {
|
|
266
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
267
|
+
unsetLineHeight: () => ReturnType;
|
|
258
268
|
};
|
|
259
269
|
}
|
|
260
270
|
}
|
|
@@ -262,9 +272,9 @@ declare module '@tiptap/core' {
|
|
|
262
272
|
|
|
263
273
|
declare module '@tiptap/core' {
|
|
264
274
|
interface Commands<ReturnType> {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
275
|
+
mermaid: {
|
|
276
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
277
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
268
278
|
};
|
|
269
279
|
}
|
|
270
280
|
}
|
|
@@ -284,26 +294,6 @@ declare module '@tiptap/core' {
|
|
|
284
294
|
}
|
|
285
295
|
|
|
286
296
|
|
|
287
|
-
declare module '@tiptap/core' {
|
|
288
|
-
interface Commands<ReturnType> {
|
|
289
|
-
mermaid: {
|
|
290
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
291
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
declare module '@tiptap/core' {
|
|
298
|
-
interface Commands<ReturnType> {
|
|
299
|
-
tableOfContents: {
|
|
300
|
-
setTableOfContents: () => ReturnType;
|
|
301
|
-
removeTableOfContents: () => ReturnType;
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
297
|
declare module '@tiptap/core' {
|
|
308
298
|
interface Commands<ReturnType> {
|
|
309
299
|
search: {
|
|
@@ -327,6 +317,16 @@ declare module '@tiptap/core' {
|
|
|
327
317
|
}
|
|
328
318
|
|
|
329
319
|
|
|
320
|
+
declare module '@tiptap/core' {
|
|
321
|
+
interface Commands<ReturnType> {
|
|
322
|
+
tableOfContents: {
|
|
323
|
+
setTableOfContents: () => ReturnType;
|
|
324
|
+
removeTableOfContents: () => ReturnType;
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
|
|
330
330
|
declare module '@tiptap/core' {
|
|
331
331
|
interface Commands<ReturnType> {
|
|
332
332
|
twitter: {
|