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
@@ -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: {
@@ -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: {
package/lib/Bold.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/Bold.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: {
package/lib/Clear.d.cts CHANGED
@@ -109,11 +109,9 @@ declare module '@tiptap/core' {
109
109
 
110
110
  declare module '@tiptap/core' {
111
111
  interface Commands<ReturnType> {
112
- emoji: {
113
- setEmoji: (emoji: {
114
- name: string;
115
- emoji: string;
116
- }) => ReturnType;
112
+ drawer: {
113
+ setDrawer: (options: any, replace?: any) => ReturnType;
114
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
117
115
  };
118
116
  }
119
117
  }
@@ -121,9 +119,11 @@ declare module '@tiptap/core' {
121
119
 
122
120
  declare module '@tiptap/core' {
123
121
  interface Commands<ReturnType> {
124
- drawer: {
125
- setDrawer: (options: any, replace?: any) => ReturnType;
126
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
122
+ emoji: {
123
+ setEmoji: (emoji: {
124
+ name: string;
125
+ emoji: string;
126
+ }) => ReturnType;
127
127
  };
128
128
  }
129
129
  }
@@ -147,15 +147,6 @@ declare module '@tiptap/core' {
147
147
  }
148
148
 
149
149
 
150
- declare module '@tiptap/core' {
151
- interface Commands<ReturnType> {
152
- painter: {
153
- setPainter: (marks: Mark[]) => ReturnType;
154
- };
155
- }
156
- }
157
-
158
-
159
150
  declare module '@tiptap/core' {
160
151
  interface Commands<ReturnType> {
161
152
  fontSize: {
@@ -174,6 +165,15 @@ declare module '@tiptap/core' {
174
165
  }
175
166
 
176
167
 
168
+ declare module '@tiptap/core' {
169
+ interface Commands<ReturnType> {
170
+ painter: {
171
+ setPainter: (marks: Mark[]) => ReturnType;
172
+ };
173
+ }
174
+ }
175
+
176
+
177
177
  declare module '@tiptap/core' {
178
178
  interface Commands<ReturnType> {
179
179
  iframe: {
package/lib/Clear.d.ts CHANGED
@@ -109,11 +109,9 @@ declare module '@tiptap/core' {
109
109
 
110
110
  declare module '@tiptap/core' {
111
111
  interface Commands<ReturnType> {
112
- emoji: {
113
- setEmoji: (emoji: {
114
- name: string;
115
- emoji: string;
116
- }) => ReturnType;
112
+ drawer: {
113
+ setDrawer: (options: any, replace?: any) => ReturnType;
114
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
117
115
  };
118
116
  }
119
117
  }
@@ -121,9 +119,11 @@ declare module '@tiptap/core' {
121
119
 
122
120
  declare module '@tiptap/core' {
123
121
  interface Commands<ReturnType> {
124
- drawer: {
125
- setDrawer: (options: any, replace?: any) => ReturnType;
126
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
122
+ emoji: {
123
+ setEmoji: (emoji: {
124
+ name: string;
125
+ emoji: string;
126
+ }) => ReturnType;
127
127
  };
128
128
  }
129
129
  }
@@ -147,15 +147,6 @@ declare module '@tiptap/core' {
147
147
  }
148
148
 
149
149
 
150
- declare module '@tiptap/core' {
151
- interface Commands<ReturnType> {
152
- painter: {
153
- setPainter: (marks: Mark[]) => ReturnType;
154
- };
155
- }
156
- }
157
-
158
-
159
150
  declare module '@tiptap/core' {
160
151
  interface Commands<ReturnType> {
161
152
  fontSize: {
@@ -174,6 +165,15 @@ declare module '@tiptap/core' {
174
165
  }
175
166
 
176
167
 
168
+ declare module '@tiptap/core' {
169
+ interface Commands<ReturnType> {
170
+ painter: {
171
+ setPainter: (marks: Mark[]) => ReturnType;
172
+ };
173
+ }
174
+ }
175
+
176
+
177
177
  declare module '@tiptap/core' {
178
178
  interface Commands<ReturnType> {
179
179
  iframe: {
package/lib/Code.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: {