reactjs-tiptap-editor 0.3.3 → 0.3.4

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 (227) hide show
  1. package/lib/{ActionMenuButton-D5CqiauP.cjs → ActionMenuButton-DWudb-EA.cjs} +1 -1
  2. package/lib/{ActionMenuButton-DJQVpcjj.js → ActionMenuButton-_fmUfylg.js} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.d.cts +17 -5
  5. package/lib/Attachment.d.ts +17 -5
  6. package/lib/Attachment.js +2 -2
  7. package/lib/Blockquote.cjs +1 -1
  8. package/lib/Blockquote.d.cts +17 -5
  9. package/lib/Blockquote.d.ts +17 -5
  10. package/lib/Blockquote.js +1 -1
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +17 -5
  13. package/lib/Bold.d.ts +17 -5
  14. package/lib/Bold.js +1 -1
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +17 -5
  17. package/lib/BulletList.d.ts +17 -5
  18. package/lib/BulletList.js +1 -1
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +17 -5
  21. package/lib/Clear.d.ts +17 -5
  22. package/lib/Clear.js +1 -1
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +17 -5
  25. package/lib/Code.d.ts +17 -5
  26. package/lib/Code.js +1 -1
  27. package/lib/CodeBlock.cjs +1 -1
  28. package/lib/CodeBlock.d.cts +17 -5
  29. package/lib/CodeBlock.d.ts +17 -5
  30. package/lib/CodeBlock.js +1 -1
  31. package/lib/CodeView.cjs +1 -0
  32. package/lib/CodeView.d.cts +354 -0
  33. package/lib/CodeView.d.ts +354 -0
  34. package/lib/CodeView.js +53 -0
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +17 -5
  37. package/lib/Color.d.ts +17 -5
  38. package/lib/Color.js +2 -2
  39. package/lib/Document.d.cts +17 -5
  40. package/lib/Document.d.ts +17 -5
  41. package/lib/{Drawer-82lBASmO.js → Drawer-C9nzP3w1.js} +18 -18
  42. package/lib/{Drawer-DLV1rOAE.cjs → Drawer-y2uXLloa.cjs} +1 -1
  43. package/lib/Drawer.cjs +1 -1
  44. package/lib/Drawer.d.cts +17 -5
  45. package/lib/Drawer.d.ts +17 -5
  46. package/lib/Drawer.js +2 -2
  47. package/lib/Emoji.cjs +1 -1
  48. package/lib/Emoji.d.cts +17 -5
  49. package/lib/Emoji.d.ts +17 -5
  50. package/lib/Emoji.js +2 -2
  51. package/lib/{Excalidraw-CsD-4eCA.js → Excalidraw-BihHDjEo.js} +2 -2
  52. package/lib/{Excalidraw-BuGGHrVK.cjs → Excalidraw-DMKzooX1.cjs} +1 -1
  53. package/lib/Excalidraw.cjs +1 -1
  54. package/lib/Excalidraw.d.cts +17 -5
  55. package/lib/Excalidraw.d.ts +17 -5
  56. package/lib/Excalidraw.js +1 -1
  57. package/lib/ExportPdf.cjs +1 -1
  58. package/lib/ExportPdf.d.cts +17 -5
  59. package/lib/ExportPdf.d.ts +17 -5
  60. package/lib/ExportPdf.js +1 -1
  61. package/lib/ExportWord.cjs +1 -1
  62. package/lib/ExportWord.d.cts +17 -5
  63. package/lib/ExportWord.d.ts +17 -5
  64. package/lib/ExportWord.js +1 -1
  65. package/lib/FontFamily.cjs +1 -1
  66. package/lib/FontFamily.d.cts +17 -5
  67. package/lib/FontFamily.d.ts +17 -5
  68. package/lib/FontFamily.js +3 -3
  69. package/lib/FontSize.cjs +1 -1
  70. package/lib/FontSize.d.cts +17 -5
  71. package/lib/FontSize.d.ts +17 -5
  72. package/lib/FontSize.js +3 -3
  73. package/lib/FormatPainter.cjs +1 -1
  74. package/lib/FormatPainter.d.cts +17 -5
  75. package/lib/FormatPainter.d.ts +17 -5
  76. package/lib/FormatPainter.js +1 -1
  77. package/lib/Heading.cjs +1 -1
  78. package/lib/Heading.d.cts +17 -5
  79. package/lib/Heading.d.ts +17 -5
  80. package/lib/Heading.js +2 -2
  81. package/lib/Highlight.cjs +1 -1
  82. package/lib/Highlight.d.cts +17 -5
  83. package/lib/Highlight.d.ts +17 -5
  84. package/lib/Highlight.js +1 -1
  85. package/lib/History.cjs +1 -1
  86. package/lib/History.d.cts +17 -5
  87. package/lib/History.d.ts +17 -5
  88. package/lib/History.js +1 -1
  89. package/lib/HorizontalRule.cjs +1 -1
  90. package/lib/HorizontalRule.d.cts +17 -5
  91. package/lib/HorizontalRule.d.ts +17 -5
  92. package/lib/HorizontalRule.js +1 -1
  93. package/lib/Iframe.cjs +1 -1
  94. package/lib/Iframe.d.cts +17 -5
  95. package/lib/Iframe.d.ts +17 -5
  96. package/lib/Iframe.js +1 -1
  97. package/lib/Image.cjs +1 -1
  98. package/lib/Image.d.cts +17 -5
  99. package/lib/Image.d.ts +17 -5
  100. package/lib/Image.js +1 -1
  101. package/lib/ImageGif.cjs +1 -1
  102. package/lib/ImageGif.d.cts +17 -5
  103. package/lib/ImageGif.d.ts +17 -5
  104. package/lib/ImageGif.js +1 -1
  105. package/lib/ImportWord.cjs +1 -1
  106. package/lib/ImportWord.d.cts +17 -5
  107. package/lib/ImportWord.d.ts +17 -5
  108. package/lib/ImportWord.js +2 -2
  109. package/lib/Indent.cjs +1 -1
  110. package/lib/Indent.d.cts +17 -5
  111. package/lib/Indent.d.ts +17 -5
  112. package/lib/Indent.js +1 -1
  113. package/lib/Italic.cjs +1 -1
  114. package/lib/Italic.d.cts +17 -5
  115. package/lib/Italic.d.ts +17 -5
  116. package/lib/Italic.js +1 -1
  117. package/lib/Katex.cjs +1 -1
  118. package/lib/Katex.d.cts +17 -5
  119. package/lib/Katex.d.ts +17 -5
  120. package/lib/Katex.js +3 -3
  121. package/lib/LineHeight.cjs +1 -1
  122. package/lib/LineHeight.d.cts +17 -5
  123. package/lib/LineHeight.d.ts +17 -5
  124. package/lib/LineHeight.js +8 -8
  125. package/lib/Link.cjs +1 -1
  126. package/lib/Link.d.cts +17 -5
  127. package/lib/Link.d.ts +17 -5
  128. package/lib/Link.js +1 -1
  129. package/lib/ListItem.d.cts +17 -5
  130. package/lib/ListItem.d.ts +17 -5
  131. package/lib/Mention.d.cts +17 -5
  132. package/lib/Mention.d.ts +17 -5
  133. package/lib/Mermaid.cjs +1 -1
  134. package/lib/Mermaid.d.cts +17 -5
  135. package/lib/Mermaid.d.ts +17 -5
  136. package/lib/Mermaid.js +14 -14
  137. package/lib/MoreMark.cjs +1 -1
  138. package/lib/MoreMark.d.cts +17 -5
  139. package/lib/MoreMark.d.ts +17 -5
  140. package/lib/MoreMark.js +1 -1
  141. package/lib/MultiColumn.cjs +1 -1
  142. package/lib/MultiColumn.d.cts +17 -5
  143. package/lib/MultiColumn.d.ts +17 -5
  144. package/lib/MultiColumn.js +1 -1
  145. package/lib/OrderedList.cjs +1 -1
  146. package/lib/OrderedList.d.cts +17 -5
  147. package/lib/OrderedList.d.ts +17 -5
  148. package/lib/OrderedList.js +1 -1
  149. package/lib/{RichTextEditor-BwuyWeH3.js → RichTextEditor-D5VO1y1d.js} +727 -716
  150. package/lib/RichTextEditor-qp9T7xuG.cjs +137 -0
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +17 -5
  153. package/lib/SearchAndReplace.d.ts +17 -5
  154. package/lib/SearchAndReplace.js +2 -2
  155. package/lib/Selection.d.cts +17 -5
  156. package/lib/Selection.d.ts +17 -5
  157. package/lib/SlashCommand.cjs +1 -1
  158. package/lib/SlashCommand.d.cts +17 -5
  159. package/lib/SlashCommand.d.ts +17 -5
  160. package/lib/SlashCommand.js +2 -2
  161. package/lib/Strike.cjs +1 -1
  162. package/lib/Strike.d.cts +17 -5
  163. package/lib/Strike.d.ts +17 -5
  164. package/lib/Strike.js +1 -1
  165. package/lib/SubAndSuperScript.cjs +1 -1
  166. package/lib/SubAndSuperScript.d.cts +17 -5
  167. package/lib/SubAndSuperScript.d.ts +17 -5
  168. package/lib/SubAndSuperScript.js +1 -1
  169. package/lib/Table.cjs +1 -1
  170. package/lib/Table.d.cts +17 -5
  171. package/lib/Table.d.ts +17 -5
  172. package/lib/Table.js +2 -2
  173. package/lib/TableOfContent.cjs +1 -1
  174. package/lib/TableOfContent.d.cts +17 -5
  175. package/lib/TableOfContent.d.ts +17 -5
  176. package/lib/TableOfContent.js +4 -4
  177. package/lib/TaskList.cjs +1 -1
  178. package/lib/TaskList.d.cts +17 -5
  179. package/lib/TaskList.d.ts +17 -5
  180. package/lib/TaskList.js +1 -1
  181. package/lib/TextAlign.cjs +1 -1
  182. package/lib/TextAlign.d.cts +17 -5
  183. package/lib/TextAlign.d.ts +17 -5
  184. package/lib/TextAlign.js +1 -1
  185. package/lib/TextBubble.cjs +1 -1
  186. package/lib/TextBubble.d.cts +17 -5
  187. package/lib/TextBubble.d.ts +17 -5
  188. package/lib/TextBubble.js +2 -2
  189. package/lib/TextDirection.cjs +1 -1
  190. package/lib/TextDirection.d.cts +17 -5
  191. package/lib/TextDirection.d.ts +17 -5
  192. package/lib/TextDirection.js +1 -1
  193. package/lib/TextUnderline.cjs +1 -1
  194. package/lib/TextUnderline.d.cts +17 -5
  195. package/lib/TextUnderline.d.ts +17 -5
  196. package/lib/TextUnderline.js +1 -1
  197. package/lib/TrailingNode.d.cts +17 -5
  198. package/lib/TrailingNode.d.ts +17 -5
  199. package/lib/{Twitter-Bstfoi9X.js → Twitter-CH7Z4Iof.js} +2 -2
  200. package/lib/{Twitter-D41ISCsH.cjs → Twitter-CgVy5oQW.cjs} +1 -1
  201. package/lib/Twitter.cjs +1 -1
  202. package/lib/Twitter.d.cts +17 -5
  203. package/lib/Twitter.d.ts +17 -5
  204. package/lib/Twitter.js +1 -1
  205. package/lib/Video.cjs +1 -1
  206. package/lib/Video.d.cts +17 -5
  207. package/lib/Video.d.ts +17 -5
  208. package/lib/Video.js +2 -2
  209. package/lib/bubble-extra.cjs +1 -1
  210. package/lib/bubble-extra.d.cts +17 -5
  211. package/lib/bubble-extra.d.ts +17 -5
  212. package/lib/bubble-extra.js +6 -6
  213. package/lib/{index-D9llIWB5.js → index-D-DR0FPY.js} +18 -13
  214. package/lib/index-Dz3YxLE7.cjs +1 -0
  215. package/lib/index.cjs +1 -1
  216. package/lib/index.d.cts +18 -5
  217. package/lib/index.d.ts +18 -5
  218. package/lib/index.js +3 -3
  219. package/lib/locale-bundle.cjs +1 -1
  220. package/lib/locale-bundle.d.cts +22 -5
  221. package/lib/locale-bundle.d.ts +22 -5
  222. package/lib/locale-bundle.js +1 -1
  223. package/lib/{textarea-CfH4-Iyy.js → textarea-CDp8O87y.js} +1 -1
  224. package/lib/{textarea-ZGJkH6ji.cjs → textarea-CqMUEJEj.cjs} +1 -1
  225. package/package.json +14 -1
  226. package/lib/RichTextEditor-NfX6yV6A.cjs +0 -137
  227. package/lib/index-LbrE7K9i.cjs +0 -1
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useRef as O, useState as S, useEffect as B } from "react";
2
- import { a8 as z, a9 as N } from "./RichTextEditor-BwuyWeH3.js";
3
- import { aa as ve } from "./RichTextEditor-BwuyWeH3.js";
2
+ import { a8 as z, a9 as N } from "./RichTextEditor-D5VO1y1d.js";
3
+ import { aa as ve } from "./RichTextEditor-D5VO1y1d.js";
4
4
  import { B as ke } from "./dom-dataset-CJ7GyQ2E.js";
