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
package/lib/FontSize.d.ts CHANGED
@@ -126,11 +126,9 @@ declare module '@tiptap/core' {
126
126
 
127
127
  declare module '@tiptap/core' {
128
128
  interface Commands<ReturnType> {
129
- emoji: {
130
- setEmoji: (emoji: {
131
- name: string;
132
- emoji: string;
133
- }) => ReturnType;
129
+ drawer: {
130
+ setDrawer: (options: any, replace?: any) => ReturnType;
131
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
134
132
  };
135
133
  }
136
134
  }
@@ -138,9 +136,11 @@ declare module '@tiptap/core' {
138
136
 
139
137
  declare module '@tiptap/core' {
140
138
  interface Commands<ReturnType> {
141
- drawer: {
142
- setDrawer: (options: any, replace?: any) => ReturnType;
143
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
139
+ emoji: {
140
+ setEmoji: (emoji: {
141
+ name: string;
142
+ emoji: string;
143
+ }) => ReturnType;
144
144
  };
145
145
  }
146
146
  }
@@ -164,15 +164,6 @@ declare module '@tiptap/core' {
164
164
  }
165
165
 
166
166
 
167
- declare module '@tiptap/core' {
168
- interface Commands<ReturnType> {
169
- painter: {
170
- setPainter: (marks: Mark[]) => ReturnType;
171
- };
172
- }
173
- }
174
-
175
-
176
167
  declare module '@tiptap/core' {
177
168
  interface Commands<ReturnType> {
178
169
  fontSize: {
@@ -191,6 +182,15 @@ declare module '@tiptap/core' {
191
182
  }
192
183
 
193
184
 
185
+ declare module '@tiptap/core' {
186
+ interface Commands<ReturnType> {
187
+ painter: {
188
+ setPainter: (marks: Mark[]) => ReturnType;
189
+ };
190
+ }
191
+ }
192
+
193
+
194
194
  declare module '@tiptap/core' {
195
195
  interface Commands<ReturnType> {
196
196
  iframe: {
@@ -120,11 +120,9 @@ declare module '@tiptap/core' {
120
120
 
121
121
  declare module '@tiptap/core' {
122
122
  interface Commands<ReturnType> {
123
- emoji: {
124
- setEmoji: (emoji: {
125
- name: string;
126
- emoji: string;
127
- }) => ReturnType;
123
+ drawer: {
124
+ setDrawer: (options: any, replace?: any) => ReturnType;
125
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
128
126
  };
129
127
  }
130
128
  }
@@ -132,9 +130,11 @@ declare module '@tiptap/core' {
132
130
 
133
131
  declare module '@tiptap/core' {
134
132
  interface Commands<ReturnType> {
135
- drawer: {
136
- setDrawer: (options: any, replace?: any) => ReturnType;
137
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
133
+ emoji: {
134
+ setEmoji: (emoji: {
135
+ name: string;
136
+ emoji: string;
137
+ }) => ReturnType;
138
138
  };
139
139
  }
140
140
  }
@@ -158,15 +158,6 @@ declare module '@tiptap/core' {
158
158
  }
159
159
 
160
160
 
161
- declare module '@tiptap/core' {
162
- interface Commands<ReturnType> {
163
- painter: {
164
- setPainter: (marks: Mark[]) => ReturnType;
165
- };
166
- }
167
- }
168
-
169
-
170
161
  declare module '@tiptap/core' {
171
162
  interface Commands<ReturnType> {
172
163
  fontSize: {
@@ -185,6 +176,15 @@ declare module '@tiptap/core' {
185
176
  }
186
177
 
187
178
 
179
+ declare module '@tiptap/core' {
180
+ interface Commands<ReturnType> {
181
+ painter: {
182
+ setPainter: (marks: Mark[]) => ReturnType;
183
+ };
184
+ }
185
+ }
186
+
187
+
188
188
  declare module '@tiptap/core' {
189
189
  interface Commands<ReturnType> {
190
190
  iframe: {
@@ -120,11 +120,9 @@ declare module '@tiptap/core' {
120
120
 
121
121
  declare module '@tiptap/core' {
122
122
  interface Commands<ReturnType> {
123
- emoji: {
124
- setEmoji: (emoji: {
125
- name: string;
126
- emoji: string;
127
- }) => ReturnType;
123
+ drawer: {
124
+ setDrawer: (options: any, replace?: any) => ReturnType;
125
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
128
126
  };
129
127
  }
130
128
  }
@@ -132,9 +130,11 @@ declare module '@tiptap/core' {
132
130
 
133
131
  declare module '@tiptap/core' {
134
132
  interface Commands<ReturnType> {
135
- drawer: {
136
- setDrawer: (options: any, replace?: any) => ReturnType;
137
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
133
+ emoji: {
134
+ setEmoji: (emoji: {
135
+ name: string;
136
+ emoji: string;
137
+ }) => ReturnType;
138
138
  };
139
139
  }
140
140
  }
@@ -158,15 +158,6 @@ declare module '@tiptap/core' {
158
158
  }
159
159
 
160
160
 
161
- declare module '@tiptap/core' {
162
- interface Commands<ReturnType> {
163
- painter: {
164
- setPainter: (marks: Mark[]) => ReturnType;
165
- };
166
- }
167
- }
168
-
169
-
170
161
  declare module '@tiptap/core' {
171
162
  interface Commands<ReturnType> {
172
163
  fontSize: {
@@ -185,6 +176,15 @@ declare module '@tiptap/core' {
185
176
  }
186
177
 
187
178
 
179
+ declare module '@tiptap/core' {
180
+ interface Commands<ReturnType> {
181
+ painter: {
182
+ setPainter: (marks: Mark[]) => ReturnType;
183
+ };
184
+ }
185
+ }
186
+
187
+
188
188
  declare module '@tiptap/core' {
189
189
  interface Commands<ReturnType> {
190
190
  iframe: {
package/lib/Heading.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/Heading.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: {
@@ -111,11 +111,9 @@ declare module '@tiptap/core' {
111
111
 
112
112
  declare module '@tiptap/core' {
113
113
  interface Commands<ReturnType> {
114
- emoji: {
115
- setEmoji: (emoji: {
116
- name: string;
117
- emoji: string;
118
- }) => ReturnType;
114
+ drawer: {
115
+ setDrawer: (options: any, replace?: any) => ReturnType;
116
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
119
117
  };
120
118
  }
121
119
  }
@@ -123,9 +121,11 @@ declare module '@tiptap/core' {
123
121
 
124
122
  declare module '@tiptap/core' {
125
123
  interface Commands<ReturnType> {
126
- drawer: {
127
- setDrawer: (options: any, replace?: any) => ReturnType;
128
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
124
+ emoji: {
125
+ setEmoji: (emoji: {
126
+ name: string;
127
+ emoji: string;
128
+ }) => ReturnType;
129
129
  };
130
130
  }
131
131
  }
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
149
149
  }
150
150
 
151
151
 
152
- declare module '@tiptap/core' {
153
- interface Commands<ReturnType> {
154
- painter: {
155
- setPainter: (marks: Mark[]) => ReturnType;
156
- };
157
- }
158
- }
159
-
160
-
161
152
  declare module '@tiptap/core' {
162
153
  interface Commands<ReturnType> {
163
154
  fontSize: {
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
176
167
  }
177
168
 
178
169
 
170
+ declare module '@tiptap/core' {
171
+ interface Commands<ReturnType> {
172
+ painter: {
173
+ setPainter: (marks: Mark[]) => ReturnType;
174
+ };
175
+ }
176
+ }
177
+
178
+
179
179
  declare module '@tiptap/core' {
180
180
  interface Commands<ReturnType> {
181
181
  iframe: {
@@ -111,11 +111,9 @@ declare module '@tiptap/core' {
111
111
 
112
112
  declare module '@tiptap/core' {
113
113
  interface Commands<ReturnType> {
114
- emoji: {
115
- setEmoji: (emoji: {
116
- name: string;
117
- emoji: string;
118
- }) => ReturnType;
114
+ drawer: {
115
+ setDrawer: (options: any, replace?: any) => ReturnType;
116
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
119
117
  };
120
118
  }
121
119
  }
@@ -123,9 +121,11 @@ declare module '@tiptap/core' {
123
121
 
124
122
  declare module '@tiptap/core' {
125
123
  interface Commands<ReturnType> {
126
- drawer: {
127
- setDrawer: (options: any, replace?: any) => ReturnType;
128
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
124
+ emoji: {
125
+ setEmoji: (emoji: {
126
+ name: string;
127
+ emoji: string;
128
+ }) => ReturnType;
129
129
  };
130
130
  }
131
131
  }
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
149
149
  }
150
150
 
151
151
 
152
- declare module '@tiptap/core' {
153
- interface Commands<ReturnType> {
154
- painter: {
155
- setPainter: (marks: Mark[]) => ReturnType;
156
- };
157
- }
158
- }
159
-
160
-
161
152
  declare module '@tiptap/core' {
162
153
  interface Commands<ReturnType> {
163
154
  fontSize: {
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
176
167
  }
177
168
 
178
169
 
170
+ declare module '@tiptap/core' {
171
+ interface Commands<ReturnType> {
172
+ painter: {
173
+ setPainter: (marks: Mark[]) => ReturnType;
174
+ };
175
+ }
176
+ }
177
+
178
+
179
179
  declare module '@tiptap/core' {
180
180
  interface Commands<ReturnType> {
181
181
  iframe: {
package/lib/History.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/History.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: {
@@ -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: {
@@ -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: {