reactjs-tiptap-editor 0.3.25 → 0.3.26

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 (221) hide show
  1. package/lib/{ActionMenuButton-B3XOtCey.cjs → ActionMenuButton-C9tPWcDX.cjs} +1 -1
  2. package/lib/{ActionMenuButton-Bh2ft7th.js → ActionMenuButton-DpFt8DwI.js} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.d.cts +36 -27
  5. package/lib/Attachment.d.ts +36 -27
  6. package/lib/Attachment.js +1 -1
  7. package/lib/Blockquote.cjs +1 -1
  8. package/lib/Blockquote.d.cts +36 -27
  9. package/lib/Blockquote.d.ts +36 -27
  10. package/lib/Blockquote.js +1 -1
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +36 -27
  13. package/lib/Bold.d.ts +36 -27
  14. package/lib/Bold.js +1 -1
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +36 -27
  17. package/lib/BulletList.d.ts +36 -27
  18. package/lib/BulletList.js +1 -1
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +36 -27
  21. package/lib/Clear.d.ts +36 -27
  22. package/lib/Clear.js +1 -1
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +36 -27
  25. package/lib/Code.d.ts +36 -27
  26. package/lib/Code.js +1 -1
  27. package/lib/CodeBlock.cjs +1 -1
  28. package/lib/CodeBlock.d.cts +36 -27
  29. package/lib/CodeBlock.d.ts +36 -27
  30. package/lib/CodeBlock.js +1 -1
  31. package/lib/CodeView.cjs +1 -1
  32. package/lib/CodeView.d.cts +36 -27
  33. package/lib/CodeView.d.ts +36 -27
  34. package/lib/CodeView.js +1 -1
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +36 -27
  37. package/lib/Color.d.ts +36 -27
  38. package/lib/Color.js +1 -1
  39. package/lib/Document.d.cts +36 -27
  40. package/lib/Document.d.ts +36 -27
  41. package/lib/{Drawer-CUntRzbs.cjs → Drawer-BQLKKEOB.cjs} +1 -1
  42. package/lib/{Drawer-Orz21MYs.js → Drawer-BouNhUKq.js} +1 -1
  43. package/lib/Drawer.cjs +1 -1
  44. package/lib/Drawer.d.cts +36 -27
  45. package/lib/Drawer.d.ts +36 -27
  46. package/lib/Drawer.js +2 -2
  47. package/lib/Emoji.cjs +1 -1
  48. package/lib/Emoji.d.cts +36 -27
  49. package/lib/Emoji.d.ts +36 -27
  50. package/lib/Emoji.js +1 -1
  51. package/lib/{Excalidraw-Bu8XuykT.cjs → Excalidraw-DYbRbH0x.cjs} +1 -1
  52. package/lib/{Excalidraw-Cj-sXq5F.js → Excalidraw-u2P8Olgi.js} +1 -1
  53. package/lib/Excalidraw.cjs +1 -1
  54. package/lib/Excalidraw.d.cts +36 -27
  55. package/lib/Excalidraw.d.ts +36 -27
  56. package/lib/Excalidraw.js +1 -1
  57. package/lib/ExportPdf.cjs +4 -4
  58. package/lib/ExportPdf.d.cts +37 -27
  59. package/lib/ExportPdf.d.ts +37 -27
  60. package/lib/ExportPdf.js +34 -27
  61. package/lib/ExportWord.cjs +1 -1
  62. package/lib/ExportWord.d.cts +36 -27
  63. package/lib/ExportWord.d.ts +36 -27
  64. package/lib/ExportWord.js +1 -1
  65. package/lib/FontFamily.cjs +1 -1
  66. package/lib/FontFamily.d.cts +36 -27
  67. package/lib/FontFamily.d.ts +36 -27
  68. package/lib/FontFamily.js +2 -2
  69. package/lib/FontSize.cjs +1 -1
  70. package/lib/FontSize.d.cts +36 -27
  71. package/lib/FontSize.d.ts +36 -27
  72. package/lib/FontSize.js +2 -2
  73. package/lib/FormatPainter.cjs +1 -1
  74. package/lib/FormatPainter.d.cts +36 -27
  75. package/lib/FormatPainter.d.ts +36 -27
  76. package/lib/FormatPainter.js +1 -1
  77. package/lib/Heading.cjs +1 -1
  78. package/lib/Heading.d.cts +36 -27
  79. package/lib/Heading.d.ts +36 -27
  80. package/lib/Heading.js +2 -2
  81. package/lib/Highlight.cjs +1 -1
  82. package/lib/Highlight.d.cts +36 -27
  83. package/lib/Highlight.d.ts +36 -27
  84. package/lib/Highlight.js +1 -1
  85. package/lib/History.cjs +1 -1
  86. package/lib/History.d.cts +36 -27
  87. package/lib/History.d.ts +36 -27
  88. package/lib/History.js +1 -1
  89. package/lib/HorizontalRule.cjs +1 -1
  90. package/lib/HorizontalRule.d.cts +36 -27
  91. package/lib/HorizontalRule.d.ts +36 -27
  92. package/lib/HorizontalRule.js +1 -1
  93. package/lib/Iframe.cjs +1 -1
  94. package/lib/Iframe.d.cts +36 -27
  95. package/lib/Iframe.d.ts +36 -27
  96. package/lib/Iframe.js +1 -1
  97. package/lib/Image.cjs +1 -1
  98. package/lib/Image.d.cts +36 -27
  99. package/lib/Image.d.ts +36 -27
  100. package/lib/Image.js +1 -1
  101. package/lib/ImageGif.cjs +1 -1
  102. package/lib/ImageGif.d.cts +36 -27
  103. package/lib/ImageGif.d.ts +36 -27
  104. package/lib/ImageGif.js +1 -1
  105. package/lib/ImportWord.cjs +1 -1
  106. package/lib/ImportWord.d.cts +36 -27
  107. package/lib/ImportWord.d.ts +36 -27
  108. package/lib/ImportWord.js +1 -1
  109. package/lib/Indent.cjs +1 -1
  110. package/lib/Indent.d.cts +36 -27
  111. package/lib/Indent.d.ts +36 -27
  112. package/lib/Indent.js +1 -1
  113. package/lib/Italic.cjs +1 -1
  114. package/lib/Italic.d.cts +36 -27
  115. package/lib/Italic.d.ts +36 -27
  116. package/lib/Italic.js +1 -1
  117. package/lib/Katex.cjs +1 -1
  118. package/lib/Katex.d.cts +36 -27
  119. package/lib/Katex.d.ts +36 -27
  120. package/lib/Katex.js +2 -2
  121. package/lib/LineHeight.cjs +1 -1
  122. package/lib/LineHeight.d.cts +36 -27
  123. package/lib/LineHeight.d.ts +36 -27
  124. package/lib/LineHeight.js +1 -1
  125. package/lib/Link.cjs +1 -1
  126. package/lib/Link.d.cts +36 -27
  127. package/lib/Link.d.ts +36 -27
  128. package/lib/Link.js +1 -1
  129. package/lib/ListItem.d.cts +36 -27
  130. package/lib/ListItem.d.ts +36 -27
  131. package/lib/Mention.d.cts +36 -27
  132. package/lib/Mention.d.ts +36 -27
  133. package/lib/Mermaid.cjs +1 -1
  134. package/lib/Mermaid.d.cts +36 -27
  135. package/lib/Mermaid.d.ts +36 -27
  136. package/lib/Mermaid.js +2 -2
  137. package/lib/MoreMark.cjs +1 -1
  138. package/lib/MoreMark.d.cts +36 -27
  139. package/lib/MoreMark.d.ts +36 -27
  140. package/lib/MoreMark.js +1 -1
  141. package/lib/MultiColumn.cjs +1 -1
  142. package/lib/MultiColumn.d.cts +36 -27
  143. package/lib/MultiColumn.d.ts +36 -27
  144. package/lib/MultiColumn.js +1 -1
  145. package/lib/OrderedList.cjs +1 -1
  146. package/lib/OrderedList.d.cts +36 -27
  147. package/lib/OrderedList.d.ts +36 -27
  148. package/lib/OrderedList.js +1 -1
  149. package/lib/{RichTextEditor-B5WYnm7K.cjs → RichTextEditor-8GrfwaB4.cjs} +1 -1
  150. package/lib/{RichTextEditor-CfAFp9V2.js → RichTextEditor-VkzSL04E.js} +3 -3
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +36 -27
  153. package/lib/SearchAndReplace.d.ts +36 -27
  154. package/lib/SearchAndReplace.js +1 -1
  155. package/lib/Selection.d.cts +36 -27
  156. package/lib/Selection.d.ts +36 -27
  157. package/lib/SlashCommand.cjs +1 -1
  158. package/lib/SlashCommand.d.cts +36 -27
  159. package/lib/SlashCommand.d.ts +36 -27
  160. package/lib/SlashCommand.js +1 -1
  161. package/lib/Strike.cjs +1 -1
  162. package/lib/Strike.d.cts +36 -27
  163. package/lib/Strike.d.ts +36 -27
  164. package/lib/Strike.js +1 -1
  165. package/lib/SubAndSuperScript.cjs +1 -1
  166. package/lib/SubAndSuperScript.d.cts +36 -27
  167. package/lib/SubAndSuperScript.d.ts +36 -27
  168. package/lib/SubAndSuperScript.js +1 -1
  169. package/lib/Table.cjs +1 -1
  170. package/lib/Table.d.cts +36 -27
  171. package/lib/Table.d.ts +36 -27
  172. package/lib/Table.js +1 -1
  173. package/lib/TableOfContent.cjs +1 -1
  174. package/lib/TableOfContent.d.cts +36 -27
  175. package/lib/TableOfContent.d.ts +36 -27
  176. package/lib/TableOfContent.js +1 -1
  177. package/lib/TaskList.cjs +1 -1
  178. package/lib/TaskList.d.cts +36 -27
  179. package/lib/TaskList.d.ts +36 -27
  180. package/lib/TaskList.js +1 -1
  181. package/lib/TextAlign.cjs +1 -1
  182. package/lib/TextAlign.d.cts +36 -27
  183. package/lib/TextAlign.d.ts +36 -27
  184. package/lib/TextAlign.js +1 -1
  185. package/lib/TextBubble.cjs +1 -1
  186. package/lib/TextBubble.d.cts +36 -27
  187. package/lib/TextBubble.d.ts +36 -27
  188. package/lib/TextBubble.js +1 -1
  189. package/lib/TextDirection.cjs +1 -1
  190. package/lib/TextDirection.d.cts +36 -27
  191. package/lib/TextDirection.d.ts +36 -27
  192. package/lib/TextDirection.js +1 -1
  193. package/lib/TextUnderline.cjs +1 -1
  194. package/lib/TextUnderline.d.cts +36 -27
  195. package/lib/TextUnderline.d.ts +36 -27
  196. package/lib/TextUnderline.js +1 -1
  197. package/lib/TrailingNode.d.cts +36 -27
  198. package/lib/TrailingNode.d.ts +36 -27
  199. package/lib/{Twitter-9AKqIK4p.js → Twitter-DlKz1fXJ.js} +1 -1
  200. package/lib/{Twitter-BFwUowi8.cjs → Twitter-u_6ZejIn.cjs} +1 -1
  201. package/lib/Twitter.cjs +1 -1
  202. package/lib/Twitter.d.cts +36 -27
  203. package/lib/Twitter.d.ts +36 -27
  204. package/lib/Twitter.js +1 -1
  205. package/lib/Video.cjs +1 -1
  206. package/lib/Video.d.cts +36 -27
  207. package/lib/Video.d.ts +36 -27
  208. package/lib/Video.js +1 -1
  209. package/lib/bubble-extra.cjs +1 -1
  210. package/lib/bubble-extra.d.cts +36 -27
  211. package/lib/bubble-extra.d.ts +36 -27
  212. package/lib/bubble-extra.js +5 -5
  213. package/lib/index.cjs +1 -1
  214. package/lib/index.d.cts +36 -27
  215. package/lib/index.d.ts +36 -27
  216. package/lib/index.js +2 -2
  217. package/lib/locale-bundle.d.cts +36 -27
  218. package/lib/locale-bundle.d.ts +36 -27
  219. package/lib/{textarea-CWt0EMiJ.js → textarea-BA9ETXT8.js} +1 -1
  220. package/lib/{textarea-bND4WL8o.cjs → textarea-ESw2TM_u.cjs} +1 -1
  221. package/package.json +1 -1
