reactjs-tiptap-editor 0.3.13 → 0.3.14

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