5
5
  import { E as h, P as p, a as w, J as L, D as C, b, y as R, F as k, B as P, T as M, f as T, S as y, G as D, H as V, N as x, m as A, K as H } from "./index-Drmyqk9P.js";
6
6
  import { ListItem as F } from "./ListItem.js";
@@ -9,7 +9,7 @@ import { Document as K } from "./Document.js";
9
9
  import { Selection as G } from "./Selection.js";
10
10
  import { TextBubble as J } from "./TextBubble.js";
11
11
  import { TrailingNode as W } from "./TrailingNode.js";
12
- import { m } from "./index-D9llIWB5.js";
12
+ import { m } from "./index-D-DR0FPY.js";
13
13
  function ye() {
14
14
  var l;
15
15
  const t = O({ editor: null }), [e, o] = S(!1), [s, r] = S(null);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-LbrE7K9i.cjs");exports.en=e.locale$1;exports.hu_HU=e.locale$2;exports.locale=e.locale;exports.pt_BR=e.locale$5;exports.vi=e.locale$3;exports.zh_CN=e.locale$4;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dz3YxLE7.cjs");exports.en=e.locale$1;exports.hu_HU=e.locale$2;exports.locale=e.locale;exports.pt_BR=e.locale$5;exports.vi=e.locale$3;exports.zh_CN=e.locale$4;