@@ -1134,6 +1134,15 @@ declare module '@tiptap/core' {
1134
1134
  }
1135
1135
 
1136
1136
 
1137
+ declare module '@tiptap/core' {
1138
+ interface Commands<ReturnType> {
1139
+ excalidraw: {
1140
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1141
+ };
1142
+ }
1143
+ }
1144
+
1145
+
1137
1146
  declare module '@tiptap/core' {
1138
1147
  interface Commands<ReturnType> {
1139
1148
  drawer: {
@@ -1146,8 +1155,8 @@ declare module '@tiptap/core' {
1146
1155
 
1147
1156
  declare module '@tiptap/core' {
1148
1157
  interface Commands<ReturnType> {
1149
- excalidraw: {
1150
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1158
+ exportPdf: {
1159
+ exportToPdf: () => ReturnType;
1151
1160
  };
1152
1161
  }
1153
1162
  }
@@ -1206,19 +1215,19 @@ declare module '@tiptap/core' {
1206
1215
 
1207
1216
  declare module '@tiptap/core' {
1208
1217
  interface Commands<ReturnType> {
1209
- imageGifUpload: {
1218
+ imageUpload: {
1210
1219
  /**
1211
- * Add an image gif
1220
+ * Add an image
1212
1221
  */
1213
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1222
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1214
1223
  /**
1215
- * Update an image gif
1224
+ * Update an image
1216
1225
  */
1217
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1226
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1218
1227
  /**
1219
1228
  * Set image alignment
1220
1229
  */
1221
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1230
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1222
1231
  };
1223
1232
  }
1224
1233
  }
@@ -1226,19 +1235,19 @@ declare module '@tiptap/core' {
1226
1235
 
1227
1236
  declare module '@tiptap/core' {
1228
1237
  interface Commands<ReturnType> {
1229
- imageUpload: {
1238
+ imageGifUpload: {
1230
1239
  /**
1231
- * Add an image
1240
+ * Add an image gif
1232
1241
  */
1233
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1242
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1234
1243
  /**
1235
- * Update an image
1244
+ * Update an image gif
1236
1245
  */
1237
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1246
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1238
1247
  /**
1239
1248
  * Set image alignment
1240
1249
  */
1241
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1250
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1242
1251
  };
1243
1252
  }
1244
1253
  }
@@ -1330,14 +1339,15 @@ declare module '@tiptap/core' {
1330
1339
 
1331
1340
  declare module '@tiptap/core' {
1332
1341
  interface Commands<ReturnType> {
1333
- twitter: {
1342
+ video: {
1334
1343
  /**
1335
- * Insert a tweet
1336
- * @param options The tweet attributes
1337
- * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1344
+ * Add an video
1338
1345
  */
1339
- setTweet: (options: SetTweetOptions) => ReturnType;
1340
- updateTweet: (options: SetTweetOptions) => ReturnType;
1346
+ setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1347
+ /**
1348
+ * Update an video
1349
+ */
1350
+ updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1341
1351
  };
1342
1352
  }
1343
1353
  }
@@ -1345,15 +1355,14 @@ declare module '@tiptap/core' {
1345
1355
 
1346
1356
  declare module '@tiptap/core' {
1347
1357
  interface Commands<ReturnType> {
1348
- video: {
1349
- /**
1350
- * Add an video
1351
- */
1352
- setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1358
+ twitter: {
1353
1359
  /**
1354
- * Update an video
1360
+ * Insert a tweet
1361
+ * @param options The tweet attributes
1362
+ * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1355
1363
  */
1356
- updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1364
+ setTweet: (options: SetTweetOptions) => ReturnType;
1365
+ updateTweet: (options: SetTweetOptions) => ReturnType;
1357
1366
  };
1358
1367
  }
1359
1368
  }
@@ -1134,6 +1134,15 @@ declare module '@tiptap/core' {
1134
1134
  }
1135
1135
 
1136
1136
 
1137
+ declare module '@tiptap/core' {
1138
+ interface Commands<ReturnType> {
1139
+ excalidraw: {
1140
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1141
+ };
1142
+ }
1143
+ }
1144
+
1145
+
1137
1146
  declare module '@tiptap/core' {
1138
1147
  interface Commands<ReturnType> {
1139
1148
  drawer: {
@@ -1146,8 +1155,8 @@ declare module '@tiptap/core' {
1146
1155
 
1147
1156
  declare module '@tiptap/core' {
1148
1157
  interface Commands<ReturnType> {
1149
- excalidraw: {
1150
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1158
+ exportPdf: {
1159
+ exportToPdf: () => ReturnType;
1151
1160
  };
1152
1161
  }
1153
1162
  }
@@ -1206,19 +1215,19 @@ declare module '@tiptap/core' {
1206
1215
 
1207
1216
  declare module '@tiptap/core' {
1208
1217
  interface Commands<ReturnType> {
1209
- imageGifUpload: {
1218
+ imageUpload: {
1210
1219
  /**
1211
- * Add an image gif
1220
+ * Add an image
1212
1221
  */
1213
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1222
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1214
1223
  /**
1215
- * Update an image gif
1224
+ * Update an image
1216
1225
  */
1217
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1226
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1218
1227
  /**
1219
1228
  * Set image alignment
1220
1229
  */
1221
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1230
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1222
1231
  };
1223
1232
  }
1224
1233
  }
@@ -1226,19 +1235,19 @@ declare module '@tiptap/core' {
1226
1235
 
1227
1236
  declare module '@tiptap/core' {
1228
1237
  interface Commands<ReturnType> {
1229
- imageUpload: {
1238
+ imageGifUpload: {
1230
1239
  /**
1231
- * Add an image
1240
+ * Add an image gif
1232
1241
  */
1233
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1242
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1234
1243
  /**
1235
- * Update an image
1244
+ * Update an image gif
1236
1245
  */
1237
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1246
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1238
1247
  /**
1239
1248
  * Set image alignment
1240
1249
  */
1241
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1250
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1242
1251
  };
1243
1252
  }
1244
1253
  }
@@ -1330,14 +1339,15 @@ declare module '@tiptap/core' {
1330
1339
 
1331
1340
  declare module '@tiptap/core' {
1332
1341
  interface Commands<ReturnType> {
1333
- twitter: {
1342
+ video: {
1334
1343
  /**
1335
- * Insert a tweet
1336
- * @param options The tweet attributes
1337
- * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1344
+ * Add an video
1338
1345
  */
1339
- setTweet: (options: SetTweetOptions) => ReturnType;
1340
- updateTweet: (options: SetTweetOptions) => ReturnType;
1346
+ setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1347
+ /**
1348
+ * Update an video
1349
+ */
1350
+ updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1341
1351
  };
1342
1352
  }
1343
1353
  }
@@ -1345,15 +1355,14 @@ declare module '@tiptap/core' {
1345
1355
 
1346
1356
  declare module '@tiptap/core' {
1347
1357
  interface Commands<ReturnType> {
1348
- video: {
1349
- /**
1350
- * Add an video
1351
- */
1352
- setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1358
+ twitter: {
1353
1359
  /**
1354
- * Update an video
1360
+ * Insert a tweet
1361
+ * @param options The tweet attributes
1362
+ * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1355
1363
  */
1356
- updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1364
+ setTweet: (options: SetTweetOptions) => ReturnType;
1365
+ updateTweet: (options: SetTweetOptions) => ReturnType;
1357
1366
  };
1358
1367
  }
1359
1368
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import { d as o } from "./RichTextEditor-CfAFp9V2.js";
3
+ import { d as o } from "./RichTextEditor-VkzSL04E.js";
4
4
  const x = c.forwardRef(
5
5
  ({ className: t, ...e }, r) => /* @__PURE__ */ i(
6
6
  "textarea",
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-B5WYnm7K.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
1
+ "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-8GrfwaB4.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reactjs-tiptap-editor",
3
3
  "type": "module",
4
- "version": "0.3.25",
4
+ "version": "0.3.26",
5
5
  "packageManager": "pnpm@8.15.9",
6
6
  "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
7
7
  "license": "MIT",