reactjs-tiptap-editor 0.3.11 → 0.3.12

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.
Files changed (112) hide show
  1. package/lib/Attachment.d.cts +17 -17
  2. package/lib/Attachment.d.ts +17 -17
  3. package/lib/Blockquote.d.cts +17 -17
  4. package/lib/Blockquote.d.ts +17 -17
  5. package/lib/Bold.d.cts +17 -17
  6. package/lib/Bold.d.ts +17 -17
  7. package/lib/BulletList.d.cts +17 -17
  8. package/lib/BulletList.d.ts +17 -17
  9. package/lib/Clear.d.cts +17 -17
  10. package/lib/Clear.d.ts +17 -17
  11. package/lib/Code.d.cts +17 -17
  12. package/lib/Code.d.ts +17 -17
  13. package/lib/CodeBlock.d.cts +17 -17
  14. package/lib/CodeBlock.d.ts +17 -17
  15. package/lib/CodeView.d.cts +17 -17
  16. package/lib/CodeView.d.ts +17 -17
  17. package/lib/Color.d.cts +17 -17
  18. package/lib/Color.d.ts +17 -17
  19. package/lib/Document.d.cts +17 -17
  20. package/lib/Document.d.ts +17 -17
  21. package/lib/Drawer.d.cts +17 -17
  22. package/lib/Drawer.d.ts +17 -17
  23. package/lib/Emoji.d.cts +17 -17
  24. package/lib/Emoji.d.ts +17 -17
  25. package/lib/Excalidraw.d.cts +17 -17
  26. package/lib/Excalidraw.d.ts +17 -17
  27. package/lib/ExportPdf.d.cts +17 -17
  28. package/lib/ExportPdf.d.ts +17 -17
  29. package/lib/ExportWord.d.cts +17 -17
  30. package/lib/ExportWord.d.ts +17 -17
  31. package/lib/FontFamily.d.cts +17 -17
  32. package/lib/FontFamily.d.ts +17 -17
  33. package/lib/FontSize.d.cts +17 -17
  34. package/lib/FontSize.d.ts +17 -17
  35. package/lib/FormatPainter.d.cts +17 -17
  36. package/lib/FormatPainter.d.ts +17 -17
  37. package/lib/Heading.d.cts +17 -17
  38. package/lib/Heading.d.ts +17 -17
  39. package/lib/Highlight.d.cts +17 -17
  40. package/lib/Highlight.d.ts +17 -17
  41. package/lib/History.d.cts +17 -17
  42. package/lib/History.d.ts +17 -17
  43. package/lib/HorizontalRule.d.cts +17 -17
  44. package/lib/HorizontalRule.d.ts +17 -17
  45. package/lib/Iframe.d.cts +17 -17
  46. package/lib/Iframe.d.ts +17 -17
  47. package/lib/Image.d.cts +17 -17
  48. package/lib/Image.d.ts +17 -17
  49. package/lib/ImageGif.d.cts +17 -17
  50. package/lib/ImageGif.d.ts +17 -17
  51. package/lib/ImportWord.d.cts +17 -17
  52. package/lib/ImportWord.d.ts +17 -17
  53. package/lib/Indent.d.cts +17 -17
  54. package/lib/Indent.d.ts +17 -17
  55. package/lib/Italic.d.cts +17 -17
  56. package/lib/Italic.d.ts +17 -17
  57. package/lib/Katex.d.cts +17 -17
  58. package/lib/Katex.d.ts +17 -17
  59. package/lib/LineHeight.d.cts +17 -17
  60. package/lib/LineHeight.d.ts +17 -17
  61. package/lib/Link.d.cts +17 -17
  62. package/lib/Link.d.ts +17 -17
  63. package/lib/ListItem.d.cts +17 -17
  64. package/lib/ListItem.d.ts +17 -17
  65. package/lib/Mention.d.cts +17 -17
  66. package/lib/Mention.d.ts +17 -17
  67. package/lib/Mermaid.d.cts +17 -17
  68. package/lib/Mermaid.d.ts +17 -17
  69. package/lib/MoreMark.d.cts +17 -17
  70. package/lib/MoreMark.d.ts +17 -17
  71. package/lib/MultiColumn.d.cts +17 -17
  72. package/lib/MultiColumn.d.ts +17 -17
  73. package/lib/OrderedList.d.cts +17 -17
  74. package/lib/OrderedList.d.ts +17 -17
  75. package/lib/SearchAndReplace.d.cts +17 -17
  76. package/lib/SearchAndReplace.d.ts +17 -17
  77. package/lib/Selection.d.cts +17 -17
  78. package/lib/Selection.d.ts +17 -17
  79. package/lib/SlashCommand.d.cts +17 -17
  80. package/lib/SlashCommand.d.ts +17 -17
  81. package/lib/Strike.d.cts +17 -17
  82. package/lib/Strike.d.ts +17 -17
  83. package/lib/SubAndSuperScript.d.cts +17 -17
  84. package/lib/SubAndSuperScript.d.ts +17 -17
  85. package/lib/Table.d.cts +17 -17
  86. package/lib/Table.d.ts +17 -17
  87. package/lib/TableOfContent.d.cts +17 -17
  88. package/lib/TableOfContent.d.ts +17 -17
  89. package/lib/TaskList.d.cts +17 -17
  90. package/lib/TaskList.d.ts +17 -17
  91. package/lib/TextAlign.d.cts +17 -17
  92. package/lib/TextAlign.d.ts +17 -17
  93. package/lib/TextBubble.d.cts +17 -17
  94. package/lib/TextBubble.d.ts +17 -17
  95. package/lib/TextDirection.d.cts +17 -17
  96. package/lib/TextDirection.d.ts +17 -17
  97. package/lib/TextUnderline.d.cts +17 -17
  98. package/lib/TextUnderline.d.ts +17 -17
  99. package/lib/TrailingNode.d.cts +17 -17
  100. package/lib/TrailingNode.d.ts +17 -17
  101. package/lib/Twitter.d.cts +17 -17
  102. package/lib/Twitter.d.ts +17 -17
  103. package/lib/Video.d.cts +17 -17
  104. package/lib/Video.d.ts +17 -17
  105. package/lib/bubble-extra.d.cts +17 -17
  106. package/lib/bubble-extra.d.ts +17 -17
  107. package/lib/index.d.cts +17 -17
  108. package/lib/index.d.ts +17 -17
  109. package/lib/locale-bundle.d.cts +17 -17
  110. package/lib/locale-bundle.d.ts +17 -17
  111. package/lib/style.css +1 -1
  112. package/package.json +1 -1