@@ -166,6 +166,7 @@ export declare const en: {
166
166
  'editor.replace.caseSensitive': string;
167
167
  'editor.mermaid.tooltip': string;
168
168
  'editor.twitter.tooltip': string;
169
+ 'editor.codeView.tooltip': string;
169
170
  'editor.tooltip.flipX': string;
170
171
  'editor.tooltip.flipY': string;
171
172
  };
@@ -338,6 +339,7 @@ export declare const hu_HU: {
338
339
  'editor.replace.caseSensitive': string;
339
340
  'editor.mermaid.tooltip': string;
340
341
  'editor.twitter.tooltip': string;
342
+ 'editor.codeView.tooltip': string;
341
343
  'editor.tooltip.flipX': string;
342
344
  'editor.tooltip.flipY': string;
343
345
  };
@@ -533,6 +535,7 @@ export declare const pt_BR: {
533
535
  'editor.replace.caseSensitive': string;
534
536
  'editor.mermaid.tooltip': string;
535
537
  'editor.twitter.tooltip': string;
538
+ 'editor.codeView.tooltip': string;
536
539
  'editor.tooltip.flipX': string;
537
540
  'editor.tooltip.flipY': string;
538
541
  };
@@ -705,6 +708,7 @@ export declare const vi: {
705
708
  'editor.replace.caseSensitive': string;
706
709
  'editor.mermaid.tooltip': string;
707
710
  'editor.twitter.tooltip': string;
711
+ 'editor.codeView.tooltip': string;
708
712
  'editor.tooltip.flipX': string;
709
713
  'editor.tooltip.flipY': string;
710
714
  };
