@templatical/editor 0.0.6 → 0.1.1

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 (159) hide show
  1. package/LICENSE +56 -0
  2. package/README.md +69 -0
  3. package/dist/{AiChatSidebar-CNhSl_ty.js → AiChatSidebar-DgAjDWO1.js} +68 -68
  4. package/dist/{AiFeatureMenu-BFVsjUJY.js → AiFeatureMenu-j6oaiRVi.js} +25 -25
  5. package/dist/{CloudEditor-Bz5Xkxej.js → CloudEditor-yCOkIkZ-.js} +428 -437
  6. package/dist/{CollaboratorBar-D2Gu5Xj2.js → CollaboratorBar-CWVdp2Y6.js} +23 -23
  7. package/dist/CommentsSidebar-CSPHhbQH.js +439 -0
  8. package/dist/CountdownBlock-DK6P_RaQ.js +92 -0
  9. package/dist/CountdownToolbar-Dv-Sz4ui.js +210 -0
  10. package/dist/{DesignReferenceSidebar-u2tKSQK0.js → DesignReferenceSidebar-D7zfvux6.js} +58 -58
  11. package/dist/LoadingTrack-Cdz2SSq9.js +10 -0
  12. package/dist/ModuleBrowserModal-BLYuCZht.js +205 -0
  13. package/dist/ModulePreviewCanvas-CHYqP6K3.js +106 -0
  14. package/dist/NumberWithSuffix-D-5-AZc3.js +424 -0
  15. package/dist/{ParagraphEditor-CYrzYJO5.js → ParagraphEditor-DivLBNWv.js} +237 -236
  16. package/dist/{RichTextEditorContent-BeqlWlWB.js → RichTextEditorContent-G1lXgVJR.js} +42 -42
  17. package/dist/{SaveModuleDialog-Kde6X13X.js → SaveModuleDialog-DGVfiOmE.js} +29 -29
  18. package/dist/{SnapshotHistory-B3EfIcLW.js → SnapshotHistory-DM__MqSu.js} +38 -38
  19. package/dist/{TemplateScoringPanel-D2vCRGgx.js → TemplateScoringPanel-CW13Tlol.js} +80 -80
  20. package/dist/{TestEmailModal-Egk0DFDf.js → TestEmailModal-B8bYqWCY.js} +28 -28
  21. package/dist/TitleEditor-4Jrp3C4m.js +167 -0
  22. package/dist/{TplModal-BCruYWks.js → TplModal-BkoIz0oz.js} +14 -14
  23. package/dist/{_plugin-vue_export-helper-5TQrnOhO.js → _plugin-vue_export-helper-OO6pH1Dh.js} +11 -11
  24. package/dist/{blockTypeIcons-rW4BUUNC.js → blockTypeIcons-4AS3CvXn.js} +2 -2
  25. package/dist/cdn/chunks/{AiFeatureMenu-Dcbshcfu.js → AiFeatureMenu-BcHyzTQy.js} +4 -4
  26. package/dist/cdn/chunks/{AiFeatureMenu-Dcbshcfu.js.map → AiFeatureMenu-BcHyzTQy.js.map} +1 -1
  27. package/dist/cdn/chunks/{CloudEditor-Bca3RyBW.js → CloudEditor-TaEZq-YW.js} +179 -188
  28. package/dist/cdn/chunks/CloudEditor-TaEZq-YW.js.map +1 -0
  29. package/dist/cdn/chunks/{CollaboratorBar-sToKJfHi.js → CollaboratorBar-DbC5-3If.js} +4 -4
  30. package/dist/cdn/chunks/{CollaboratorBar-sToKJfHi.js.map → CollaboratorBar-DbC5-3If.js.map} +1 -1
  31. package/dist/cdn/chunks/CountdownBlock-CfPmCQ7j.js +93 -0
  32. package/dist/cdn/chunks/CountdownBlock-CfPmCQ7j.js.map +1 -0
  33. package/dist/cdn/chunks/CountdownToolbar-CB0EVxwN.js +212 -0
  34. package/dist/cdn/chunks/CountdownToolbar-CB0EVxwN.js.map +1 -0
  35. package/dist/cdn/chunks/{ModuleBrowserModal-BNhwXbWw.js → ModuleBrowserModal-Df2fp9dj.js} +7 -7
  36. package/dist/cdn/chunks/{ModuleBrowserModal-BNhwXbWw.js.map → ModuleBrowserModal-Df2fp9dj.js.map} +1 -1
  37. package/dist/cdn/chunks/{ModulePreviewCanvas-DylUylPU.js → ModulePreviewCanvas-Dw1OCpvV.js} +19 -19
  38. package/dist/cdn/chunks/{ModulePreviewCanvas-DylUylPU.js.map → ModulePreviewCanvas-Dw1OCpvV.js.map} +1 -1
  39. package/dist/cdn/chunks/NumberWithSuffix-BU6ycXyG.js +425 -0
  40. package/dist/cdn/chunks/NumberWithSuffix-BU6ycXyG.js.map +1 -0
  41. package/dist/cdn/chunks/{ParagraphEditor-BBw90y_p.js → ParagraphEditor-BMRNg_BX.js} +37 -37
  42. package/dist/cdn/chunks/{ParagraphEditor-BBw90y_p.js.map → ParagraphEditor-BMRNg_BX.js.map} +1 -1
  43. package/dist/cdn/chunks/{RichTextEditorContent-DvyIO3nR.js → RichTextEditorContent-BKYY1YMZ.js} +5 -5
  44. package/dist/cdn/chunks/{RichTextEditorContent-DvyIO3nR.js.map → RichTextEditorContent-BKYY1YMZ.js.map} +1 -1
  45. package/dist/cdn/chunks/{SaveModuleDialog-DvbSHvhF.js → SaveModuleDialog-D977Tg7t.js} +5 -5
  46. package/dist/cdn/chunks/{SaveModuleDialog-DvbSHvhF.js.map → SaveModuleDialog-D977Tg7t.js.map} +1 -1
  47. package/dist/cdn/chunks/{TitleEditor-tS3mgoVr.js → TitleEditor-q9IzNy38.js} +11 -11
  48. package/dist/cdn/chunks/{TitleEditor-tS3mgoVr.js.map → TitleEditor-q9IzNy38.js.map} +1 -1
  49. package/dist/cdn/chunks/{blockTypeIcons-DbnbyEQE.js → blockTypeIcons-L0fRc3qs.js} +3 -3
  50. package/dist/cdn/chunks/{blockTypeIcons-DbnbyEQE.js.map → blockTypeIcons-L0fRc3qs.js.map} +1 -1
  51. package/dist/cdn/chunks/{de-CgUR_S5I.js → de-3exf7MYE.js} +1 -1
  52. package/dist/cdn/chunks/{de-CgUR_S5I.js.map → de-3exf7MYE.js.map} +1 -1
  53. package/dist/cdn/chunks/{de-D8oDPhBD.js → de-C8LxVUsb.js} +1 -1
  54. package/dist/cdn/chunks/{de-D8oDPhBD.js.map → de-C8LxVUsb.js.map} +1 -1
  55. package/dist/cdn/chunks/{dist-BUmN5e4r.js → dist-D5g00M8N.js} +6 -2
  56. package/dist/cdn/chunks/dist-D5g00M8N.js.map +1 -0
  57. package/dist/cdn/chunks/{draggable-m78lz0gI.js → draggable-Bcb86AsV.js} +5 -5
  58. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +1 -0
  59. package/dist/cdn/chunks/{emojiData-CNNgvDqx.js → emojiData-DUHzsh4j.js} +1 -1
  60. package/dist/cdn/chunks/{emojiData-CNNgvDqx.js.map → emojiData-DUHzsh4j.js.map} +1 -1
  61. package/dist/cdn/chunks/{en-HseRPPeK.js → en-BoEycuqw.js} +1 -1
  62. package/dist/cdn/chunks/{en-HseRPPeK.js.map → en-BoEycuqw.js.map} +1 -1
  63. package/dist/cdn/chunks/{en-BBmfBDqY.js → en-KNPUKxYp.js} +1 -1
  64. package/dist/cdn/chunks/{en-BBmfBDqY.js.map → en-KNPUKxYp.js.map} +1 -1
  65. package/dist/cdn/chunks/{extensions-ClpY3m0W.js → extensions-BZ1POyiv.js} +11 -11
  66. package/dist/cdn/chunks/{extensions-ClpY3m0W.js.map → extensions-BZ1POyiv.js.map} +1 -1
  67. package/dist/cdn/chunks/{features-B5dGxWLi.js → features-Ccqmm6-M.js} +549 -627
  68. package/dist/cdn/chunks/features-Ccqmm6-M.js.map +1 -0
  69. package/dist/cdn/chunks/{icons-hflTyPmb.js → icons-x53__2GC.js} +8 -8
  70. package/dist/cdn/chunks/icons-x53__2GC.js.map +1 -0
  71. package/dist/cdn/chunks/{liquid.browser-BxyRVCKv.js → liquid.browser-CEMn-ZqL.js} +2 -2
  72. package/dist/cdn/chunks/liquid.browser-CEMn-ZqL.js.map +1 -0
  73. package/dist/cdn/chunks/{media-library-Dgy-V-JA.js → media-library-DUoQk-w7.js} +97 -97
  74. package/dist/cdn/chunks/media-library-DUoQk-w7.js.map +1 -0
  75. package/dist/cdn/chunks/{pusher-D-m2WSdL.js → pusher-DwSQn6BA.js} +2 -2
  76. package/dist/cdn/chunks/pusher-DwSQn6BA.js.map +1 -0
  77. package/dist/cdn/chunks/{src-TDwMmqm0.js → src-DskCIAr8.js} +8 -8
  78. package/dist/cdn/chunks/{src-TDwMmqm0.js.map → src-DskCIAr8.js.map} +1 -1
  79. package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js → styleConstants-DP1VOca8.js} +1 -1
  80. package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js.map → styleConstants-DP1VOca8.js.map} +1 -1
  81. package/dist/cdn/chunks/{styles-hCOCOR6K.js → styles-BIlpNe52.js} +622 -1238
  82. package/dist/cdn/chunks/styles-BIlpNe52.js.map +1 -0
  83. package/dist/cdn/chunks/{tiptap-C28NLMX8.js → tiptap-hPC_BgDO.js} +850 -826
  84. package/dist/cdn/chunks/tiptap-hPC_BgDO.js.map +1 -0
  85. package/dist/cdn/editor.css +1 -1
  86. package/dist/cdn/editor.js +92 -97
  87. package/dist/cdn/editor.js.map +1 -1
  88. package/dist/{check-B5S-C0bz.js → check-Bff5NzCh.js} +1 -1
  89. package/dist/{chevron-down-CjsV1T0W.js → chevron-down-Bbv4SJwx.js} +1 -1
  90. package/dist/{circle-alert-CVTmJHKW.js → circle-alert-Dpr8MgkR.js} +1 -1
  91. package/dist/{clock-CAjdSHBy.js → clock-raVPKfl4.js} +1 -1
  92. package/dist/{dist-DJrDTuRr.js → dist-BHgEdO-M.js} +1001 -983
  93. package/dist/dist-BibwE8Y0.js +5 -0
  94. package/dist/{dist-DPM-DFvh.js → dist-BnlZ_HwX.js} +340 -340
  95. package/dist/{dist-BTtKPcd2.js → dist-C9yhcxsf.js} +2 -2
  96. package/dist/{dist-COguaIvm.js → dist-CGffNO8z.js} +2 -2
  97. package/dist/dist-CfGpCUSx.js +5 -0
  98. package/dist/{dist-COOFiBFV.js → dist-Chd-H2S3.js} +5 -5
  99. package/dist/{dist-DfqLGwSF.js → dist-Cq0OFLMj.js} +2 -2
  100. package/dist/{dist-B4LTlrAn.js → dist-D42og5Sc.js} +191 -185
  101. package/dist/{dist-CBr-qhie.js → dist-Owxo48fF.js} +2 -2
  102. package/dist/{dist-Crqkuf-w.js → dist-UZ8UzVZ-.js} +15 -15
  103. package/dist/dist-n0PkFNGl.js +314 -0
  104. package/dist/{dist-DHYuVJ_7.js → dist-skgH9dyo.js} +2 -2
  105. package/dist/{extensions-C6xp_B7K.js → extensions-DQKaICBH.js} +81 -81
  106. package/dist/{image-up-vZa1Txr-.js → image-up-B1AEiHCh.js} +1 -1
  107. package/dist/index.d.ts +17 -6
  108. package/dist/{keys-C0MQRs8d.js → keys-CIw9mUI2.js} +1 -1
  109. package/dist/{liquid.browser-C02owkex.js → liquid.browser-Bm53dnK1.js} +1 -1
  110. package/dist/{loader-circle-DilFjHSk.js → loader-circle-BYeKJ3to.js} +1 -1
  111. package/dist/{message-circle-Dpcnc2oa.js → message-circle-PhNlI7e7.js} +1 -1
  112. package/dist/{refresh-cw-4r7rkHHX.js → refresh-cw-DhDYRBDd.js} +1 -1
  113. package/dist/{rolldown-runtime-gEudmnaM.js → rolldown-runtime-BZGGJVDF.js} +2 -5
  114. package/dist/{scan-line-684IxPQ0.js → scan-line-Bw8bauvt.js} +1 -1
  115. package/dist/{send-ChDw64yL.js → send-CJPSzbLO.js} +1 -1
  116. package/dist/{shield-check-9dhLdyST.js → shield-check-DdEvVYMH.js} +1 -1
  117. package/dist/{sparkles-Co9fkDcv.js → sparkles-DT_27AYs.js} +1 -1
  118. package/dist/style.css +2 -0
  119. package/dist/{styleConstants-RV3eYwkD.js → styleConstants-Dqz9z3aa.js} +6 -45
  120. package/dist/styles-tcwlvlEB.js +2942 -0
  121. package/dist/templatical-editor.js +114 -119
  122. package/dist/text-align-start-4Hx15GUf.js +43 -0
  123. package/dist/{trash-2-CZkMtjeC.js → trash-2-BY-xp5hg.js} +1 -1
  124. package/dist/{triangle-alert-Dvt51agD.js → triangle-alert-DG72vdb2.js} +1 -1
  125. package/dist/useEditorCore-DMH2QpUL.js +8946 -0
  126. package/dist/{useI18n-D6m7ZUgY.js → useI18n-B8CN2iWs.js} +4 -4
  127. package/dist/{useMergeTag-CSXcnFBc.js → useMergeTag-Dz_Dx2Jz.js} +3 -3
  128. package/dist/vue.runtime.esm-bundler-DryoQb-v.js +5775 -0
  129. package/dist/{x-CU2XZOkQ.js → x-D-7GkO6Z.js} +1 -1
  130. package/package.json +31 -15
  131. package/dist/CommentsSidebar-CTeEAZTj.js +0 -439
  132. package/dist/LoadingTrack--aUassFH.js +0 -10
  133. package/dist/ModuleBrowserModal-DNxODPlX.js +0 -205
  134. package/dist/ModulePreviewCanvas-DnGe1Y-2.js +0 -106
  135. package/dist/TitleEditor-DwUpo4gF.js +0 -167
  136. package/dist/cdn/chunks/CloudEditor-Bca3RyBW.js.map +0 -1
  137. package/dist/cdn/chunks/dist-BUmN5e4r.js.map +0 -1
  138. package/dist/cdn/chunks/draggable-m78lz0gI.js.map +0 -1
  139. package/dist/cdn/chunks/features-B5dGxWLi.js.map +0 -1
  140. package/dist/cdn/chunks/icons-hflTyPmb.js.map +0 -1
  141. package/dist/cdn/chunks/liquid.browser-BxyRVCKv.js.map +0 -1
  142. package/dist/cdn/chunks/media-library-Dgy-V-JA.js.map +0 -1
  143. package/dist/cdn/chunks/pusher-D-m2WSdL.js.map +0 -1
  144. package/dist/cdn/chunks/styles-hCOCOR6K.js.map +0 -1
  145. package/dist/cdn/chunks/tiptap-C28NLMX8.js.map +0 -1
  146. package/dist/dist-Ac4o1O4a.js +0 -314
  147. package/dist/dist-DEJZ9iAU.js +0 -5
  148. package/dist/dist-DmVOCJjI.js +0 -5
  149. package/dist/styles-nvxFh6L6.js +0 -3557
  150. package/dist/templatical-editor.css +0 -2
  151. package/dist/templatical-editor.umd.cjs +0 -178
  152. package/dist/useEditorCore-ColJh1ST.js +0 -5695
  153. /package/dist/cdn/chunks/{_rolldown_dynamic_import_helper-DMEI4TQ3.js → _rolldown_dynamic_import_helper-BRcA6nWq.js} +0 -0
  154. /package/dist/{de-Dh8ON-dm.js → de-CN0xu_Tp.js} +0 -0
  155. /package/dist/{emojiData-Qc8mH_zW.js → emojiData-CwKEDxVf.js} +0 -0
  156. /package/dist/{en-C7IShRSD.js → en-DXvHkaUF.js} +0 -0
  157. /package/dist/{formatRelativeTime-D8f6NR7i.js → formatRelativeTime-BSpx5DHC.js} +0 -0
  158. /package/dist/{readableTextColor-B809bF5J.js → readableTextColor-CYCxm1jQ.js} +0 -0
  159. /package/dist/{timeouts-CmBrLeZA.js → timeouts-BSGxjuUF.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { Wt as e, c as t } from "./dist-DJrDTuRr.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-subscript@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-subscript/dist/index.js
1
+ import { Gt as e, c as t } from "./dist-BHgEdO-M.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-subscript@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-subscript/dist/index.js
3
3
  var n = t.create({
4
4
  name: "subscript",
5
5
  addOptions() {
@@ -1,5 +1,5 @@
1
- import { Wt as e, c as t } from "./dist-DJrDTuRr.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-superscript@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-superscript/dist/index.js
1
+ import { Gt as e, c as t } from "./dist-BHgEdO-M.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-superscript/dist/index.js
3
3
  var n = t.create({
4
4
  name: "superscript",
5
5
  addOptions() {
@@ -0,0 +1,5 @@
1
+ import { FontFamily as e } from "./dist-skgH9dyo.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.22.5_@tiptap+extension-text-style@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__/node_modules/@tiptap/extension-font-family/dist/index.js
3
+ var t = e;
4
+ //#endregion
5
+ export { e as FontFamily, t as default };
@@ -1,5 +1,5 @@
1
- import { Ht as e, Vt as t, Wt as n, c as r } from "./dist-DJrDTuRr.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-highlight@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-highlight/dist/index.js
1
+ import { Gt as e, Ht as t, Ut as n, c as r } from "./dist-BHgEdO-M.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-highlight/dist/index.js
3
3
  var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, o = r.create({
4
4
  name: "highlight",
5
5
  addOptions() {
@@ -21,10 +21,10 @@ var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==
21
21
  parseHTML() {
22
22
  return [{ tag: "mark" }];
23
23
  },
24
- renderHTML({ HTMLAttributes: e }) {
24
+ renderHTML({ HTMLAttributes: t }) {
25
25
  return [
26
26
  "mark",
27
- n(this.options.HTMLAttributes, e),
27
+ e(this.options.HTMLAttributes, t),
28
28
  0
29
29
  ];
30
30
  },
@@ -64,7 +64,7 @@ var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==
64
64
  })];
65
65
  },
66
66
  addPasteRules() {
67
- return [e({
67
+ return [n({
68
68
  find: a,
69
69
  type: this.type
70
70
  })];
@@ -1,5 +1,5 @@
1
- import { i as e } from "./dist-DJrDTuRr.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-text-align@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-text-align/dist/index.js
1
+ import { i as e } from "./dist-BHgEdO-M.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-align/dist/index.js
3
3
  var t = e.create({
4
4
  name: "textAlign",
5
5
  addOptions() {
@@ -1,145 +1,146 @@
1
- import { r as e } from "./rolldown-runtime-gEudmnaM.js";
2
- import { $ as t, $t as n, A as r, At as i, B as a, Bt as o, C as ee, Ct as te, D as ne, Dt as re, E as ie, Et as ae, F as oe, Ft as se, G as ce, Gt as le, H as ue, Ht as de, I as fe, It as pe, J as me, Jt as he, K as ge, Kt as _e, L as ve, Lt as ye, M as s, Mt as c, N as l, Nt as u, O as d, Ot as f, P as p, Pt as m, Q as h, Qt as g, R as _, Rt as v, S as y, St as b, T as x, Tt as S, U as C, Ut as w, V as T, Vt as E, W as D, Wt as O, X as k, Xt as A, Y as j, Yt as M, Z as N, Zt as P, _ as be, _t as F, a as xe, an as I, at as Se, b as Ce, bt as we, c as Te, cn as Ee, ct as De, d as Oe, dn as ke, dt as Ae, en as je, et as Me, f as L, fn as Ne, ft as Pe, g as Fe, gt as Ie, h as Le, ht as Re, i as ze, in as Be, it as Ve, j as He, jt as Ue, k as We, kt as Ge, l as R, ln as Ke, lt as qe, m as Je, mn as Ye, mt as Xe, n as z, nn as Ze, nt as Qe, o as $e, on as et, ot as tt, p as nt, pn as rt, pt as it, q as at, qt as ot, r as st, rn as ct, rt as lt, s as ut, sn as dt, st as ft, t as pt, tn as mt, tt as ht, u as gt, un as _t, ut as vt, v as yt, vt as bt, w as xt, wt as St, x as Ct, xt as wt, y as B, yt as Tt, z as Et, zt as Dt } from "./dist-DJrDTuRr.js";
3
- import { customRef as Ot, defineComponent as V, getCurrentInstance as kt, h as H, markRaw as U, nextTick as At, onBeforeUnmount as W, onMounted as jt, provide as G, reactive as Mt, ref as K, render as q, shallowRef as Nt, toRaw as Pt, unref as Ft, watchEffect as It } from "vue";
4
- //#region ../../node_modules/.bun/@tiptap+vue-3@3.22.4+6bf9365e80179f04/node_modules/@tiptap/vue-3/dist/index.js
5
- var Lt = /* @__PURE__ */ e({
6
- CommandManager: () => pt,
1
+ import { r as e } from "./rolldown-runtime-BZGGJVDF.js";
2
+ import { A as t, B as n, C as r, J as i, K as a, N as o, O as ee, Q as s, S as c, U as te, Y as l, Z as ne, i as u, k as d, tt as re, w as f } from "./vue.runtime.esm-bundler-DryoQb-v.js";
3
+ import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as de, D as fe, Dt as p, E as m, Et as h, F as g, Ft as _, G as v, Gt as y, H as b, Ht as x, I as S, It as C, J as w, Jt as T, K as E, Kt as D, L as O, Lt as k, M as A, Mt as j, N as M, Nt as N, O as P, Ot as F, P as I, Pt as L, Q as R, Qt as z, R as B, Rt as V, S as pe, St as me, T as he, Tt as ge, U as _e, Ut as ve, V as ye, Vt as be, W as xe, Wt as Se, X as Ce, Xt as we, Y as Te, Yt as Ee, Z as De, Zt as Oe, _ as ke, _t as H, a as Ae, an as je, at as Me, b as Ne, bt as Pe, c as Fe, cn as Ie, ct as Le, d as Re, dn as ze, dt as Be, en as Ve, et as He, f as U, fn as Ue, ft as We, g as Ge, gt as Ke, h as W, hn as qe, ht as Je, i as Ye, in as Xe, it as Ze, j as Qe, jt as $e, k as et, kt as tt, l as G, ln as nt, lt as rt, m as it, mn as at, mt as ot, n as st, nn as ct, nt as lt, o as ut, on as K, ot as dt, p as ft, pn as pt, pt as mt, q as ht, qt as gt, r as _t, rn as vt, rt as yt, s as bt, sn as xt, st as St, t as Ct, tn as wt, tt as Tt, u as Et, un as Dt, ut as Ot, v as kt, vt as At, w as jt, wt as Mt, x as Nt, xt as Pt, y as q, yt as Ft, z as It, zt as Lt } from "./dist-BHgEdO-M.js";
4
+ //#region ../../node_modules/.pnpm/@tiptap+vue-3@3.22.5_@floating-ui+dom@1.7.6_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tip_7097ea972d8e6e4e31801879e2c3d1b4/node_modules/@tiptap/vue-3/dist/index.js
5
+ var Rt = /* @__PURE__ */ e({
6
+ CommandManager: () => Ct,
7
7
  Editor: () => Y,
8
- EditorContent: () => Rt,
9
- Extendable: () => st,
10
- Extension: () => ze,
11
- Fragment: () => xe,
12
- InputRule: () => $e,
13
- MappablePosition: () => ut,
14
- Mark: () => Te,
15
- MarkView: () => R,
16
- MarkViewContent: () => Ht,
17
- Node: () => gt,
18
- NodePos: () => Oe,
19
- NodeView: () => L,
20
- NodeViewContent: () => zt,
8
+ EditorContent: () => zt,
9
+ Extendable: () => _t,
10
+ Extension: () => Ye,
11
+ Fragment: () => Ae,
12
+ InputRule: () => ut,
13
+ MappablePosition: () => bt,
14
+ Mark: () => Fe,
15
+ MarkView: () => G,
16
+ MarkViewContent: () => Ut,
17
+ Node: () => Et,
18
+ NodePos: () => Re,
19
+ NodeView: () => U,
20
+ NodeViewContent: () => Bt,
21
21
  NodeViewWrapper: () => X,
22
- PasteRule: () => nt,
23
- ResizableNodeView: () => Je,
24
- ResizableNodeview: () => Le,
25
- Tracker: () => Fe,
22
+ PasteRule: () => ft,
23
+ ResizableNodeView: () => it,
24
+ ResizableNodeview: () => W,
25
+ Tracker: () => Ge,
26
26
  VueMarkView: () => Q,
27
- VueMarkViewRenderer: () => Ut,
27
+ VueMarkViewRenderer: () => Wt,
28
28
  VueNodeViewRenderer: () => $,
29
29
  VueRenderer: () => Z,
30
- callOrReturn: () => be,
31
- canInsertNode: () => yt,
32
- cancelPositionCheck: () => B,
33
- combineTransactionSteps: () => Ce,
34
- commands: () => Ct,
35
- createAtomBlockMarkdownSpec: () => y,
36
- createBlockMarkdownSpec: () => ee,
37
- createChainableState: () => xt,
38
- createDocument: () => x,
39
- createElement: () => F,
40
- createInlineMarkdownSpec: () => ie,
41
- createMappablePosition: () => ne,
42
- createNodeFromContent: () => d,
43
- createStyleTag: () => We,
44
- decodeHtmlEntities: () => r,
45
- defaultBlockAt: () => He,
46
- deleteProps: () => s,
47
- elementFromString: () => l,
48
- encodeHtmlEntities: () => p,
49
- escapeForRegEx: () => oe,
50
- extensions: () => fe,
51
- findChildren: () => ve,
52
- findChildrenInRange: () => _,
53
- findDuplicates: () => Et,
54
- findParentNode: () => a,
55
- findParentNodeClosestToPos: () => T,
56
- flattenExtensions: () => ue,
57
- fromString: () => C,
58
- generateHTML: () => D,
59
- generateJSON: () => ce,
60
- generateText: () => ge,
61
- getAttributes: () => at,
62
- getAttributesFromExtensions: () => me,
63
- getChangedRanges: () => j,
64
- getDebugJSON: () => k,
65
- getExtensionField: () => N,
66
- getHTMLFromFragment: () => h,
67
- getMarkAttributes: () => t,
68
- getMarkRange: () => Me,
69
- getMarkType: () => ht,
70
- getMarksBetween: () => Qe,
71
- getNodeAtPosition: () => lt,
72
- getNodeAttributes: () => Ve,
73
- getNodeType: () => Se,
74
- getRenderedAttributes: () => tt,
75
- getSchema: () => ft,
76
- getSchemaByResolvedExtensions: () => De,
77
- getSchemaTypeByName: () => qe,
78
- getSchemaTypeNameByName: () => vt,
79
- getSplittedAttributes: () => Ae,
80
- getText: () => Pe,
81
- getTextBetween: () => it,
82
- getTextContentFromNodes: () => Xe,
83
- getTextSerializersFromSchema: () => Re,
84
- getUpdatedPosition: () => Ie,
85
- h: () => F,
86
- injectExtensionAttributesToParseRule: () => bt,
87
- inputRulesPlugin: () => Tt,
88
- isActive: () => we,
89
- isAndroid: () => wt,
90
- isAtEndOfNode: () => b,
91
- isAtStartOfNode: () => te,
92
- isEmptyObject: () => St,
93
- isExtensionRulesEnabled: () => S,
94
- isFirefox: () => ae,
95
- isFunction: () => re,
96
- isList: () => f,
97
- isMacOS: () => Ge,
98
- isMarkActive: () => i,
99
- isNodeActive: () => Ue,
100
- isNodeEmpty: () => c,
101
- isNodeSelection: () => u,
102
- isNumber: () => m,
103
- isPlainObject: () => se,
104
- isRegExp: () => pe,
105
- isSafari: () => ye,
106
- isString: () => v,
107
- isTextSelection: () => Dt,
108
- isiOS: () => o,
109
- markInputRule: () => E,
110
- markPasteRule: () => de,
111
- markViewProps: () => Vt,
112
- markdown: () => w,
113
- mergeAttributes: () => O,
114
- mergeDeep: () => le,
115
- minMax: () => _e,
116
- nodeInputRule: () => ot,
117
- nodePasteRule: () => he,
118
- nodeViewProps: () => Wt,
119
- objectIncludes: () => M,
120
- parseAttributes: () => A,
121
- parseIndentedBlocks: () => P,
122
- pasteRulesPlugin: () => g,
123
- posToDOMRect: () => n,
124
- removeDuplicates: () => je,
125
- renderNestedMarkdownContent: () => mt,
126
- resolveExtensions: () => Ze,
127
- resolveFocusPosition: () => ct,
128
- rewriteUnknownContent: () => Be,
129
- schedulePositionCheck: () => I,
130
- selectionToInsertionEnd: () => et,
131
- serializeAttributes: () => dt,
132
- sortExtensions: () => Ee,
133
- splitExtensions: () => Ke,
134
- textInputRule: () => _t,
135
- textPasteRule: () => ke,
136
- textblockTypeInputRule: () => Ne,
137
- updateMarkViewAttributes: () => rt,
138
- useEditor: () => Bt,
139
- wrappingInputRule: () => Ye
30
+ callOrReturn: () => ke,
31
+ canInsertNode: () => kt,
32
+ cancelPositionCheck: () => q,
33
+ combineTransactionSteps: () => Ne,
34
+ commands: () => Nt,
35
+ createAtomBlockMarkdownSpec: () => pe,
36
+ createBlockMarkdownSpec: () => ue,
37
+ createChainableState: () => jt,
38
+ createDocument: () => he,
39
+ createElement: () => H,
40
+ createInlineMarkdownSpec: () => m,
41
+ createMappablePosition: () => fe,
42
+ createNodeFromContent: () => P,
43
+ createStyleTag: () => et,
44
+ decodeHtmlEntities: () => oe,
45
+ defaultBlockAt: () => Qe,
46
+ deleteProps: () => A,
47
+ elementFromString: () => M,
48
+ encodeHtmlEntities: () => I,
49
+ escapeForRegEx: () => g,
50
+ extensions: () => S,
51
+ findChildren: () => O,
52
+ findChildrenInRange: () => B,
53
+ findDuplicates: () => It,
54
+ findParentNode: () => ce,
55
+ findParentNodeClosestToPos: () => ye,
56
+ flattenExtensions: () => b,
57
+ fromString: () => _e,
58
+ generateHTML: () => xe,
59
+ generateJSON: () => v,
60
+ generateText: () => E,
61
+ getAttributes: () => ht,
62
+ getAttributesFromExtensions: () => w,
63
+ getChangedRanges: () => Te,
64
+ getDebugJSON: () => Ce,
65
+ getExtensionField: () => De,
66
+ getHTMLFromFragment: () => R,
67
+ getMarkAttributes: () => ie,
68
+ getMarkRange: () => He,
69
+ getMarkType: () => Tt,
70
+ getMarksBetween: () => lt,
71
+ getNodeAtPosition: () => yt,
72
+ getNodeAttributes: () => Ze,
73
+ getNodeType: () => Me,
74
+ getRenderedAttributes: () => dt,
75
+ getSchema: () => St,
76
+ getSchemaByResolvedExtensions: () => Le,
77
+ getSchemaTypeByName: () => rt,
78
+ getSchemaTypeNameByName: () => Ot,
79
+ getSplittedAttributes: () => Be,
80
+ getText: () => We,
81
+ getTextBetween: () => mt,
82
+ getTextContentFromNodes: () => ot,
83
+ getTextSerializersFromSchema: () => Je,
84
+ getUpdatedPosition: () => Ke,
85
+ h: () => H,
86
+ injectExtensionAttributesToParseRule: () => At,
87
+ inputRulesPlugin: () => Ft,
88
+ isActive: () => Pe,
89
+ isAndroid: () => Pt,
90
+ isAtEndOfNode: () => me,
91
+ isAtStartOfNode: () => de,
92
+ isEmptyObject: () => Mt,
93
+ isExtensionRulesEnabled: () => ge,
94
+ isFirefox: () => h,
95
+ isFunction: () => p,
96
+ isList: () => F,
97
+ isMacOS: () => tt,
98
+ isMarkActive: () => se,
99
+ isNodeActive: () => $e,
100
+ isNodeEmpty: () => j,
101
+ isNodeSelection: () => N,
102
+ isNodeViewSelected: () => L,
103
+ isNumber: () => _,
104
+ isPlainObject: () => C,
105
+ isRegExp: () => k,
106
+ isSafari: () => V,
107
+ isString: () => Lt,
108
+ isTextSelection: () => le,
109
+ isiOS: () => be,
110
+ markInputRule: () => x,
111
+ markPasteRule: () => ve,
112
+ markViewProps: () => Ht,
113
+ markdown: () => Se,
114
+ mergeAttributes: () => y,
115
+ mergeDeep: () => D,
116
+ minMax: () => gt,
117
+ nodeInputRule: () => T,
118
+ nodePasteRule: () => Ee,
119
+ nodeViewProps: () => Gt,
120
+ objectIncludes: () => we,
121
+ parseAttributes: () => Oe,
122
+ parseIndentedBlocks: () => z,
123
+ pasteRulesPlugin: () => ae,
124
+ posToDOMRect: () => Ve,
125
+ removeDuplicates: () => wt,
126
+ renderNestedMarkdownContent: () => ct,
127
+ resolveExtensions: () => vt,
128
+ resolveFocusPosition: () => Xe,
129
+ rewriteUnknownContent: () => je,
130
+ schedulePositionCheck: () => K,
131
+ selectionToInsertionEnd: () => xt,
132
+ serializeAttributes: () => Ie,
133
+ sortExtensions: () => nt,
134
+ splitExtensions: () => Dt,
135
+ textInputRule: () => ze,
136
+ textPasteRule: () => Ue,
137
+ textblockTypeInputRule: () => pt,
138
+ updateMarkViewAttributes: () => at,
139
+ useEditor: () => Vt,
140
+ wrappingInputRule: () => qe
140
141
  });
141
142
  function J(e) {
142
- return Ot((t, n) => ({
143
+ return te((t, n) => ({
143
144
  get() {
144
145
  return t(), e;
145
146
  },
@@ -152,11 +153,11 @@ function J(e) {
152
153
  }
153
154
  }));
154
155
  }
155
- var Y = class extends z {
156
+ var Y = class extends st {
156
157
  constructor(e = {}) {
157
158
  return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = J(this.view.state), this.reactiveExtensionStorage = J(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
158
159
  this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
159
- }), U(this);
160
+ }), a(this);
160
161
  }
161
162
  get state() {
162
163
  return this.reactiveState ? this.reactiveState.value : this.view.state;
@@ -172,47 +173,47 @@ var Y = class extends z {
172
173
  let t = super.unregisterPlugin(e);
173
174
  return this.reactiveState && t && (this.reactiveState.value = t), t;
174
175
  }
175
- }, Rt = V({
176
+ }, zt = c({
176
177
  name: "EditorContent",
177
178
  props: { editor: {
178
179
  default: null,
179
180
  type: Object
180
181
  } },
181
182
  setup(e) {
182
- let t = K(), n = kt();
183
- return It(() => {
184
- let r = e.editor;
185
- r && r.options.element && t.value && At(() => {
186
- if (!t.value || !r.view.dom?.parentNode) return;
187
- let e = Ft(t.value);
188
- t.value.append(...r.view.dom.parentNode.childNodes), r.contentComponent = n.ctx._, n && (r.appContext = {
189
- ...n.appContext,
190
- provides: n.provides
191
- }), r.setOptions({ element: e }), r.createNodeViews();
183
+ let t = l(), i = r();
184
+ return n(() => {
185
+ let n = e.editor;
186
+ n && n.options.element && t.value && ee(() => {
187
+ if (!t.value || !n.view.dom?.parentNode) return;
188
+ let e = re(t.value);
189
+ t.value.append(...n.view.dom.parentNode.childNodes), n.contentComponent = i.ctx._, i && (n.appContext = {
190
+ ...i.appContext,
191
+ provides: i.provides
192
+ }), n.setOptions({ element: e }), n.createNodeViews();
192
193
  });
193
- }), W(() => {
194
+ }), d(() => {
194
195
  let t = e.editor;
195
196
  t && (t.contentComponent = null, t.appContext = null);
196
197
  }), { rootEl: t };
197
198
  },
198
199
  render() {
199
- return H("div", { ref: (e) => {
200
+ return f("div", { ref: (e) => {
200
201
  this.rootEl = e;
201
202
  } });
202
203
  }
203
- }), zt = V({
204
+ }), Bt = c({
204
205
  name: "NodeViewContent",
205
206
  props: { as: {
206
207
  type: String,
207
208
  default: "div"
208
209
  } },
209
210
  render() {
210
- return H(this.as, {
211
+ return f(this.as, {
211
212
  style: { whiteSpace: "pre-wrap" },
212
213
  "data-node-view-content": ""
213
214
  });
214
215
  }
215
- }), X = V({
216
+ }), X = c({
216
217
  name: "NodeViewWrapper",
217
218
  props: { as: {
218
219
  type: String,
@@ -221,25 +222,25 @@ var Y = class extends z {
221
222
  inject: ["onDragStart", "decorationClasses"],
222
223
  render() {
223
224
  var e;
224
- return H(this.as, {
225
+ return f(this.as, {
225
226
  class: this.decorationClasses,
226
227
  style: { whiteSpace: "normal" },
227
228
  "data-node-view-wrapper": "",
228
229
  onDragstart: this.onDragStart
229
230
  }, (e = this.$slots).default?.call(e));
230
231
  }
231
- }), Bt = (e = {}) => {
232
- let t = Nt();
233
- return jt(() => {
234
- t.value = new Y(e);
235
- }), W(() => {
236
- var e, n;
237
- let r = t.value?.view.dom?.parentNode, i = r?.cloneNode(!0);
238
- (e = r?.parentNode) == null || e.replaceChild(i, r), (n = t.value) == null || n.destroy();
239
- }), t;
232
+ }), Vt = (e = {}) => {
233
+ let n = ne();
234
+ return t(() => {
235
+ n.value = new Y(e);
236
+ }), d(() => {
237
+ var e, t;
238
+ let r = n.value?.view.dom?.parentNode, i = r?.cloneNode(!0);
239
+ (e = r?.parentNode) == null || e.replaceChild(i, r), (t = n.value) == null || t.destroy();
240
+ }), n;
240
241
  }, Z = class {
241
242
  constructor(e, { props: t = {}, editor: n }) {
242
- this.destroyed = !1, this.editor = n, this.component = U(e), this.el = document.createElement("div"), this.props = Mt(t), this.renderedComponent = this.renderComponent();
243
+ this.destroyed = !1, this.editor = n, this.component = a(e), this.el = document.createElement("div"), this.props = i(t), this.renderedComponent = this.renderComponent();
243
244
  }
244
245
  get element() {
245
246
  return this.renderedComponent.el;
@@ -249,11 +250,11 @@ var Y = class extends z {
249
250
  }
250
251
  renderComponent() {
251
252
  if (this.destroyed) return this.renderedComponent;
252
- let e = H(this.component, this.props);
253
- return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && q(e, this.el), {
253
+ let e = f(this.component, this.props);
254
+ return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && u(e, this.el), {
254
255
  vNode: e,
255
256
  destroy: () => {
256
- this.el && q(null, this.el), this.el = null, e = null;
257
+ this.el && u(null, this.el), this.el = null, e = null;
257
258
  },
258
259
  el: this.el ? this.el.firstElementChild : null
259
260
  };
@@ -266,7 +267,7 @@ var Y = class extends z {
266
267
  destroy() {
267
268
  this.destroyed || (this.destroyed = !0, this.renderedComponent.destroy());
268
269
  }
269
- }, Vt = {
270
+ }, Ht = {
270
271
  editor: {
271
272
  type: Object,
272
273
  required: !0
@@ -295,25 +296,25 @@ var Y = class extends z {
295
296
  type: Object,
296
297
  required: !0
297
298
  }
298
- }, Ht = V({
299
+ }, Ut = c({
299
300
  name: "MarkViewContent",
300
301
  props: { as: {
301
302
  type: String,
302
303
  default: "span"
303
304
  } },
304
305
  render() {
305
- return H(this.as, {
306
+ return f(this.as, {
306
307
  style: { whiteSpace: "inherit" },
307
308
  "data-mark-view-content": ""
308
309
  });
309
310
  }
310
- }), Q = class extends R {
311
+ }), Q = class extends G {
311
312
  constructor(e, t, n) {
312
313
  super(e, t, n);
313
314
  let r = {
314
315
  ...t,
315
316
  updateAttributes: this.updateAttributes.bind(this)
316
- }, i = V({
317
+ }, i = c({
317
318
  extends: { ...e },
318
319
  props: Object.keys(r),
319
320
  template: this.component.template,
@@ -335,17 +336,17 @@ var Y = class extends z {
335
336
  return this.dom.querySelector("[data-mark-view-content]");
336
337
  }
337
338
  updateAttributes(e) {
338
- let t = Pt(this.mark);
339
+ let t = s(this.mark);
339
340
  super.updateAttributes(e, t);
340
341
  }
341
342
  destroy() {
342
343
  this.renderer.destroy();
343
344
  }
344
345
  };
345
- function Ut(e, t = {}) {
346
+ function Wt(e, t = {}) {
346
347
  return (n) => n.editor.contentComponent ? new Q(e, n, t) : {};
347
348
  }
348
- var Wt = {
349
+ var Gt = {
349
350
  editor: {
350
351
  type: Object,
351
352
  required: !0
@@ -390,7 +391,7 @@ var Wt = {
390
391
  type: Object,
391
392
  required: !0
392
393
  }
393
- }, Gt = class extends L {
394
+ }, Kt = class extends U {
394
395
  constructor() {
395
396
  super(...arguments), this.positionCheckCallback = null, this.cachedExtensionWithSyncedStorage = null;
396
397
  }
@@ -417,14 +418,14 @@ var Wt = {
417
418
  updateAttributes: (e = {}) => this.updateAttributes(e),
418
419
  deleteNode: () => this.deleteNode()
419
420
  }, t = this.onDragStart.bind(this);
420
- this.decorationClasses = K(this.getDecorationClasses());
421
- let n = V({
421
+ this.decorationClasses = l(this.getDecorationClasses());
422
+ let n = c({
422
423
  extends: { ...this.component },
423
424
  props: Object.keys(e),
424
425
  template: this.component.template,
425
426
  setup: (e) => {
426
427
  var n;
427
- return G("onDragStart", t), G("decorationClasses", this.decorationClasses), (n = this.component).setup?.call(n, e, { expose: () => void 0 });
428
+ return o("onDragStart", t), o("decorationClasses", this.decorationClasses), (n = this.component).setup?.call(n, e, { expose: () => void 0 });
428
429
  },
429
430
  __scopeId: this.component.__scopeId,
430
431
  __cssModules: this.component.__cssModules,
@@ -435,7 +436,7 @@ var Wt = {
435
436
  if (!this.renderer) return;
436
437
  let e = this.getPos();
437
438
  typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
438
- }, I(this.editor, this.positionCheckCallback), this.renderer = new Z(n, {
439
+ }, K(this.editor, this.positionCheckCallback), this.renderer = new Z(n, {
439
440
  editor: this.editor,
440
441
  props: e
441
442
  });
@@ -448,8 +449,13 @@ var Wt = {
448
449
  return this.node.isLeaf ? null : this.dom.querySelector("[data-node-view-content]");
449
450
  }
450
451
  handleSelectionUpdate() {
451
- let { from: e, to: t } = this.editor.state.selection, n = this.getPos();
452
- if (typeof n == "number") if (e <= n && t >= n + this.node.nodeSize) {
452
+ let e = this.getPos();
453
+ if (typeof e == "number") if (L({
454
+ selection: this.editor.state.selection,
455
+ pos: e,
456
+ nodeSize: this.node.nodeSize,
457
+ selectedOnTextSelection: this.options.selectedOnTextSelection
458
+ })) {
453
459
  if (this.renderer.props.selected) return;
454
460
  this.selectNode();
455
461
  } else {
@@ -503,11 +509,11 @@ var Wt = {
503
509
  return this.decorations.flatMap((e) => e.type.attrs.class).join(" ");
504
510
  }
505
511
  destroy() {
506
- this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.positionCheckCallback &&= (B(this.editor, this.positionCheckCallback), null);
512
+ this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate), this.positionCheckCallback &&= (q(this.editor, this.positionCheckCallback), null);
507
513
  }
508
514
  };
509
515
  function $(e, t) {
510
- return (n) => n.editor.contentComponent ? new Gt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
516
+ return (n) => n.editor.contentComponent ? new Kt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
511
517
  }
512
518
  //#endregion
513
- export { $ as n, Lt as r, X as t };
519
+ export { $ as n, Rt as r, X as t };
@@ -1,5 +1,5 @@
1
- import { Wt as e, c as t } from "./dist-DJrDTuRr.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-underline@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-underline/dist/index.js
1
+ import { Gt as e, c as t } from "./dist-BHgEdO-M.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-underline/dist/index.js
3
3
  var n = t.create({
4
4
  name: "underline",
5
5
  addOptions() {