reactjs-tiptap-editor 0.3.23 → 0.3.25

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 (226) hide show
  1. package/lib/{ActionMenuButton-5AJJxQy1.cjs → ActionMenuButton-B3XOtCey.cjs} +1 -1
  2. package/lib/{ActionMenuButton-DwzYAKDg.js → ActionMenuButton-Bh2ft7th.js} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.d.cts +20 -20
  5. package/lib/Attachment.d.ts +20 -20
  6. package/lib/Attachment.js +2 -2
  7. package/lib/Blockquote.cjs +1 -1
  8. package/lib/Blockquote.d.cts +20 -20
  9. package/lib/Blockquote.d.ts +20 -20
  10. package/lib/Blockquote.js +1 -1
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +20 -20
  13. package/lib/Bold.d.ts +20 -20
  14. package/lib/Bold.js +1 -1
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +20 -20
  17. package/lib/BulletList.d.ts +20 -20
  18. package/lib/BulletList.js +1 -1
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +20 -20
  21. package/lib/Clear.d.ts +20 -20
  22. package/lib/Clear.js +1 -1
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +20 -20
  25. package/lib/Code.d.ts +20 -20
  26. package/lib/Code.js +1 -1
  27. package/lib/CodeBlock.cjs +1 -1
  28. package/lib/CodeBlock.d.cts +20 -20
  29. package/lib/CodeBlock.d.ts +20 -20
  30. package/lib/CodeBlock.js +1 -1
  31. package/lib/CodeView.cjs +1 -1
  32. package/lib/CodeView.d.cts +20 -20
  33. package/lib/CodeView.d.ts +20 -20
  34. package/lib/CodeView.js +1 -1
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +20 -20
  37. package/lib/Color.d.ts +20 -20
  38. package/lib/Color.js +1 -1
  39. package/lib/Document.d.cts +20 -20
  40. package/lib/Document.d.ts +20 -20
  41. package/lib/{Drawer-CCzPaigS.cjs → Drawer-CUntRzbs.cjs} +1 -1
  42. package/lib/{Drawer-Dc03j6W1.js → Drawer-Orz21MYs.js} +10 -10
  43. package/lib/Drawer.cjs +1 -1
  44. package/lib/Drawer.d.cts +20 -20
  45. package/lib/Drawer.d.ts +20 -20
  46. package/lib/Drawer.js +2 -2
  47. package/lib/Emoji.cjs +1 -1
  48. package/lib/Emoji.d.cts +20 -20
  49. package/lib/Emoji.d.ts +20 -20
  50. package/lib/Emoji.js +2 -2
  51. package/lib/{Excalidraw-Bxo4S3ET.cjs → Excalidraw-Bu8XuykT.cjs} +1 -1
  52. package/lib/{Excalidraw-yQ7O39ws.js → Excalidraw-Cj-sXq5F.js} +2 -2
  53. package/lib/Excalidraw.cjs +1 -1
  54. package/lib/Excalidraw.d.cts +20 -20
  55. package/lib/Excalidraw.d.ts +20 -20
  56. package/lib/Excalidraw.js +1 -1
  57. package/lib/ExportPdf.cjs +1 -1
  58. package/lib/ExportPdf.d.cts +20 -20
  59. package/lib/ExportPdf.d.ts +20 -20
  60. package/lib/ExportPdf.js +1 -1
  61. package/lib/ExportWord.cjs +1 -1
  62. package/lib/ExportWord.d.cts +20 -20
  63. package/lib/ExportWord.d.ts +20 -20
  64. package/lib/ExportWord.js +1 -1
  65. package/lib/FontFamily.cjs +1 -1
  66. package/lib/FontFamily.d.cts +20 -20
  67. package/lib/FontFamily.d.ts +20 -20
  68. package/lib/FontFamily.js +5 -5
  69. package/lib/FontSize.cjs +1 -1
  70. package/lib/FontSize.d.cts +20 -20
  71. package/lib/FontSize.d.ts +20 -20
  72. package/lib/FontSize.js +3 -3
  73. package/lib/FormatPainter.cjs +1 -1
  74. package/lib/FormatPainter.d.cts +20 -20
  75. package/lib/FormatPainter.d.ts +20 -20
  76. package/lib/FormatPainter.js +1 -1
  77. package/lib/Heading.cjs +1 -1
  78. package/lib/Heading.d.cts +20 -20
  79. package/lib/Heading.d.ts +20 -20
  80. package/lib/Heading.js +2 -2
  81. package/lib/Highlight.cjs +1 -1
  82. package/lib/Highlight.d.cts +20 -20
  83. package/lib/Highlight.d.ts +20 -20
  84. package/lib/Highlight.js +1 -1
  85. package/lib/History.cjs +1 -1
  86. package/lib/History.d.cts +20 -20
  87. package/lib/History.d.ts +20 -20
  88. package/lib/History.js +1 -1
  89. package/lib/HorizontalRule.cjs +1 -1
  90. package/lib/HorizontalRule.d.cts +20 -20
  91. package/lib/HorizontalRule.d.ts +20 -20
  92. package/lib/HorizontalRule.js +1 -1
  93. package/lib/Iframe.cjs +1 -1
  94. package/lib/Iframe.d.cts +20 -20
  95. package/lib/Iframe.d.ts +20 -20
  96. package/lib/Iframe.js +1 -1
  97. package/lib/Image.cjs +1 -1
  98. package/lib/Image.d.cts +20 -20
  99. package/lib/Image.d.ts +20 -20
  100. package/lib/Image.js +1 -1
  101. package/lib/ImageGif.cjs +1 -1
  102. package/lib/ImageGif.d.cts +20 -20
  103. package/lib/ImageGif.d.ts +20 -20
  104. package/lib/ImageGif.js +1 -1
  105. package/lib/ImportWord.cjs +1 -1
  106. package/lib/ImportWord.d.cts +20 -20
  107. package/lib/ImportWord.d.ts +20 -20
  108. package/lib/ImportWord.js +2 -2
  109. package/lib/Indent.cjs +1 -1
  110. package/lib/Indent.d.cts +20 -20
  111. package/lib/Indent.d.ts +20 -20
  112. package/lib/Indent.js +1 -1
  113. package/lib/Italic.cjs +1 -1
  114. package/lib/Italic.d.cts +20 -20
  115. package/lib/Italic.d.ts +20 -20
  116. package/lib/Italic.js +1 -1
  117. package/lib/Katex.cjs +1 -1
  118. package/lib/Katex.d.cts +20 -20
  119. package/lib/Katex.d.ts +20 -20
  120. package/lib/Katex.js +3 -3
  121. package/lib/LineHeight.cjs +1 -1
  122. package/lib/LineHeight.d.cts +20 -20
  123. package/lib/LineHeight.d.ts +20 -20
  124. package/lib/LineHeight.js +6 -6
  125. package/lib/Link.cjs +1 -1
  126. package/lib/Link.d.cts +20 -20
  127. package/lib/Link.d.ts +20 -20
  128. package/lib/Link.js +1 -1
  129. package/lib/ListItem.d.cts +20 -20
  130. package/lib/ListItem.d.ts +20 -20
  131. package/lib/Mention.d.cts +20 -20
  132. package/lib/Mention.d.ts +20 -20
  133. package/lib/Mermaid.cjs +1 -1
  134. package/lib/Mermaid.d.cts +20 -20
  135. package/lib/Mermaid.d.ts +20 -20
  136. package/lib/Mermaid.js +14 -14
  137. package/lib/MoreMark.cjs +1 -1
  138. package/lib/MoreMark.d.cts +20 -20
  139. package/lib/MoreMark.d.ts +20 -20
  140. package/lib/MoreMark.js +1 -1
  141. package/lib/MultiColumn.cjs +1 -1
  142. package/lib/MultiColumn.d.cts +20 -20
  143. package/lib/MultiColumn.d.ts +20 -20
  144. package/lib/MultiColumn.js +1 -1
  145. package/lib/OrderedList.cjs +1 -1
  146. package/lib/OrderedList.d.cts +20 -20
  147. package/lib/OrderedList.d.ts +20 -20
  148. package/lib/OrderedList.js +1 -1
  149. package/lib/{RichTextEditor-BnC1uaUo.cjs → RichTextEditor-B5WYnm7K.cjs} +2 -2
  150. package/lib/{RichTextEditor-CqgbZwS5.js → RichTextEditor-CfAFp9V2.js} +146 -107
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +20 -20
  153. package/lib/SearchAndReplace.d.ts +20 -20
  154. package/lib/SearchAndReplace.js +2 -2
  155. package/lib/Selection.d.cts +20 -20
  156. package/lib/Selection.d.ts +20 -20
  157. package/lib/SlashCommand.cjs +1 -1
  158. package/lib/SlashCommand.d.cts +20 -20
  159. package/lib/SlashCommand.d.ts +20 -20
  160. package/lib/SlashCommand.js +2 -2
  161. package/lib/Strike.cjs +1 -1
  162. package/lib/Strike.d.cts +20 -20
  163. package/lib/Strike.d.ts +20 -20
  164. package/lib/Strike.js +1 -1
  165. package/lib/SubAndSuperScript.cjs +1 -1
  166. package/lib/SubAndSuperScript.d.cts +20 -20
  167. package/lib/SubAndSuperScript.d.ts +20 -20
  168. package/lib/SubAndSuperScript.js +1 -1
  169. package/lib/Table.cjs +1 -1
  170. package/lib/Table.d.cts +20 -20
  171. package/lib/Table.d.ts +20 -20
  172. package/lib/Table.js +531 -531
  173. package/lib/TableOfContent.cjs +1 -1
  174. package/lib/TableOfContent.d.cts +20 -20
  175. package/lib/TableOfContent.d.ts +20 -20
  176. package/lib/TableOfContent.js +2 -2
  177. package/lib/TaskList.cjs +1 -1
  178. package/lib/TaskList.d.cts +20 -20
  179. package/lib/TaskList.d.ts +20 -20
  180. package/lib/TaskList.js +1 -1
  181. package/lib/TextAlign.cjs +1 -1
  182. package/lib/TextAlign.d.cts +20 -20
  183. package/lib/TextAlign.d.ts +20 -20
  184. package/lib/TextAlign.js +1 -1
  185. package/lib/TextBubble.cjs +1 -1
  186. package/lib/TextBubble.d.cts +20 -20
  187. package/lib/TextBubble.d.ts +20 -20
  188. package/lib/TextBubble.js +2 -2
  189. package/lib/TextDirection.cjs +1 -1
  190. package/lib/TextDirection.d.cts +20 -20
  191. package/lib/TextDirection.d.ts +20 -20
  192. package/lib/TextDirection.js +1 -1
  193. package/lib/TextUnderline.cjs +1 -1
  194. package/lib/TextUnderline.d.cts +20 -20
  195. package/lib/TextUnderline.d.ts +20 -20
  196. package/lib/TextUnderline.js +1 -1
  197. package/lib/TrailingNode.d.cts +20 -20
  198. package/lib/TrailingNode.d.ts +20 -20
  199. package/lib/{Twitter-DjzxXZcS.js → Twitter-9AKqIK4p.js} +2 -2
  200. package/lib/{Twitter-2BEmpZYn.cjs → Twitter-BFwUowi8.cjs} +1 -1
  201. package/lib/Twitter.cjs +1 -1
  202. package/lib/Twitter.d.cts +20 -20
  203. package/lib/Twitter.d.ts +20 -20
  204. package/lib/Twitter.js +1 -1
  205. package/lib/Video.cjs +1 -1
  206. package/lib/Video.d.cts +20 -20
  207. package/lib/Video.d.ts +20 -20
  208. package/lib/Video.js +2 -2
  209. package/lib/bubble-extra.cjs +1 -1
  210. package/lib/bubble-extra.d.cts +20 -20
  211. package/lib/bubble-extra.d.ts +20 -20
  212. package/lib/bubble-extra.js +6 -6
  213. package/lib/{index-Tj3Ci7xM.js → index-CsK90iVd.js} +306 -128
  214. package/lib/index-D_A0TBRA.cjs +1 -0
  215. package/lib/index.cjs +1 -1
  216. package/lib/index.d.cts +20 -20
  217. package/lib/index.d.ts +20 -20
  218. package/lib/index.js +3 -3
  219. package/lib/locale-bundle.cjs +1 -1
  220. package/lib/locale-bundle.d.cts +199 -21
  221. package/lib/locale-bundle.d.ts +199 -21
  222. package/lib/locale-bundle.js +2 -1
  223. package/lib/{textarea-ClmQTGYC.js → textarea-CWt0EMiJ.js} +1 -1
  224. package/lib/{textarea-DsAuYgt7.cjs → textarea-bND4WL8o.cjs} +1 -1
  225. package/package.json +1 -1
  226. package/lib/index-C19MB4Al.cjs +0 -1