@@ -877,6 +881,7 @@ export declare const zh_CN: {
877
881
  'editor.replace.caseSensitive': string;
878
882
  'editor.mermaid.tooltip': string;
879
883
  'editor.twitter.tooltip': string;
884
+ 'editor.codeView.tooltip': string;
880
885
  'editor.tooltip.flipX': string;
881
886
  'editor.tooltip.flipY': string;
882
887
  };
@@ -904,11 +909,11 @@ declare module '@tiptap/core' {
904
909
 
905
910
  declare module '@tiptap/core' {
906
911
  interface Commands<ReturnType> {
907
- emoji: {
908
- setEmoji: (emoji: {
909
- name: string;
910
- emoji: string;
911
- }) => ReturnType;
912
+ codeView: {
913
+ /**
914
+ * Toggle code view mode
915
+ */
916
+ toggleCodeView: () => ReturnType;
912
917
  };
913
918
  }
914
919
  }
@@ -924,6 +929,18 @@ declare module '@tiptap/core' {
924
929
  }
925
930
 
926
931
 
932
+ declare module '@tiptap/core' {
933
+ interface Commands<ReturnType> {
934
+ emoji: {
935
+ setEmoji: (emoji: {
936
+ name: string;
937
+ emoji: string;
938
+ }) => ReturnType;
939
+ };
940
+ }
941
+ }
942
+
943
+
927
944
  declare module '@tiptap/core' {
928
945
  interface Commands<ReturnType> {
929
946
  excalidraw: {
@@ -166,6 +166,7 @@ export declare const en: {
166
166
  'editor.replace.caseSensitive': string;
167
167
  'editor.mermaid.tooltip': string;
168
168
  'editor.twitter.tooltip': string;
169
+ 'editor.codeView.tooltip': string;
169
170
  'editor.tooltip.flipX': string;
170
171
  'editor.tooltip.flipY': string;
171
172
  };
@@ -338,6 +339,7 @@ export declare const hu_HU: {
338
339
  'editor.replace.caseSensitive': string;
339
340
  'editor.mermaid.tooltip': string;
340
341
  'editor.twitter.tooltip': string;
342
+ 'editor.codeView.tooltip': string;
341
343
  'editor.tooltip.flipX': string;
342
344
  'editor.tooltip.flipY': string;
343
345
  };
@@ -533,6 +535,7 @@ export declare const pt_BR: {
533
535
  'editor.replace.caseSensitive': string;
534
536
  'editor.mermaid.tooltip': string;
535
537
  'editor.twitter.tooltip': string;
538
+ 'editor.codeView.tooltip': string;
536
539
  'editor.tooltip.flipX': string;
537
540
  'editor.tooltip.flipY': string;
538
541
  };
@@ -705,6 +708,7 @@ export declare const vi: {
705
708
  'editor.replace.caseSensitive': string;
706
709
  'editor.mermaid.tooltip': string;
707
710
  'editor.twitter.tooltip': string;
711
+ 'editor.codeView.tooltip': string;
708
712
  'editor.tooltip.flipX': string;
709
713
  'editor.tooltip.flipY': string;
710
714
  };
@@ -877,6 +881,7 @@ export declare const zh_CN: {
877
881
  'editor.replace.caseSensitive': string;
878
882
  'editor.mermaid.tooltip': string;
879
883
  'editor.twitter.tooltip': string;
884
+ 'editor.codeView.tooltip': string;
880
885
  'editor.tooltip.flipX': string;
881
886
  'editor.tooltip.flipY': string;
882
887
  };
@@ -904,11 +909,11 @@ declare module '@tiptap/core' {
904
909
 
905
910
  declare module '@tiptap/core' {
906
911
  interface Commands<ReturnType> {
907
- emoji: {
908
- setEmoji: (emoji: {
909
- name: string;
910
- emoji: string;
911
- }) => ReturnType;
912
+ codeView: {
913
+ /**
914
+ * Toggle code view mode
915
+ */
916
+ toggleCodeView: () => ReturnType;
912
917
  };
913
918
  }
914
919
  }
@@ -924,6 +929,18 @@ declare module '@tiptap/core' {
924
929
  }
925
930
 
926
931
 
932
+ declare module '@tiptap/core' {
933
+ interface Commands<ReturnType> {
934
+ emoji: {
935
+ setEmoji: (emoji: {
936
+ name: string;
937
+ emoji: string;
938
+ }) => ReturnType;
939
+ };
940
+ }
941
+ }
942
+
943
+
927
944
  declare module '@tiptap/core' {
928
945
  interface Commands<ReturnType> {
929
946
  excalidraw: {
@@ -1,4 +1,4 @@
1
- import { a as e, b as l, l as o, e as _, c, d as h } from "./index-D9llIWB5.js";
1
+ import { a as e, b as l, l as o, e as _, c, d as h } from "./index-D-DR0FPY.js";
2
2
  export {
3
3
  e as en,
4
4
  l as hu_HU,
@@ -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-BwuyWeH3.js";
3
+ import { d as o } from "./RichTextEditor-D5VO1y1d.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-NfX6yV6A.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-qp9T7xuG.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.3",
4
+ "version": "0.3.4",
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",
@@ -129,6 +129,16 @@
129
129
  "default": "./lib/Code.js"
130
130
  }
131
131
  },
132
+ "./codeview": {
133
+ "require": {
134
+ "types": "./lib/CodeView.d.cts",
135
+ "default": "./lib/CodeView.cjs"
136
+ },
137
+ "import": {
138
+ "types": "./lib/CodeView.d.ts",
139
+ "default": "./lib/CodeView.js"
140
+ }
141
+ },
132
142
  "./codeblock": {
133
143
  "require": {
134
144
  "types": "./lib/CodeBlock.d.cts",
@@ -613,6 +623,9 @@
613
623
  "./codeblock": [
614
624
  "./lib/CodeBlock.d.ts"
615
625
  ],
626
+ "./codeview": [
627
+ "./lib/CodeView.d.ts"
628
+ ],
616
629
  "./color": [
617
630
  "./lib/Color.d.ts"
618
631
  ],