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/Emoji.d.cts
CHANGED
|
@@ -46,8 +46,9 @@ declare module '@tiptap/core' {
|
|
|
46
46
|
|
|
47
47
|
declare module '@tiptap/core' {
|
|
48
48
|
interface Commands<ReturnType> {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
drawer: {
|
|
50
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
51
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
}
|
|
@@ -55,9 +56,8 @@ declare module '@tiptap/core' {
|
|
|
55
56
|
|
|
56
57
|
declare module '@tiptap/core' {
|
|
57
58
|
interface Commands<ReturnType> {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
59
|
+
excalidraw: {
|
|
60
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -81,15 +81,6 @@ declare module '@tiptap/core' {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
declare module '@tiptap/core' {
|
|
85
|
-
interface Commands<ReturnType> {
|
|
86
|
-
painter: {
|
|
87
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
84
|
declare module '@tiptap/core' {
|
|
94
85
|
interface Commands<ReturnType> {
|
|
95
86
|
fontSize: {
|
|
@@ -108,6 +99,15 @@ declare module '@tiptap/core' {
|
|
|
108
99
|
}
|
|
109
100
|
|
|
110
101
|
|
|
102
|
+
declare module '@tiptap/core' {
|
|
103
|
+
interface Commands<ReturnType> {
|
|
104
|
+
painter: {
|
|
105
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
111
|
declare module '@tiptap/core' {
|
|
112
112
|
interface Commands<ReturnType> {
|
|
113
113
|
iframe: {
|
|
@@ -143,6 +143,22 @@ declare module '@tiptap/core' {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
|
|
146
|
+
declare module '@tiptap/core' {
|
|
147
|
+
interface Commands<ReturnType> {
|
|
148
|
+
indent: {
|
|
149
|
+
/**
|
|
150
|
+
* Set the indent attribute
|
|
151
|
+
*/
|
|
152
|
+
indent: () => ReturnType;
|
|
153
|
+
/**
|
|
154
|
+
* Set the outdent attribute
|
|
155
|
+
*/
|
|
156
|
+
outdent: () => ReturnType;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
146
162
|
declare module '@tiptap/core' {
|
|
147
163
|
interface Commands<ReturnType> {
|
|
148
164
|
imageGifUpload: {
|
|
@@ -174,15 +190,9 @@ declare module '@tiptap/core' {
|
|
|
174
190
|
|
|
175
191
|
declare module '@tiptap/core' {
|
|
176
192
|
interface Commands<ReturnType> {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
*/
|
|
181
|
-
indent: () => ReturnType;
|
|
182
|
-
/**
|
|
183
|
-
* Set the outdent attribute
|
|
184
|
-
*/
|
|
185
|
-
outdent: () => ReturnType;
|
|
193
|
+
lineHeight: {
|
|
194
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
195
|
+
unsetLineHeight: () => ReturnType;
|
|
186
196
|
};
|
|
187
197
|
}
|
|
188
198
|
}
|
|
@@ -190,9 +200,9 @@ declare module '@tiptap/core' {
|
|
|
190
200
|
|
|
191
201
|
declare module '@tiptap/core' {
|
|
192
202
|
interface Commands<ReturnType> {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
203
|
+
mermaid: {
|
|
204
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
205
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
196
206
|
};
|
|
197
207
|
}
|
|
198
208
|
}
|
|
@@ -212,26 +222,6 @@ declare module '@tiptap/core' {
|
|
|
212
222
|
}
|
|
213
223
|
|
|
214
224
|
|
|
215
|
-
declare module '@tiptap/core' {
|
|
216
|
-
interface Commands<ReturnType> {
|
|
217
|
-
mermaid: {
|
|
218
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
219
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
declare module '@tiptap/core' {
|
|
226
|
-
interface Commands<ReturnType> {
|
|
227
|
-
tableOfContents: {
|
|
228
|
-
setTableOfContents: () => ReturnType;
|
|
229
|
-
removeTableOfContents: () => ReturnType;
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
225
|
declare module '@tiptap/core' {
|
|
236
226
|
interface Commands<ReturnType> {
|
|
237
227
|
search: {
|
|
@@ -255,6 +245,16 @@ declare module '@tiptap/core' {
|
|
|
255
245
|
}
|
|
256
246
|
|
|
257
247
|
|
|
248
|
+
declare module '@tiptap/core' {
|
|
249
|
+
interface Commands<ReturnType> {
|
|
250
|
+
tableOfContents: {
|
|
251
|
+
setTableOfContents: () => ReturnType;
|
|
252
|
+
removeTableOfContents: () => ReturnType;
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
258
|
declare module '@tiptap/core' {
|
|
259
259
|
interface Commands<ReturnType> {
|
|
260
260
|
twitter: {
|
package/lib/Emoji.d.ts
CHANGED
|
@@ -46,8 +46,9 @@ declare module '@tiptap/core' {
|
|
|
46
46
|
|
|
47
47
|
declare module '@tiptap/core' {
|
|
48
48
|
interface Commands<ReturnType> {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
drawer: {
|
|
50
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
51
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
}
|
|
@@ -55,9 +56,8 @@ declare module '@tiptap/core' {
|
|
|
55
56
|
|
|
56
57
|
declare module '@tiptap/core' {
|
|
57
58
|
interface Commands<ReturnType> {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
59
|
+
excalidraw: {
|
|
60
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -81,15 +81,6 @@ declare module '@tiptap/core' {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
declare module '@tiptap/core' {
|
|
85
|
-
interface Commands<ReturnType> {
|
|
86
|
-
painter: {
|
|
87
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
84
|
declare module '@tiptap/core' {
|
|
94
85
|
interface Commands<ReturnType> {
|
|
95
86
|
fontSize: {
|
|
@@ -108,6 +99,15 @@ declare module '@tiptap/core' {
|
|
|
108
99
|
}
|
|
109
100
|
|
|
110
101
|
|
|
102
|
+
declare module '@tiptap/core' {
|
|
103
|
+
interface Commands<ReturnType> {
|
|
104
|
+
painter: {
|
|
105
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
111
|
declare module '@tiptap/core' {
|
|
112
112
|
interface Commands<ReturnType> {
|
|
113
113
|
iframe: {
|
|
@@ -143,6 +143,22 @@ declare module '@tiptap/core' {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
|
|
146
|
+
declare module '@tiptap/core' {
|
|
147
|
+
interface Commands<ReturnType> {
|
|
148
|
+
indent: {
|
|
149
|
+
/**
|
|
150
|
+
* Set the indent attribute
|
|
151
|
+
*/
|
|
152
|
+
indent: () => ReturnType;
|
|
153
|
+
/**
|
|
154
|
+
* Set the outdent attribute
|
|
155
|
+
*/
|
|
156
|
+
outdent: () => ReturnType;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
146
162
|
declare module '@tiptap/core' {
|
|
147
163
|
interface Commands<ReturnType> {
|
|
148
164
|
imageGifUpload: {
|
|
@@ -174,15 +190,9 @@ declare module '@tiptap/core' {
|
|
|
174
190
|
|
|
175
191
|
declare module '@tiptap/core' {
|
|
176
192
|
interface Commands<ReturnType> {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
*/
|
|
181
|
-
indent: () => ReturnType;
|
|
182
|
-
/**
|
|
183
|
-
* Set the outdent attribute
|
|
184
|
-
*/
|
|
185
|
-
outdent: () => ReturnType;
|
|
193
|
+
lineHeight: {
|
|
194
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
195
|
+
unsetLineHeight: () => ReturnType;
|
|
186
196
|
};
|
|
187
197
|
}
|
|
188
198
|
}
|
|
@@ -190,9 +200,9 @@ declare module '@tiptap/core' {
|
|
|
190
200
|
|
|
191
201
|
declare module '@tiptap/core' {
|
|
192
202
|
interface Commands<ReturnType> {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
203
|
+
mermaid: {
|
|
204
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
205
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
196
206
|
};
|
|
197
207
|
}
|
|
198
208
|
}
|
|
@@ -212,26 +222,6 @@ declare module '@tiptap/core' {
|
|
|
212
222
|
}
|
|
213
223
|
|
|
214
224
|
|
|
215
|
-
declare module '@tiptap/core' {
|
|
216
|
-
interface Commands<ReturnType> {
|
|
217
|
-
mermaid: {
|
|
218
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
219
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
declare module '@tiptap/core' {
|
|
226
|
-
interface Commands<ReturnType> {
|
|
227
|
-
tableOfContents: {
|
|
228
|
-
setTableOfContents: () => ReturnType;
|
|
229
|
-
removeTableOfContents: () => ReturnType;
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
225
|
declare module '@tiptap/core' {
|
|
236
226
|
interface Commands<ReturnType> {
|
|
237
227
|
search: {
|
|
@@ -255,6 +245,16 @@ declare module '@tiptap/core' {
|
|
|
255
245
|
}
|
|
256
246
|
|
|
257
247
|
|
|
248
|
+
declare module '@tiptap/core' {
|
|
249
|
+
interface Commands<ReturnType> {
|
|
250
|
+
tableOfContents: {
|
|
251
|
+
setTableOfContents: () => ReturnType;
|
|
252
|
+
removeTableOfContents: () => ReturnType;
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
258
|
declare module '@tiptap/core' {
|
|
259
259
|
interface Commands<ReturnType> {
|
|
260
260
|
twitter: {
|
package/lib/Emoji.js
CHANGED
|
@@ -19653,7 +19653,7 @@ function he({
|
|
|
19653
19653
|
/* @__PURE__ */ i(
|
|
19654
19654
|
u.Search,
|
|
19655
19655
|
{
|
|
19656
|
-
className: "!richtext-
|
|
19656
|
+
className: "!richtext-flex !richtext-h-10 !richtext-w-full !richtext-rounded-md !richtext-border-none !richtext-bg-transparent !richtext-py-3 !richtext-text-sm !richtext-outline-none placeholder:!richtext-text-muted-foreground disabled:!richtext-cursor-not-allowed disabled:!richtext-opacity-50 ",
|
|
19657
19657
|
"data-slot": "emoji-picker-search",
|
|
19658
19658
|
...o
|
|
19659
19659
|
}
|
|
@@ -19684,7 +19684,7 @@ function be({
|
|
|
19684
19684
|
...a,
|
|
19685
19685
|
"data-slot": "emoji-picker-emoji",
|
|
19686
19686
|
className: j(
|
|
19687
|
-
"data-[active]:!richtext-bg-accent !richtext-flex !richtext-size-7 !richtext-items-center !richtext-justify-center !richtext-rounded-sm !richtext-text-base",
|
|
19687
|
+
"data-[active]:!richtext-bg-accent richtext-bg-transparent !richtext-flex !richtext-size-7 !richtext-items-center !richtext-justify-center !richtext-rounded-sm !richtext-text-base",
|
|
19688
19688
|
o
|
|
19689
19689
|
),
|
|
19690
19690
|
children: e.emoji
|
package/lib/Excalidraw.d.cts
CHANGED
|
@@ -45,8 +45,9 @@ declare module '@tiptap/core' {
|
|
|
45
45
|
|
|
46
46
|
declare module '@tiptap/core' {
|
|
47
47
|
interface Commands<ReturnType> {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
drawer: {
|
|
49
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
50
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -54,9 +55,8 @@ declare module '@tiptap/core' {
|
|
|
54
55
|
|
|
55
56
|
declare module '@tiptap/core' {
|
|
56
57
|
interface Commands<ReturnType> {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
58
|
+
excalidraw: {
|
|
59
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -80,15 +80,6 @@ declare module '@tiptap/core' {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
declare module '@tiptap/core' {
|
|
84
|
-
interface Commands<ReturnType> {
|
|
85
|
-
painter: {
|
|
86
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
83
|
declare module '@tiptap/core' {
|
|
93
84
|
interface Commands<ReturnType> {
|
|
94
85
|
fontSize: {
|
|
@@ -107,6 +98,15 @@ declare module '@tiptap/core' {
|
|
|
107
98
|
}
|
|
108
99
|
|
|
109
100
|
|
|
101
|
+
declare module '@tiptap/core' {
|
|
102
|
+
interface Commands<ReturnType> {
|
|
103
|
+
painter: {
|
|
104
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
110
|
declare module '@tiptap/core' {
|
|
111
111
|
interface Commands<ReturnType> {
|
|
112
112
|
iframe: {
|
|
@@ -142,6 +142,22 @@ declare module '@tiptap/core' {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
|
|
145
|
+
declare module '@tiptap/core' {
|
|
146
|
+
interface Commands<ReturnType> {
|
|
147
|
+
indent: {
|
|
148
|
+
/**
|
|
149
|
+
* Set the indent attribute
|
|
150
|
+
*/
|
|
151
|
+
indent: () => ReturnType;
|
|
152
|
+
/**
|
|
153
|
+
* Set the outdent attribute
|
|
154
|
+
*/
|
|
155
|
+
outdent: () => ReturnType;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
145
161
|
declare module '@tiptap/core' {
|
|
146
162
|
interface Commands<ReturnType> {
|
|
147
163
|
imageGifUpload: {
|
|
@@ -173,15 +189,9 @@ declare module '@tiptap/core' {
|
|
|
173
189
|
|
|
174
190
|
declare module '@tiptap/core' {
|
|
175
191
|
interface Commands<ReturnType> {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
*/
|
|
180
|
-
indent: () => ReturnType;
|
|
181
|
-
/**
|
|
182
|
-
* Set the outdent attribute
|
|
183
|
-
*/
|
|
184
|
-
outdent: () => ReturnType;
|
|
192
|
+
lineHeight: {
|
|
193
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
194
|
+
unsetLineHeight: () => ReturnType;
|
|
185
195
|
};
|
|
186
196
|
}
|
|
187
197
|
}
|
|
@@ -189,9 +199,9 @@ declare module '@tiptap/core' {
|
|
|
189
199
|
|
|
190
200
|
declare module '@tiptap/core' {
|
|
191
201
|
interface Commands<ReturnType> {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
202
|
+
mermaid: {
|
|
203
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
204
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
195
205
|
};
|
|
196
206
|
}
|
|
197
207
|
}
|
|
@@ -211,26 +221,6 @@ declare module '@tiptap/core' {
|
|
|
211
221
|
}
|
|
212
222
|
|
|
213
223
|
|
|
214
|
-
declare module '@tiptap/core' {
|
|
215
|
-
interface Commands<ReturnType> {
|
|
216
|
-
mermaid: {
|
|
217
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
218
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
declare module '@tiptap/core' {
|
|
225
|
-
interface Commands<ReturnType> {
|
|
226
|
-
tableOfContents: {
|
|
227
|
-
setTableOfContents: () => ReturnType;
|
|
228
|
-
removeTableOfContents: () => ReturnType;
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
224
|
declare module '@tiptap/core' {
|
|
235
225
|
interface Commands<ReturnType> {
|
|
236
226
|
search: {
|
|
@@ -254,6 +244,16 @@ declare module '@tiptap/core' {
|
|
|
254
244
|
}
|
|
255
245
|
|
|
256
246
|
|
|
247
|
+
declare module '@tiptap/core' {
|
|
248
|
+
interface Commands<ReturnType> {
|
|
249
|
+
tableOfContents: {
|
|
250
|
+
setTableOfContents: () => ReturnType;
|
|
251
|
+
removeTableOfContents: () => ReturnType;
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
|
|
257
257
|
declare module '@tiptap/core' {
|
|
258
258
|
interface Commands<ReturnType> {
|
|
259
259
|
twitter: {
|
package/lib/Excalidraw.d.ts
CHANGED
|
@@ -45,8 +45,9 @@ declare module '@tiptap/core' {
|
|
|
45
45
|
|
|
46
46
|
declare module '@tiptap/core' {
|
|
47
47
|
interface Commands<ReturnType> {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
drawer: {
|
|
49
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
50
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -54,9 +55,8 @@ declare module '@tiptap/core' {
|
|
|
54
55
|
|
|
55
56
|
declare module '@tiptap/core' {
|
|
56
57
|
interface Commands<ReturnType> {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
58
|
+
excalidraw: {
|
|
59
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -80,15 +80,6 @@ declare module '@tiptap/core' {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
declare module '@tiptap/core' {
|
|
84
|
-
interface Commands<ReturnType> {
|
|
85
|
-
painter: {
|
|
86
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
83
|
declare module '@tiptap/core' {
|
|
93
84
|
interface Commands<ReturnType> {
|
|
94
85
|
fontSize: {
|
|
@@ -107,6 +98,15 @@ declare module '@tiptap/core' {
|
|
|
107
98
|
}
|
|
108
99
|
|
|
109
100
|
|
|
101
|
+
declare module '@tiptap/core' {
|
|
102
|
+
interface Commands<ReturnType> {
|
|
103
|
+
painter: {
|
|
104
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
110
|
declare module '@tiptap/core' {
|
|
111
111
|
interface Commands<ReturnType> {
|
|
112
112
|
iframe: {
|
|
@@ -142,6 +142,22 @@ declare module '@tiptap/core' {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
|
|
145
|
+
declare module '@tiptap/core' {
|
|
146
|
+
interface Commands<ReturnType> {
|
|
147
|
+
indent: {
|
|
148
|
+
/**
|
|
149
|
+
* Set the indent attribute
|
|
150
|
+
*/
|
|
151
|
+
indent: () => ReturnType;
|
|
152
|
+
/**
|
|
153
|
+
* Set the outdent attribute
|
|
154
|
+
*/
|
|
155
|
+
outdent: () => ReturnType;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
145
161
|
declare module '@tiptap/core' {
|
|
146
162
|
interface Commands<ReturnType> {
|
|
147
163
|
imageGifUpload: {
|
|
@@ -173,15 +189,9 @@ declare module '@tiptap/core' {
|
|
|
173
189
|
|
|
174
190
|
declare module '@tiptap/core' {
|
|
175
191
|
interface Commands<ReturnType> {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
*/
|
|
180
|
-
indent: () => ReturnType;
|
|
181
|
-
/**
|
|
182
|
-
* Set the outdent attribute
|
|
183
|
-
*/
|
|
184
|
-
outdent: () => ReturnType;
|
|
192
|
+
lineHeight: {
|
|
193
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
194
|
+
unsetLineHeight: () => ReturnType;
|
|
185
195
|
};
|
|
186
196
|
}
|
|
187
197
|
}
|
|
@@ -189,9 +199,9 @@ declare module '@tiptap/core' {
|
|
|
189
199
|
|
|
190
200
|
declare module '@tiptap/core' {
|
|
191
201
|
interface Commands<ReturnType> {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
202
|
+
mermaid: {
|
|
203
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
204
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
195
205
|
};
|
|
196
206
|
}
|
|
197
207
|
}
|
|
@@ -211,26 +221,6 @@ declare module '@tiptap/core' {
|
|
|
211
221
|
}
|
|
212
222
|
|
|
213
223
|
|
|
214
|
-
declare module '@tiptap/core' {
|
|
215
|
-
interface Commands<ReturnType> {
|
|
216
|
-
mermaid: {
|
|
217
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
218
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
declare module '@tiptap/core' {
|
|
225
|
-
interface Commands<ReturnType> {
|
|
226
|
-
tableOfContents: {
|
|
227
|
-
setTableOfContents: () => ReturnType;
|
|
228
|
-
removeTableOfContents: () => ReturnType;
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
224
|
declare module '@tiptap/core' {
|
|
235
225
|
interface Commands<ReturnType> {
|
|
236
226
|
search: {
|
|
@@ -254,6 +244,16 @@ declare module '@tiptap/core' {
|
|
|
254
244
|
}
|
|
255
245
|
|
|
256
246
|
|
|
247
|
+
declare module '@tiptap/core' {
|
|
248
|
+
interface Commands<ReturnType> {
|
|
249
|
+
tableOfContents: {
|
|
250
|
+
setTableOfContents: () => ReturnType;
|
|
251
|
+
removeTableOfContents: () => ReturnType;
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
|
|
257
257
|
declare module '@tiptap/core' {
|
|
258
258
|
interface Commands<ReturnType> {
|
|
259
259
|
twitter: {
|