package/lib/Table.d.cts CHANGED
@@ -133,9 +133,11 @@ declare module '@tiptap/core' {
133
133
 
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
- drawer: {
137
- setDrawer: (options: any, replace?: any) => ReturnType;
138
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
136
+ emoji: {
137
+ setEmoji: (emoji: {
138
+ name: string;
139
+ emoji: string;
140
+ }) => ReturnType;
139
141
  };
140
142
  }
141
143
  }
@@ -143,11 +145,9 @@ declare module '@tiptap/core' {
143
145
 
144
146
  declare module '@tiptap/core' {
145
147
  interface Commands<ReturnType> {
146
- emoji: {
147
- setEmoji: (emoji: {
148
- name: string;
149
- emoji: string;
150
- }) => ReturnType;
148
+ drawer: {
149
+ setDrawer: (options: any, replace?: any) => ReturnType;
150
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
151
151
  };
152
152
  }
153
153
  }
@@ -215,19 +215,19 @@ declare module '@tiptap/core' {
215
215
 
216
216
  declare module '@tiptap/core' {
217
217
  interface Commands<ReturnType> {
218
- imageUpload: {
218
+ imageGifUpload: {
219
219
  /**
220
- * Add an image
220
+ * Add an image gif
221
221
  */
222
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
222
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
223
223
  /**
224
- * Update an image
224
+ * Update an image gif
225
225
  */
226
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
226
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
227
227
  /**
228
228
  * Set image alignment
229
229
  */
230
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
230
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
231
231
  };
232
232
  }
233
233
  }
@@ -235,19 +235,19 @@ declare module '@tiptap/core' {
235
235
 
236
236
  declare module '@tiptap/core' {
237
237
  interface Commands<ReturnType> {
238
- imageGifUpload: {
238
+ imageUpload: {
239
239
  /**
240
- * Add an image gif
240
+ * Add an image
241
241
  */
242
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
242
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
243
243
  /**
244
- * Update an image gif
244
+ * Update an image
245
245
  */
246
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
246
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
247
247
  /**
248
248
  * Set image alignment
249
249
  */
250
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
250
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
251
251
  };
252
252
  }
253
253
  }
package/lib/Table.d.ts CHANGED
@@ -133,9 +133,11 @@ declare module '@tiptap/core' {
133
133
 
134
134
  declare module '@tiptap/core' {
135
135
  interface Commands<ReturnType> {
136
- drawer: {
137
- setDrawer: (options: any, replace?: any) => ReturnType;
138
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
136
+ emoji: {
137
+ setEmoji: (emoji: {
138
+ name: string;
139
+ emoji: string;
140
+ }) => ReturnType;
139
141
  };
140
142
  }
141
143
  }
@@ -143,11 +145,9 @@ declare module '@tiptap/core' {
143
145
 
144
146
  declare module '@tiptap/core' {
145
147
  interface Commands<ReturnType> {
146
- emoji: {
147
- setEmoji: (emoji: {
148
- name: string;
149
- emoji: string;
150
- }) => ReturnType;
148
+ drawer: {
149
+ setDrawer: (options: any, replace?: any) => ReturnType;
150
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
151
151
  };
152
152
  }
153
153
  }
@@ -215,19 +215,19 @@ declare module '@tiptap/core' {
215
215
 
216
216
  declare module '@tiptap/core' {
217
217
  interface Commands<ReturnType> {
218
- imageUpload: {
218
+ imageGifUpload: {
219
219
  /**
220
- * Add an image
220
+ * Add an image gif
221
221
  */
222
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
222
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
223
223
  /**
224
- * Update an image
224
+ * Update an image gif
225
225
  */
226
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
226
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
227
227
  /**
228
228
  * Set image alignment
229
229
  */
230
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
230
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
231
231
  };
232
232
  }
233
233
  }
@@ -235,19 +235,19 @@ declare module '@tiptap/core' {
235
235
 
236
236
  declare module '@tiptap/core' {
237
237
  interface Commands<ReturnType> {
238
- imageGifUpload: {
238
+ imageUpload: {
239
239
  /**
240
- * Add an image gif
240
+ * Add an image
241
241
  */
242
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
242
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
243
243
  /**
244
- * Update an image gif
244
+ * Update an image
245
245
  */
246
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
246
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
247
247
  /**
248
248
  * Set image alignment
249
249
  */
250
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
250
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
251
251
  };
252
252
  }
253
253
  }