reactjs-tiptap-editor 0.2.27 → 0.2.28

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.
@@ -755,16 +755,6 @@ declare module '@tiptap/core' {
755
755
  }
756
756
 
757
757
 
758
- declare module '@tiptap/core' {
759
- interface Commands<ReturnType> {
760
- tableCellBackground: {
761
- setTableCellBackground: (color: string) => ReturnType;
762
- unsetTableCellBackground: () => ReturnType;
763
- };
764
- }
765
- }
766
-
767
-
768
758
  declare module '@tiptap/core' {
769
759
  interface Commands<ReturnType> {
770
760
  imageUpload: {
@@ -787,13 +777,9 @@ declare module '@tiptap/core' {
787
777
 
788
778
  declare module '@tiptap/core' {
789
779
  interface Commands<ReturnType> {
790
- columns: {
791
- insertColumns: (attrs?: {
792
- cols: number;
793
- }) => ReturnType;
794
- addColBefore: () => ReturnType;
795
- addColAfter: () => ReturnType;
796
- deleteCol: () => ReturnType;
780
+ tableCellBackground: {
781
+ setTableCellBackground: (color: string) => ReturnType;
782
+ unsetTableCellBackground: () => ReturnType;
797
783
  };
798
784
  }
799
785
  }
@@ -801,8 +787,13 @@ declare module '@tiptap/core' {
801
787
 
802
788
  declare module '@tiptap/core' {
803
789
  interface Commands<ReturnType> {
804
- painter: {
805
- setPainter: (marks: Mark[]) => ReturnType;
790
+ columns: {
791
+ insertColumns: (attrs?: {
792
+ cols: number;
793
+ }) => ReturnType;
794
+ addColBefore: () => ReturnType;
795
+ addColAfter: () => ReturnType;
796
+ deleteCol: () => ReturnType;
806
797
  };
807
798
  }
808
799
  }
@@ -810,8 +801,14 @@ declare module '@tiptap/core' {
810
801
 
811
802
  declare module '@tiptap/core' {
812
803
  interface Commands<ReturnType> {
813
- katex: {
814
- setKatex: (arg?: IKatexAttrs) => ReturnType;
804
+ iframe: {
805
+ /**
806
+ * Add an iframe
807
+ */
808
+ setIframe: (options: {
809
+ src: string;
810
+ service: string;
811
+ }) => ReturnType;
815
812
  };
816
813
  }
817
814
  }
@@ -819,11 +816,8 @@ declare module '@tiptap/core' {
819
816
 
820
817
  declare module '@tiptap/core' {
821
818
  interface Commands<ReturnType> {
822
- emoji: {
823
- setEmoji: (emoji: {
824
- name: string;
825
- emoji: string;
826
- }) => ReturnType;
819
+ painter: {
820
+ setPainter: (marks: Mark[]) => ReturnType;
827
821
  };
828
822
  }
829
823
  }
@@ -846,13 +840,10 @@ declare module '@tiptap/core' {
846
840
 
847
841
  declare module '@tiptap/core' {
848
842
  interface Commands<ReturnType> {
849
- iframe: {
850
- /**
851
- * Add an iframe
852
- */
853
- setIframe: (options: {
854
- src: string;
855
- service: string;
843
+ emoji: {
844
+ setEmoji: (emoji: {
845
+ name: string;
846
+ emoji: string;
856
847
  }) => ReturnType;
857
848
  };
858
849
  }
@@ -861,9 +852,8 @@ declare module '@tiptap/core' {
861
852
 
862
853
  declare module '@tiptap/core' {
863
854
  interface Commands<ReturnType> {
864
- tableOfContents: {
865
- setTableOfContents: () => ReturnType;
866
- removeTableOfContents: () => ReturnType;
855
+ katex: {
856
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
867
857
  };
868
858
  }
869
859
  }
@@ -878,6 +868,16 @@ declare module '@tiptap/core' {
878
868
  }
879
869
 
880
870
 
871
+ declare module '@tiptap/core' {
872
+ interface Commands<ReturnType> {
873
+ tableOfContents: {
874
+ setTableOfContents: () => ReturnType;
875
+ removeTableOfContents: () => ReturnType;
876
+ };
877
+ }
878
+ }
879
+
880
+
881
881
  declare module '@tiptap/core' {
882
882
  interface Commands<ReturnType> {
883
883
  excalidraw: {
@@ -755,16 +755,6 @@ declare module '@tiptap/core' {
755
755
  }
756
756
 
757
757
 
758
- declare module '@tiptap/core' {
759
- interface Commands<ReturnType> {
760
- tableCellBackground: {
761
- setTableCellBackground: (color: string) => ReturnType;
762
- unsetTableCellBackground: () => ReturnType;
763
- };
764
- }
765
- }
766
-
767
-
768
758
  declare module '@tiptap/core' {
769
759
  interface Commands<ReturnType> {
770
760
  imageUpload: {
@@ -787,13 +777,9 @@ declare module '@tiptap/core' {
787
777
 
788
778
  declare module '@tiptap/core' {
789
779
  interface Commands<ReturnType> {
790
- columns: {
791
- insertColumns: (attrs?: {
792
- cols: number;
793
- }) => ReturnType;
794
- addColBefore: () => ReturnType;
795
- addColAfter: () => ReturnType;
796
- deleteCol: () => ReturnType;
780
+ tableCellBackground: {
781
+ setTableCellBackground: (color: string) => ReturnType;
782
+ unsetTableCellBackground: () => ReturnType;
797
783
  };
798
784
  }
799
785
  }
@@ -801,8 +787,13 @@ declare module '@tiptap/core' {
801
787
 
802
788
  declare module '@tiptap/core' {
803
789
  interface Commands<ReturnType> {
804
- painter: {
805
- setPainter: (marks: Mark[]) => ReturnType;
790
+ columns: {
791
+ insertColumns: (attrs?: {
792
+ cols: number;
793
+ }) => ReturnType;
794
+ addColBefore: () => ReturnType;
795
+ addColAfter: () => ReturnType;
796
+ deleteCol: () => ReturnType;
806
797
  };
807
798
  }
808
799
  }
@@ -810,8 +801,14 @@ declare module '@tiptap/core' {
810
801
 
811
802
  declare module '@tiptap/core' {
812
803
  interface Commands<ReturnType> {
813
- katex: {
814
- setKatex: (arg?: IKatexAttrs) => ReturnType;
804
+ iframe: {
805
+ /**
806
+ * Add an iframe
807
+ */
808
+ setIframe: (options: {
809
+ src: string;
810
+ service: string;
811
+ }) => ReturnType;
815
812
  };
816
813
  }
817
814
  }
@@ -819,11 +816,8 @@ declare module '@tiptap/core' {
819
816
 
820
817
  declare module '@tiptap/core' {
821
818
  interface Commands<ReturnType> {
822
- emoji: {
823
- setEmoji: (emoji: {
824
- name: string;
825
- emoji: string;
826
- }) => ReturnType;
819
+ painter: {
820
+ setPainter: (marks: Mark[]) => ReturnType;
827
821
  };
828
822
  }
829
823
  }
@@ -846,13 +840,10 @@ declare module '@tiptap/core' {
846
840
 
847
841
  declare module '@tiptap/core' {
848
842
  interface Commands<ReturnType> {
849
- iframe: {
850
- /**
851
- * Add an iframe
852
- */
853
- setIframe: (options: {
854
- src: string;
855
- service: string;
843
+ emoji: {
844
+ setEmoji: (emoji: {
845
+ name: string;
846
+ emoji: string;
856
847
  }) => ReturnType;
857
848
  };
858
849
  }
@@ -861,9 +852,8 @@ declare module '@tiptap/core' {
861
852
 
862
853
  declare module '@tiptap/core' {
863
854
  interface Commands<ReturnType> {
864
- tableOfContents: {
865
- setTableOfContents: () => ReturnType;
866
- removeTableOfContents: () => ReturnType;
855
+ katex: {
856
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
867
857
  };
868
858
  }
869
859
  }
@@ -878,6 +868,16 @@ declare module '@tiptap/core' {
878
868
  }
879
869
 
880
870
 
871
+ declare module '@tiptap/core' {
872
+ interface Commands<ReturnType> {
873
+ tableOfContents: {
874
+ setTableOfContents: () => ReturnType;
875
+ removeTableOfContents: () => ReturnType;
876
+ };
877
+ }
878
+ }
879
+
880
+
881
881
  declare module '@tiptap/core' {
882
882
  interface Commands<ReturnType> {
883
883
  excalidraw: {
@@ -1,7 +1,7 @@
1
1
  import { a as ft, I as _t, U as gt, S as bt, C as xt, N as ae, b as oe, t as qe, R as Le, m as re, F as wt, H as pt, T as yt, E as C, c as vt, d as kt, e as Ct, O as Nt, f as At, g as Tt, h as St, L as Lt, i as Et, j as Ht, k as zt, D as Mt, P as Rt, l as It, n as Pt, G as jt, o as Bt, p as Ot, q as Dt, r as $t, s as Ft, u as qt, v as nt, w as it, x as at, y as Ee, z as Ut, A as Kt, J as Vt, K as Wt, M as Gt } from "./tiptap-DOP8lVCQ.js";
2
2
  import { u as I, D as Zt, f as Jt, g as Ue, h as N, i as ot, j as Yt, T as le, k as de, m as ue } from "./index-CO-iymkb.js";
3
- import { i as He, T as xe, a as we, B as K, b as pe, g as ze, A as x, c as E, u as Me, j as Qt, k as A, l as Z, m as J, n as Y, o as Q, p as rt, q as Ne, r as Xt, s as Re, P as X, t as ee, v as te, w as Ie, x as en, H as tn, L as nn, C as an, M as on, y as rn, z as Ke, F as he, G as U, J as j, I as sn, N as cn, V as ln, O as Ve, Q as ve, S as We, U as dn, W as un, X as hn, Y as P, Z as mn, _ as fn, $ as _n, a0 as gn, a1 as bn, a2 as st } from "./RichTextEditor-DH6J2is9.js";
4
- import { D as Lo, E as Eo, d as Ho, e as zo, K as Mo, f as Ro, h as Io } from "./RichTextEditor-DH6J2is9.js";
3
+ import { i as He, T as xe, a as we, B as K, b as pe, g as ze, A as x, c as E, u as Me, j as Qt, k as A, l as Z, m as J, n as Y, o as Q, p as rt, q as Ne, r as Xt, s as Re, P as X, t as ee, v as te, w as Ie, x as en, H as tn, L as nn, C as an, M as on, y as rn, z as Ke, F as he, G as U, J as j, I as sn, N as cn, V as ln, O as Ve, Q as ve, S as We, U as dn, W as un, X as hn, Y as P, Z as mn, _ as fn, $ as _n, a0 as gn, a1 as bn, a2 as st } from "./RichTextEditor-Ce2IeNE6.js";
4
+ import { D as Lo, E as Eo, d as Ho, e as zo, K as Mo, f as Ro, h as Io } from "./RichTextEditor-Ce2IeNE6.js";
5
5
  import { al as xn, am as wn, an as pn, ao as yn, ap as vn, aq as kn, ar as Cn, as as Nn, at as R, au as An, P as se, T as ct, b as ne, $ as ge, a0 as be, A as Tn, a4 as Sn, av as Ln, aw as En } from "./vendor-BbgkyoD-.js";
6
6
  import Pe from "tippy.js";
7
7
  import { Packer as Hn, WidthType as zn } from "docx";
@@ -249,7 +249,7 @@ const Jn = W.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o(
249
249
  }
250
250
  ));
251
251
  Jn.displayName = v.Separator.displayName;
252
- const Yn = "_wrap_1toeg_1", Qn = "_blockInfoEditable_1toeg_245", Ze = {
252
+ const Yn = "_wrap_1x3wi_1", Qn = "_blockInfoEditable_1x3wi_30", Ze = {
253
253
  wrap: Yn,
254
254
  blockInfoEditable: Qn
255
255
  }, me = [
@@ -271,7 +271,7 @@ const Yn = "_wrap_1toeg_1", Qn = "_blockInfoEditable_1toeg_245", Ze = {
271
271
  { value: "php", label: "PHP" }
272
272
  ], ke = [2, 4, 8];
273
273
  function Xn(e) {
274
- const t = Me(), n = $(null), i = D(() => Qt(ni.name, e == null ? void 0 : e.editor), [e == null ? void 0 : e.edito]), a = $(null), r = e.node.attrs.code || e.node.textContent || "", s = () => {
274
+ const t = Me(), n = $(null), i = D(() => Qt(ni.name, e == null ? void 0 : e.editor), [e == null ? void 0 : e.editor]), a = $(null), r = e.node.attrs.code || e.node.textContent || "", s = () => {
275
275
  r && navigator.clipboard.writeText(r).then(() => {
276
276
  console.log("Copy Success");
277
277
  }).catch((l) => {
@@ -326,16 +326,16 @@ function Xn(e) {
326
326
  };
327
327
  }, [n]), T(() => {
328
328
  var l, h;
329
- (l = a.current) != null && l.setOption && ((h = a.current) == null || h.setOptions({
329
+ (l = a.current) != null && l.setOptions && ((h = a.current) == null || h.setOptions({
330
330
  readOnly: e.editor.isEditable
331
331
  }));
332
332
  }, [a, e.editor.isEditable]), T(() => {
333
333
  var l, h;
334
- if ((l = a.current) != null && l.setOption) {
334
+ if ((l = a.current) != null && l.setOptions) {
335
335
  const f = d(e.node.attrs);
336
336
  (h = a.current) == null || h.setOptions(f);
337
337
  }
338
- }, [a, e.node.attrs.language, e.node.attrs.lineNumbers, e.node.attrs.wordWrap, e.node.attrs.tabSize, e.node.attrs]), /* @__PURE__ */ o(ae, { className: R(Ze.wrap, "render-wrapper"), children: /* @__PURE__ */ o(
338
+ }, [a, e.node.attrs]), /* @__PURE__ */ o(ae, { className: R(Ze.wrap, "render-wrapper"), children: /* @__PURE__ */ o(
339
339
  "div",
340
340
  {
341
341
  ref: n,
@@ -364,7 +364,6 @@ function Xn(e) {
364
364
  (l) => /* @__PURE__ */ o(
365
365
  Se,
366
366
  {
367
- className: "focus:richtext-bg-[#5a5d5e4f] focus:richtext-text-white",
368
367
  value: l.value,
369
368
  children: l.label
370
369
  },
@@ -452,7 +451,6 @@ function Xn(e) {
452
451
  children: ke == null ? void 0 : ke.map((l) => /* @__PURE__ */ o(
453
452
  Se,
454
453
  {
455
- className: "focus:richtext-bg-[#5a5d5e4f] focus:richtext-text-white",
456
454
  value: l,
457
455
  children: l
458
456
  },
package/lib/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react"),d=require("./RichTextEditor-CIhslsGV.cjs"),c=require("./tiptap-Dq62HiQ9.cjs");function a(){var r;const e=t.useRef({editor:null}),[i,o]=t.useState(!1),[s,n]=t.useState(null);return t.useEffect(()=>{var u;(u=e.current)!=null&&u.editor&&(o(!0),n(e.current.editor))},[e,(r=e.current)==null?void 0:r.editor]),{isReady:i,editor:s,editorRef:e}}exports.default=d.RichTextEditor;exports.BubbleMenu=c.BubbleMenu;exports.useEditorState=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react"),d=require("./RichTextEditor-hDDApaDD.cjs"),c=require("./tiptap-Dq62HiQ9.cjs");function a(){var r;const e=t.useRef({editor:null}),[i,o]=t.useState(!1),[s,n]=t.useState(null);return t.useEffect(()=>{var u;(u=e.current)!=null&&u.editor&&(o(!0),n(e.current.editor))},[e,(r=e.current)==null?void 0:r.editor]),{isReady:i,editor:s,editorRef:e}}exports.default=d.RichTextEditor;exports.BubbleMenu=c.BubbleMenu;exports.useEditorState=a;
package/lib/index.d.cts CHANGED
@@ -324,16 +324,6 @@ declare module '@tiptap/core' {
324
324
  }
325
325
 
326
326
 
327
- declare module '@tiptap/core' {
328
- interface Commands<ReturnType> {
329
- tableCellBackground: {
330
- setTableCellBackground: (color: string) => ReturnType;
331
- unsetTableCellBackground: () => ReturnType;
332
- };
333
- }
334
- }
335
-
336
-
337
327
  declare module '@tiptap/core' {
338
328
  interface Commands<ReturnType> {
339
329
  imageUpload: {
@@ -356,13 +346,9 @@ declare module '@tiptap/core' {
356
346
 
357
347
  declare module '@tiptap/core' {
358
348
  interface Commands<ReturnType> {
359
- columns: {
360
- insertColumns: (attrs?: {
361
- cols: number;
362
- }) => ReturnType;
363
- addColBefore: () => ReturnType;
364
- addColAfter: () => ReturnType;
365
- deleteCol: () => ReturnType;
349
+ tableCellBackground: {
350
+ setTableCellBackground: (color: string) => ReturnType;
351
+ unsetTableCellBackground: () => ReturnType;
366
352
  };
367
353
  }
368
354
  }
@@ -370,8 +356,13 @@ declare module '@tiptap/core' {
370
356
 
371
357
  declare module '@tiptap/core' {
372
358
  interface Commands<ReturnType> {
373
- painter: {
374
- setPainter: (marks: Mark[]) => ReturnType;
359
+ columns: {
360
+ insertColumns: (attrs?: {
361
+ cols: number;
362
+ }) => ReturnType;
363
+ addColBefore: () => ReturnType;
364
+ addColAfter: () => ReturnType;
365
+ deleteCol: () => ReturnType;
375
366
  };
376
367
  }
377
368
  }
@@ -379,8 +370,14 @@ declare module '@tiptap/core' {
379
370
 
380
371
  declare module '@tiptap/core' {
381
372
  interface Commands<ReturnType> {
382
- katex: {
383
- setKatex: (arg?: IKatexAttrs) => ReturnType;
373
+ iframe: {
374
+ /**
375
+ * Add an iframe
376
+ */
377
+ setIframe: (options: {
378
+ src: string;
379
+ service: string;
380
+ }) => ReturnType;
384
381
  };
385
382
  }
386
383
  }
@@ -388,11 +385,8 @@ declare module '@tiptap/core' {
388
385
 
389
386
  declare module '@tiptap/core' {
390
387
  interface Commands<ReturnType> {
391
- emoji: {
392
- setEmoji: (emoji: {
393
- name: string;
394
- emoji: string;
395
- }) => ReturnType;
388
+ painter: {
389
+ setPainter: (marks: Mark[]) => ReturnType;
396
390
  };
397
391
  }
398
392
  }
@@ -415,13 +409,10 @@ declare module '@tiptap/core' {
415
409
 
416
410
  declare module '@tiptap/core' {
417
411
  interface Commands<ReturnType> {
418
- iframe: {
419
- /**
420
- * Add an iframe
421
- */
422
- setIframe: (options: {
423
- src: string;
424
- service: string;
412
+ emoji: {
413
+ setEmoji: (emoji: {
414
+ name: string;
415
+ emoji: string;
425
416
  }) => ReturnType;
426
417
  };
427
418
  }
@@ -430,9 +421,8 @@ declare module '@tiptap/core' {
430
421
 
431
422
  declare module '@tiptap/core' {
432
423
  interface Commands<ReturnType> {
433
- tableOfContents: {
434
- setTableOfContents: () => ReturnType;
435
- removeTableOfContents: () => ReturnType;
424
+ katex: {
425
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
436
426
  };
437
427
  }
438
428
  }
@@ -447,6 +437,16 @@ declare module '@tiptap/core' {
447
437
  }
448
438
 
449
439
 
440
+ declare module '@tiptap/core' {
441
+ interface Commands<ReturnType> {
442
+ tableOfContents: {
443
+ setTableOfContents: () => ReturnType;
444
+ removeTableOfContents: () => ReturnType;
445
+ };
446
+ }
447
+ }
448
+
449
+
450
450
  declare module '@tiptap/core' {
451
451
  interface Commands<ReturnType> {
452
452
  excalidraw: {
package/lib/index.d.ts CHANGED
@@ -324,16 +324,6 @@ declare module '@tiptap/core' {
324
324
  }
325
325
 
326
326
 
327
- declare module '@tiptap/core' {
328
- interface Commands<ReturnType> {
329
- tableCellBackground: {
330
- setTableCellBackground: (color: string) => ReturnType;
331
- unsetTableCellBackground: () => ReturnType;
332
- };
333
- }
334
- }
335
-
336
-
337
327
  declare module '@tiptap/core' {
338
328
  interface Commands<ReturnType> {
339
329
  imageUpload: {
@@ -356,13 +346,9 @@ declare module '@tiptap/core' {
356
346
 
357
347
  declare module '@tiptap/core' {
358
348
  interface Commands<ReturnType> {
359
- columns: {
360
- insertColumns: (attrs?: {
361
- cols: number;
362
- }) => ReturnType;
363
- addColBefore: () => ReturnType;
364
- addColAfter: () => ReturnType;
365
- deleteCol: () => ReturnType;
349
+ tableCellBackground: {
350
+ setTableCellBackground: (color: string) => ReturnType;
351
+ unsetTableCellBackground: () => ReturnType;
366
352
  };
367
353
  }
368
354
  }
@@ -370,8 +356,13 @@ declare module '@tiptap/core' {
370
356
 
371
357
  declare module '@tiptap/core' {
372
358
  interface Commands<ReturnType> {
373
- painter: {
374
- setPainter: (marks: Mark[]) => ReturnType;
359
+ columns: {
360
+ insertColumns: (attrs?: {
361
+ cols: number;
362
+ }) => ReturnType;
363
+ addColBefore: () => ReturnType;
364
+ addColAfter: () => ReturnType;
365
+ deleteCol: () => ReturnType;
375
366
  };
376
367
  }
377
368
  }
@@ -379,8 +370,14 @@ declare module '@tiptap/core' {
379
370
 
380
371
  declare module '@tiptap/core' {
381
372
  interface Commands<ReturnType> {
382
- katex: {
383
- setKatex: (arg?: IKatexAttrs) => ReturnType;
373
+ iframe: {
374
+ /**
375
+ * Add an iframe
376
+ */
377
+ setIframe: (options: {
378
+ src: string;
379
+ service: string;
380
+ }) => ReturnType;
384
381
  };
385
382
  }
386
383
  }
@@ -388,11 +385,8 @@ declare module '@tiptap/core' {
388
385
 
389
386
  declare module '@tiptap/core' {
390
387
  interface Commands<ReturnType> {
391
- emoji: {
392
- setEmoji: (emoji: {
393
- name: string;
394
- emoji: string;
395
- }) => ReturnType;
388
+ painter: {
389
+ setPainter: (marks: Mark[]) => ReturnType;
396
390
  };
397
391
  }
398
392
  }
@@ -415,13 +409,10 @@ declare module '@tiptap/core' {
415
409
 
416
410
  declare module '@tiptap/core' {
417
411
  interface Commands<ReturnType> {
418
- iframe: {
419
- /**
420
- * Add an iframe
421
- */
422
- setIframe: (options: {
423
- src: string;
424
- service: string;
412
+ emoji: {
413
+ setEmoji: (emoji: {
414
+ name: string;
415
+ emoji: string;
425
416
  }) => ReturnType;
426
417
  };
427
418
  }
@@ -430,9 +421,8 @@ declare module '@tiptap/core' {
430
421
 
431
422
  declare module '@tiptap/core' {
432
423
  interface Commands<ReturnType> {
433
- tableOfContents: {
434
- setTableOfContents: () => ReturnType;
435
- removeTableOfContents: () => ReturnType;
424
+ katex: {
425
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
436
426
  };
437
427
  }
438
428
  }
@@ -447,6 +437,16 @@ declare module '@tiptap/core' {
447
437
  }
448
438
 
449
439
 
440
+ declare module '@tiptap/core' {
441
+ interface Commands<ReturnType> {
442
+ tableOfContents: {
443
+ setTableOfContents: () => ReturnType;
444
+ removeTableOfContents: () => ReturnType;
445
+ };
446
+ }
447
+ }
448
+
449
+
450
450
  declare module '@tiptap/core' {
451
451
  interface Commands<ReturnType> {
452
452
  excalidraw: {
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { useRef as d, useState as o, useEffect as f } from "react";
2
- import { R as m } from "./RichTextEditor-DH6J2is9.js";
2
+ import { R as m } from "./RichTextEditor-Ce2IeNE6.js";
3
3
  import { B as x } from "./tiptap-DOP8lVCQ.js";
4
4
  function c() {
5
5
  var t;