@@ -39,11 +39,9 @@ declare module '@tiptap/core' {
39
39
 
40
40
  declare module '@tiptap/core' {
41
41
  interface Commands<ReturnType> {
42
- emoji: {
43
- setEmoji: (emoji: {
44
- name: string;
45
- emoji: string;
46
- }) => ReturnType;
42
+ drawer: {
43
+ setDrawer: (options: any, replace?: any) => ReturnType;
44
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
47
45
  };
48
46
  }
49
47
  }
@@ -51,9 +49,11 @@ declare module '@tiptap/core' {
51
49
 
52
50
  declare module '@tiptap/core' {
53
51
  interface Commands<ReturnType> {
54
- drawer: {
55
- setDrawer: (options: any, replace?: any) => ReturnType;
56
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
52
+ emoji: {
53
+ setEmoji: (emoji: {
54
+ name: string;
55
+ emoji: string;
56
+ }) => ReturnType;
57
57
  };
58
58
  }
59
59
  }
@@ -77,15 +77,6 @@ declare module '@tiptap/core' {
77
77
  }
78
78
 
79
79
 
80
- declare module '@tiptap/core' {
81
- interface Commands<ReturnType> {
82
- painter: {
83
- setPainter: (marks: Mark[]) => ReturnType;
84
- };
85
- }
86
- }
87
-
88
-
89
80
  declare module '@tiptap/core' {
90
81
  interface Commands<ReturnType> {
91
82
  fontSize: {
@@ -104,6 +95,15 @@ declare module '@tiptap/core' {
104
95
  }
105
96
 
106
97
 
98
+ declare module '@tiptap/core' {
99
+ interface Commands<ReturnType> {
100
+ painter: {
101
+ setPainter: (marks: Mark[]) => ReturnType;
102
+ };
103
+ }
104
+ }
105
+
106
+
107
107
  declare module '@tiptap/core' {
108
108
  interface Commands<ReturnType> {
109
109
  iframe: {
@@ -66,11 +66,9 @@ declare module '@tiptap/core' {
66
66
 
67
67
  declare module '@tiptap/core' {
68
68
  interface Commands<ReturnType> {
69
- emoji: {
70
- setEmoji: (emoji: {
71
- name: string;
72
- emoji: string;
73
- }) => ReturnType;
69
+ drawer: {
70
+ setDrawer: (options: any, replace?: any) => ReturnType;
71
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
74
72
  };
75
73
  }
76
74
  }
@@ -78,9 +76,11 @@ declare module '@tiptap/core' {
78
76
 
79
77
  declare module '@tiptap/core' {
80
78
  interface Commands<ReturnType> {
81
- drawer: {
82
- setDrawer: (options: any, replace?: any) => ReturnType;
83
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
79
+ emoji: {
80
+ setEmoji: (emoji: {
81
+ name: string;
82
+ emoji: string;
83
+ }) => ReturnType;
84
84
  };
85
85
  }
86
86
  }
@@ -104,15 +104,6 @@ declare module '@tiptap/core' {
104
104
  }
105
105
 
106
106
 
107
- declare module '@tiptap/core' {
108
- interface Commands<ReturnType> {
109
- painter: {
110
- setPainter: (marks: Mark[]) => ReturnType;
111
- };
112
- }
113
- }
114
-
115
-
116
107
  declare module '@tiptap/core' {
117
108
  interface Commands<ReturnType> {
118
109
  fontSize: {
@@ -131,6 +122,15 @@ declare module '@tiptap/core' {
131
122
  }
132
123
 
133
124
 
125
+ declare module '@tiptap/core' {
126
+ interface Commands<ReturnType> {
127
+ painter: {
128
+ setPainter: (marks: Mark[]) => ReturnType;
129
+ };
130
+ }
131
+ }
132
+
133
+
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
136
  iframe: {
@@ -66,11 +66,9 @@ declare module '@tiptap/core' {
66
66
 
67
67
  declare module '@tiptap/core' {
68
68
  interface Commands<ReturnType> {
69
- emoji: {
70
- setEmoji: (emoji: {
71
- name: string;
72
- emoji: string;
73
- }) => ReturnType;
69
+ drawer: {
70
+ setDrawer: (options: any, replace?: any) => ReturnType;
71
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
74
72
  };
75
73
  }
76
74
  }
@@ -78,9 +76,11 @@ declare module '@tiptap/core' {
78
76
 
79
77
  declare module '@tiptap/core' {
80
78
  interface Commands<ReturnType> {
81
- drawer: {
82
- setDrawer: (options: any, replace?: any) => ReturnType;
83
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
79
+ emoji: {
80
+ setEmoji: (emoji: {
81
+ name: string;
82
+ emoji: string;
83
+ }) => ReturnType;
84
84
  };
85
85
  }
86
86
  }
@@ -104,15 +104,6 @@ declare module '@tiptap/core' {
104
104
  }
105
105
 
106
106
 
107
- declare module '@tiptap/core' {
108
- interface Commands<ReturnType> {
109
- painter: {
110
- setPainter: (marks: Mark[]) => ReturnType;
111
- };
112
- }
113
- }
114
-
115
-
116
107
  declare module '@tiptap/core' {
117
108
  interface Commands<ReturnType> {
118
109
  fontSize: {
@@ -131,6 +122,15 @@ declare module '@tiptap/core' {
131
122
  }
132
123
 
133
124
 
125
+ declare module '@tiptap/core' {
126
+ interface Commands<ReturnType> {
127
+ painter: {
128
+ setPainter: (marks: Mark[]) => ReturnType;
129
+ };
130
+ }
131
+ }
132
+
133
+
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
136
  iframe: {
package/lib/Strike.d.cts CHANGED
@@ -110,11 +110,9 @@ declare module '@tiptap/core' {
110
110
 
111
111
  declare module '@tiptap/core' {
112
112
  interface Commands<ReturnType> {
113
- emoji: {
114
- setEmoji: (emoji: {
115
- name: string;
116
- emoji: string;
117
- }) => ReturnType;
113
+ drawer: {
114
+ setDrawer: (options: any, replace?: any) => ReturnType;
115
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
118
116
  };
119
117
  }
120
118
  }
@@ -122,9 +120,11 @@ declare module '@tiptap/core' {
122
120
 
123
121
  declare module '@tiptap/core' {
124
122
  interface Commands<ReturnType> {
125
- drawer: {
126
- setDrawer: (options: any, replace?: any) => ReturnType;
127
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
123
+ emoji: {
124
+ setEmoji: (emoji: {
125
+ name: string;
126
+ emoji: string;
127
+ }) => 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: {
package/lib/Strike.d.ts CHANGED
@@ -110,11 +110,9 @@ declare module '@tiptap/core' {
110
110
 
111
111
  declare module '@tiptap/core' {
112
112
  interface Commands<ReturnType> {
113
- emoji: {
114
- setEmoji: (emoji: {
115
- name: string;
116
- emoji: string;
117
- }) => ReturnType;
113
+ drawer: {
114
+ setDrawer: (options: any, replace?: any) => ReturnType;
115
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
118
116
  };
119
117
  }
120
118
  }
@@ -122,9 +120,11 @@ declare module '@tiptap/core' {
122
120
 
123
121
  declare module '@tiptap/core' {
124
122
  interface Commands<ReturnType> {
125
- drawer: {
126
- setDrawer: (options: any, replace?: any) => ReturnType;
127
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
123
+ emoji: {
124
+ setEmoji: (emoji: {
125
+ name: string;
126
+ emoji: string;
127
+ }) => 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: {
@@ -125,11 +125,9 @@ declare module '@tiptap/core' {
125
125
 
126
126
  declare module '@tiptap/core' {
127
127
  interface Commands<ReturnType> {
128
- emoji: {
129
- setEmoji: (emoji: {
130
- name: string;
131
- emoji: string;
132
- }) => ReturnType;
128
+ drawer: {
129
+ setDrawer: (options: any, replace?: any) => ReturnType;
130
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
133
131
  };
134
132
  }
135
133
  }
@@ -137,9 +135,11 @@ declare module '@tiptap/core' {
137
135
 
138
136
  declare module '@tiptap/core' {
139
137
  interface Commands<ReturnType> {
140
- drawer: {
141
- setDrawer: (options: any, replace?: any) => ReturnType;
142
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
138
+ emoji: {
139
+ setEmoji: (emoji: {
140
+ name: string;
141
+ emoji: string;
142
+ }) => ReturnType;
143
143
  };
144
144
  }
145
145
  }
@@ -163,15 +163,6 @@ declare module '@tiptap/core' {
163
163
  }
164
164
 
165
165
 
166
- declare module '@tiptap/core' {
167
- interface Commands<ReturnType> {
168
- painter: {
169
- setPainter: (marks: Mark[]) => ReturnType;
170
- };
171
- }
172
- }
173
-
174
-
175
166
  declare module '@tiptap/core' {
176
167
  interface Commands<ReturnType> {
177
168
  fontSize: {
@@ -190,6 +181,15 @@ declare module '@tiptap/core' {
190
181
  }
191
182
 
192
183
 
184
+ declare module '@tiptap/core' {
185
+ interface Commands<ReturnType> {
186
+ painter: {
187
+ setPainter: (marks: Mark[]) => ReturnType;
188
+ };
189
+ }
190
+ }
191
+
192
+
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
195
  iframe: {
@@ -125,11 +125,9 @@ declare module '@tiptap/core' {
125
125
 
126
126
  declare module '@tiptap/core' {
127
127
  interface Commands<ReturnType> {
128
- emoji: {
129
- setEmoji: (emoji: {
130
- name: string;
131
- emoji: string;
132
- }) => ReturnType;
128
+ drawer: {
129
+ setDrawer: (options: any, replace?: any) => ReturnType;
130
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
133
131
  };
134
132
  }
135
133
  }
@@ -137,9 +135,11 @@ declare module '@tiptap/core' {
137
135
 
138
136
  declare module '@tiptap/core' {
139
137
  interface Commands<ReturnType> {
140
- drawer: {
141
- setDrawer: (options: any, replace?: any) => ReturnType;
142
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
138
+ emoji: {
139
+ setEmoji: (emoji: {
140
+ name: string;
141
+ emoji: string;
142
+ }) => ReturnType;
143
143
  };
144
144
  }
145
145
  }
@@ -163,15 +163,6 @@ declare module '@tiptap/core' {
163
163
  }
164
164
 
165
165
 
166
- declare module '@tiptap/core' {
167
- interface Commands<ReturnType> {
168
- painter: {
169
- setPainter: (marks: Mark[]) => ReturnType;
170
- };
171
- }
172
- }
173
-
174
-
175
166
  declare module '@tiptap/core' {
176
167
  interface Commands<ReturnType> {
177
168
  fontSize: {
@@ -190,6 +181,15 @@ declare module '@tiptap/core' {
190
181
  }
191
182
 
192
183
 
184
+ declare module '@tiptap/core' {
185
+ interface Commands<ReturnType> {
186
+ painter: {
187
+ setPainter: (marks: Mark[]) => ReturnType;
188
+ };
189
+ }
190
+ }
191
+
192
+
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
195
  iframe: {
package/lib/Table.d.cts CHANGED
@@ -133,11 +133,9 @@ declare module '@tiptap/core' {
133
133
 
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
- emoji: {
137
- setEmoji: (emoji: {
138
- name: string;
139
- emoji: string;
140
- }) => ReturnType;
136
+ drawer: {
137
+ setDrawer: (options: any, replace?: any) => ReturnType;
138
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
141
139
  };
142
140
  }
143
141
  }
@@ -145,9 +143,11 @@ declare module '@tiptap/core' {
145
143
 
146
144
  declare module '@tiptap/core' {
147
145
  interface Commands<ReturnType> {
148
- drawer: {
149
- setDrawer: (options: any, replace?: any) => ReturnType;
150
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
146
+ emoji: {
147
+ setEmoji: (emoji: {
148
+ name: string;
149
+ emoji: string;
150
+ }) => ReturnType;
151
151
  };
152
152
  }
153
153
  }
@@ -171,15 +171,6 @@ declare module '@tiptap/core' {
171
171
  }
172
172
 
173
173
 
174
- declare module '@tiptap/core' {
175
- interface Commands<ReturnType> {
176
- painter: {
177
- setPainter: (marks: Mark[]) => ReturnType;
178
- };
179
- }
180
- }
181
-
182
-
183
174
  declare module '@tiptap/core' {
184
175
  interface Commands<ReturnType> {
185
176
  fontSize: {
@@ -198,6 +189,15 @@ declare module '@tiptap/core' {
198
189
  }
199
190
 
200
191
 
192
+ declare module '@tiptap/core' {
193
+ interface Commands<ReturnType> {
194
+ painter: {
195
+ setPainter: (marks: Mark[]) => ReturnType;
196
+ };
197
+ }
198
+ }
199
+
200
+
201
201
  declare module '@tiptap/core' {
202
202
  interface Commands<ReturnType> {
203
203
  iframe: {
package/lib/Table.d.ts CHANGED
@@ -133,11 +133,9 @@ declare module '@tiptap/core' {
133
133
 
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
- emoji: {
137
- setEmoji: (emoji: {
138
- name: string;
139
- emoji: string;
140
- }) => ReturnType;
136
+ drawer: {
137
+ setDrawer: (options: any, replace?: any) => ReturnType;
138
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
141
139
  };
142
140
  }
143
141
  }
@@ -145,9 +143,11 @@ declare module '@tiptap/core' {
145
143
 
146
144
  declare module '@tiptap/core' {
147
145
  interface Commands<ReturnType> {
148
- drawer: {
149
- setDrawer: (options: any, replace?: any) => ReturnType;
150
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
146
+ emoji: {
147
+ setEmoji: (emoji: {
148
+ name: string;
149
+ emoji: string;
150
+ }) => ReturnType;
151
151
  };
152
152
  }
153
153
  }
@@ -171,15 +171,6 @@ declare module '@tiptap/core' {
171
171
  }
172
172
 
173
173
 
174
- declare module '@tiptap/core' {
175
- interface Commands<ReturnType> {
176
- painter: {
177
- setPainter: (marks: Mark[]) => ReturnType;
178
- };
179
- }
180
- }
181
-
182
-
183
174
  declare module '@tiptap/core' {
184
175
  interface Commands<ReturnType> {
185
176
  fontSize: {
@@ -198,6 +189,15 @@ declare module '@tiptap/core' {
198
189
  }
199
190
 
200
191
 
192
+ declare module '@tiptap/core' {
193
+ interface Commands<ReturnType> {
194
+ painter: {
195
+ setPainter: (marks: Mark[]) => ReturnType;
196
+ };
197
+ }
198
+ }
199
+
200
+
201
201
  declare module '@tiptap/core' {
202
202
  interface Commands<ReturnType> {
203
203
  iframe: {
@@ -41,11 +41,9 @@ declare module '@tiptap/core' {
41
41
 
42
42
  declare module '@tiptap/core' {
43
43
  interface Commands<ReturnType> {
44
- emoji: {
45
- setEmoji: (emoji: {
46
- name: string;
47
- emoji: string;
48
- }) => ReturnType;
44
+ drawer: {
45
+ setDrawer: (options: any, replace?: any) => ReturnType;
46
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
49
47
  };
50
48
  }
51
49
  }
@@ -53,9 +51,11 @@ declare module '@tiptap/core' {
53
51
 
54
52
  declare module '@tiptap/core' {
55
53
  interface Commands<ReturnType> {
56
- drawer: {
57
- setDrawer: (options: any, replace?: any) => ReturnType;
58
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
54
+ emoji: {
55
+ setEmoji: (emoji: {
56
+ name: string;
57
+ emoji: string;
58
+ }) => ReturnType;
59
59
  };
60
60
  }
61
61
  }
@@ -79,15 +79,6 @@ declare module '@tiptap/core' {
79
79
  }
80
80
 
81
81
 
82
- declare module '@tiptap/core' {
83
- interface Commands<ReturnType> {
84
- painter: {
85
- setPainter: (marks: Mark[]) => ReturnType;
86
- };
87
- }
88
- }
89
-
90
-
91
82
  declare module '@tiptap/core' {
92
83
  interface Commands<ReturnType> {
93
84
  fontSize: {
@@ -106,6 +97,15 @@ declare module '@tiptap/core' {
106
97
  }
107
98
 
108
99
 
100
+ declare module '@tiptap/core' {
101
+ interface Commands<ReturnType> {
102
+ painter: {
103
+ setPainter: (marks: Mark[]) => ReturnType;
104
+ };
105
+ }
106
+ }
107
+
108
+
109
109
  declare module '@tiptap/core' {
110
110
  interface Commands<ReturnType> {
111
111
  iframe: {
@@ -41,11 +41,9 @@ declare module '@tiptap/core' {
41
41
 
42
42
  declare module '@tiptap/core' {
43
43
  interface Commands<ReturnType> {
44
- emoji: {
45
- setEmoji: (emoji: {
46
- name: string;
47
- emoji: string;
48
- }) => ReturnType;
44
+ drawer: {
45
+ setDrawer: (options: any, replace?: any) => ReturnType;
46
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
49
47
  };
50
48
  }
51
49
  }
@@ -53,9 +51,11 @@ declare module '@tiptap/core' {
53
51
 
54
52
  declare module '@tiptap/core' {
55
53
  interface Commands<ReturnType> {
56
- drawer: {
57
- setDrawer: (options: any, replace?: any) => ReturnType;
58
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
54
+ emoji: {
55
+ setEmoji: (emoji: {
56
+ name: string;
57
+ emoji: string;
58
+ }) => ReturnType;
59
59
  };
60
60
  }
61
61
  }
@@ -79,15 +79,6 @@ declare module '@tiptap/core' {
79
79
  }
80
80
 
81
81
 
82
- declare module '@tiptap/core' {
83
- interface Commands<ReturnType> {
84
- painter: {
85
- setPainter: (marks: Mark[]) => ReturnType;
86
- };
87
- }
88
- }
89
-
90
-
91
82
  declare module '@tiptap/core' {
92
83
  interface Commands<ReturnType> {
93
84
  fontSize: {
@@ -106,6 +97,15 @@ declare module '@tiptap/core' {
106
97
  }
107
98
 
108
99
 
100
+ declare module '@tiptap/core' {
101
+ interface Commands<ReturnType> {
102
+ painter: {
103
+ setPainter: (marks: Mark[]) => ReturnType;
104
+ };
105
+ }
106
+ }
107
+
108
+
109
109
  declare module '@tiptap/core' {
110
110
  interface Commands<ReturnType> {
111
111
  iframe: {