@templatical/editor 0.8.1 → 0.8.3

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 (147) hide show
  1. package/dist/{AiChatSidebar-B74X6tIx.js → AiChatSidebar-CXpsSTbt.js} +13 -13
  2. package/dist/{AiFeatureMenu-BPOVM_Ou.js → AiFeatureMenu-De9ow6Ej.js} +7 -7
  3. package/dist/{BlockIssueBadge-DJTiT1eF.js → BlockIssueBadge-FEuyG1p0.js} +5 -5
  4. package/dist/{CloudEditor-wAkx8TH_.js → CloudEditor-Ccoru8Up.js} +19 -19
  5. package/dist/{CollaboratorBar-DIr5ZUv9.js → CollaboratorBar-CmHq6XiL.js} +4 -4
  6. package/dist/{CommentsSidebar-Qvppl-DR.js → CommentsSidebar-DaWP5ZGl.js} +12 -12
  7. package/dist/{CountdownBlock-D0IiMliC.js → CountdownBlock-C51M6s-J.js} +3 -3
  8. package/dist/{CountdownToolbar-BVVT8U5C.js → CountdownToolbar-C2QkG8S0.js} +3 -3
  9. package/dist/{DesignReferenceSidebar-ucgtoDll.js → DesignReferenceSidebar-BwIRFmpA.js} +9 -9
  10. package/dist/{IssuesPanel-XVdvrgmq.js → IssuesPanel-B6ukjc1i.js} +8 -8
  11. package/dist/{LoadingTrack-CFkDkjBb.js → LoadingTrack-CZ6tO326.js} +1 -1
  12. package/dist/{ModuleBrowserModal-VqGNisDp.js → ModuleBrowserModal-0n6DoZtA.js} +11 -11
  13. package/dist/{ModulePreviewCanvas-DmzW6I_9.js → ModulePreviewCanvas-DEtTEvMM.js} +3 -3
  14. package/dist/{NumberWithSuffix-n-cr7lpU.js → NumberWithSuffix-wOM0319c.js} +3 -3
  15. package/dist/{ParagraphEditor-BQTPI8j8.js → ParagraphEditor-PQZp1plL.js} +25 -25
  16. package/dist/{RichTextEditorContent-Cu9NEkKd.js → RichTextEditorContent-C02UzFoS.js} +6 -6
  17. package/dist/{SaveModuleDialog-DhgHOGgX.js → SaveModuleDialog-WWMn87Oi.js} +7 -7
  18. package/dist/{SnapshotHistory-DJOsWv4i.js → SnapshotHistory-Dy_Iy7VG.js} +9 -9
  19. package/dist/{TemplateScoringPanel-BzDVdfOx.js → TemplateScoringPanel-BpQgtaDl.js} +14 -14
  20. package/dist/{TestEmailModal-Dqj50aHe.js → TestEmailModal--4EVFj1A.js} +5 -5
  21. package/dist/{TitleEditor-PQYXfY6W.js → TitleEditor-C6z6Jzeg.js} +12 -12
  22. package/dist/{TplModal-Dy6RXBV_.js → TplModal-D5xlYbls.js} +4 -4
  23. package/dist/{blockTypeIcons-qnUeTls5.js → blockTypeIcons-jZR-IBPY.js} +2 -2
  24. package/dist/bundle-stats.json +6 -6
  25. package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js → AiFeatureMenu-8gbvVwXD.js} +3 -3
  26. package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js.map → AiFeatureMenu-8gbvVwXD.js.map} +1 -1
  27. package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js → BlockIssueBadge-CYoY-wyI.js} +3 -3
  28. package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js.map → BlockIssueBadge-CYoY-wyI.js.map} +1 -1
  29. package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js → CloudEditor-DGAV0qxk.js} +8 -8
  30. package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js.map → CloudEditor-DGAV0qxk.js.map} +1 -1
  31. package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js → CollaboratorBar-BrzkrQJM.js} +4 -4
  32. package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js.map → CollaboratorBar-BrzkrQJM.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js → CountdownBlock-BSEKrpZY.js} +3 -3
  34. package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js.map → CountdownBlock-BSEKrpZY.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js → CountdownToolbar-DME9toD5.js} +4 -4
  36. package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js.map → CountdownToolbar-DME9toD5.js.map} +1 -1
  37. package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js → IssuesPanel-BqGOXisb.js} +4 -4
  38. package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js.map → IssuesPanel-BqGOXisb.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js → ModuleBrowserModal-Bz2oCRS9.js} +6 -6
  40. package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js.map → ModuleBrowserModal-Bz2oCRS9.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js → ModulePreviewCanvas-8i2U3rd6.js} +3 -3
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js.map → ModulePreviewCanvas-8i2U3rd6.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js → NumberWithSuffix-C6HZCvvh.js} +3 -3
  44. package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js.map → NumberWithSuffix-C6HZCvvh.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js → ParagraphEditor-DfKVmv1W.js} +19 -19
  46. package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js.map → ParagraphEditor-DfKVmv1W.js.map} +1 -1
  47. package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js → RichTextEditorContent-B-HY9asd.js} +3 -3
  48. package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js.map → RichTextEditorContent-B-HY9asd.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js → SaveModuleDialog-BgwBxW_S.js} +3 -3
  50. package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js.map → SaveModuleDialog-BgwBxW_S.js.map} +1 -1
  51. package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js → TitleEditor-C2p3SosJ.js} +9 -9
  52. package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js.map → TitleEditor-C2p3SosJ.js.map} +1 -1
  53. package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js → blockTypeIcons-Bck6aYVw.js} +3 -3
  54. package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js.map → blockTypeIcons-Bck6aYVw.js.map} +1 -1
  55. package/dist/cdn/chunks/de-BBEGQDsd.js.map +1 -1
  56. package/dist/cdn/chunks/de-DG1WWVXM.js.map +1 -1
  57. package/dist/cdn/chunks/de-RQrZR56a.js.map +1 -1
  58. package/dist/cdn/chunks/{draggable-P6QWzy4g.js → draggable-CLpL3kf8.js} +6 -6
  59. package/dist/cdn/chunks/draggable-CLpL3kf8.js.map +1 -0
  60. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +1 -1
  61. package/dist/cdn/chunks/en-BE6OV83-.js.map +1 -1
  62. package/dist/cdn/chunks/en-Bl1ecfRF.js.map +1 -1
  63. package/dist/cdn/chunks/en-CHha-_ta.js.map +1 -1
  64. package/dist/cdn/chunks/{extensions-DIHxPVrP.js → extensions-DdH6DxVo.js} +4 -4
  65. package/dist/cdn/chunks/{extensions-DIHxPVrP.js.map → extensions-DdH6DxVo.js.map} +1 -1
  66. package/dist/cdn/chunks/{features-BsW4aFcn.js → features-BOcQhi9B.js} +69 -48
  67. package/dist/cdn/chunks/features-BOcQhi9B.js.map +1 -0
  68. package/dist/cdn/chunks/{icons-BgPk6tUq.js → icons-BVyDCkxF.js} +12 -12
  69. package/dist/cdn/chunks/{icons-BgPk6tUq.js.map → icons-BVyDCkxF.js.map} +1 -1
  70. package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-cpFt-Vmw.js} +674 -612
  71. package/dist/cdn/chunks/liquid.browser-cpFt-Vmw.js.map +1 -0
  72. package/dist/cdn/chunks/{media-library-C1Ue4At9.js → media-library-CPZI4Yxq.js} +6 -5
  73. package/dist/cdn/chunks/{media-library-C1Ue4At9.js.map → media-library-CPZI4Yxq.js.map} +1 -1
  74. package/dist/cdn/chunks/pt-BR-BYRTP5Ww.js.map +1 -1
  75. package/dist/cdn/chunks/pt-BR-CFomv2R8.js.map +1 -1
  76. package/dist/cdn/chunks/pt-BR-CQl2JxRp.js.map +1 -1
  77. package/dist/cdn/chunks/pusher-bjpcqCZG.js.map +1 -1
  78. package/dist/cdn/chunks/quality-Cytz80Z5.js +2140 -0
  79. package/dist/cdn/chunks/quality-Cytz80Z5.js.map +1 -0
  80. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -1
  81. package/dist/cdn/chunks/{renderer-BdjvKDwC.js → renderer-Bsqzjvsr.js} +11 -5
  82. package/dist/cdn/chunks/{renderer-BdjvKDwC.js.map → renderer-Bsqzjvsr.js.map} +1 -1
  83. package/dist/cdn/chunks/{src-BI22RLP6.js → src-BRhJ_W0W.js} +5 -5
  84. package/dist/cdn/chunks/{src-BI22RLP6.js.map → src-BRhJ_W0W.js.map} +1 -1
  85. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +1 -1
  86. package/dist/cdn/chunks/{styles-BkubbXy8.js → styles-MrOGXwzJ.js} +17 -17
  87. package/dist/cdn/chunks/{styles-BkubbXy8.js.map → styles-MrOGXwzJ.js.map} +1 -1
  88. package/dist/cdn/chunks/{tiptap-BwTCLVWl.js → tiptap-BCvhHXDe.js} +711 -692
  89. package/dist/cdn/chunks/tiptap-BCvhHXDe.js.map +1 -0
  90. package/dist/cdn/editor.js +6 -6
  91. package/dist/cdn/editor.js.map +1 -1
  92. package/dist/{check-BF4bEbCU.js → check-DwVS7v3N.js} +1 -1
  93. package/dist/{chevron-down-4NzWtv6Y.js → chevron-down-CytfFjil.js} +1 -1
  94. package/dist/{circle-alert-CPIth9bC.js → circle-alert-9J8Q4fwU.js} +1 -1
  95. package/dist/{clock-B9-ct9r_.js → clock-CL2fYWmc.js} +1 -1
  96. package/dist/{cloud-k0DgeCo2.js → cloud-DHsOqOnH.js} +1 -1
  97. package/dist/{createLucideIcon-Di4mqmGn.js → createLucideIcon-DTECxBv6.js} +4 -4
  98. package/dist/{dist-DVwOAodp.js → dist-3RAjjDZq.js} +2 -2
  99. package/dist/{dist-hfu7I2rO.js → dist-B5FKze93.js} +375 -353
  100. package/dist/dist-BWVK8w_m.js +5 -0
  101. package/dist/{dist-CISFttkF.js → dist-BjSjVZRA.js} +2 -2
  102. package/dist/{dist-DD-9hatO.js → dist-BoGj0ys1.js} +8 -8
  103. package/dist/{dist-BzRLLpfq.js → dist-CkhqaMca.js} +6 -5
  104. package/dist/{dist-U5guDm2w.js → dist-D8IxYzaU.js} +125 -125
  105. package/dist/{dist-B2jcQhv8.js → dist-DPiqL9q5.js} +17 -17
  106. package/dist/{dist-v8h02hhE.js → dist-DgD8K8y0.js} +2 -2
  107. package/dist/{dist-DxD1kSdH.js → dist-DiYYRj9J.js} +22 -48
  108. package/dist/{dist-CQQS9SRN.js → dist-DpF3BN6Y.js} +85 -62
  109. package/dist/dist-UekZXGFH.js +5 -0
  110. package/dist/{dist-DUvhjQ2-.js → dist-qFGe50Kc.js} +2 -2
  111. package/dist/{extensions-C-FpnfJn.js → extensions-BTheidN4.js} +19 -19
  112. package/dist/{image-up-CubAveUO.js → image-up-YgXg9o1y.js} +1 -1
  113. package/dist/index.d.ts +39 -92
  114. package/dist/{info-DiINxXfZ.js → info-W-213KLD.js} +1 -1
  115. package/dist/{keys-CY3tkCsv.js → keys-XS_XrjqL.js} +1 -1
  116. package/dist/{liquid.browser-DX8ZHRdq.js → liquid.browser-Dc30h4PN.js} +673 -611
  117. package/dist/{list-checks-CMtEXe9l.js → list-checks-BQrZlWzC.js} +1 -1
  118. package/dist/{loader-circle-_9bP23op.js → loader-circle-BQPHssrF.js} +1 -1
  119. package/dist/{message-circle-gzy2ZGJ3.js → message-circle-iMgHXBeH.js} +1 -1
  120. package/dist/{refresh-cw-C9_M6yB3.js → refresh-cw-DFozdLYp.js} +1 -1
  121. package/dist/{scan-line-DUEg6DoT.js → scan-line-D3NN0Gre.js} +1 -1
  122. package/dist/{send-BatIZC9a.js → send-DBhq0GU2.js} +1 -1
  123. package/dist/{shield-check-C5Gv2cM1.js → shield-check-DquM3-E5.js} +1 -1
  124. package/dist/{sparkles-D1IGi_cC.js → sparkles-CTGknLJy.js} +1 -1
  125. package/dist/{styles-BEhOSxt5.js → styles-DfdDKEGV.js} +33 -33
  126. package/dist/templatical-editor.js +4 -4
  127. package/dist/{text-align-start-DG3aAH7Y.js → text-align-end-BPOHCD7K.js} +11 -11
  128. package/dist/{trash-2-424iqbpN.js → trash-2-VyX2kcG0.js} +1 -1
  129. package/dist/{triangle-alert-DWQySIE2.js → triangle-alert-HIqW9Hwv.js} +1 -1
  130. package/dist/{useAliveFlag-D8GoB4VE.js → useAliveFlag-t3e0dokQ.js} +1 -1
  131. package/dist/{useCloudI18n-BPUHj2CZ.js → useCloudI18n-oETj4WiF.js} +2 -2
  132. package/dist/{useEditorCore-DnCOsekL.js → useEditorCore-YaOoz7QB.js} +37 -31
  133. package/dist/{useI18n-CWX9ZTCW.js → useI18n-tMHqPsE4.js} +2 -2
  134. package/dist/{useMergeTag-B3F9VR04.js → useMergeTag-Bv8ASt6n.js} +2 -2
  135. package/dist/usePopoverRoot-Bs6kLsI3.js +8 -0
  136. package/dist/{vue.runtime.esm-bundler-Bxqkjqhc.js → vue.runtime.esm-bundler-xiAB6UTz.js} +15 -12
  137. package/dist/{x-Dlaenqta.js → x-C1j-AamY.js} +1 -1
  138. package/package.json +33 -34
  139. package/dist/cdn/chunks/draggable-P6QWzy4g.js.map +0 -1
  140. package/dist/cdn/chunks/features-BsW4aFcn.js.map +0 -1
  141. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
  142. package/dist/cdn/chunks/quality-BDr54nMA.js +0 -1878
  143. package/dist/cdn/chunks/quality-BDr54nMA.js.map +0 -1
  144. package/dist/cdn/chunks/tiptap-BwTCLVWl.js.map +0 -1
  145. package/dist/dist-BYt3jdCR.js +0 -5
  146. package/dist/dist-CfQPBf15.js +0 -5
  147. package/dist/usePopoverRoot-BKJcxsst.js +0 -8
@@ -1,18 +1,18 @@
1
- import { Gt as e, c as t, i as n } from "./dist-CQQS9SRN.js";
2
- //#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-style/dist/index.js
3
- var r = 20, i = (e, t = 0) => {
1
+ import { Kt as e, c as t, ft as n, i as r } from "./dist-DpF3BN6Y.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4_/node_modules/@tiptap/extension-text-style/dist/index.js
3
+ var i = 20, a = (e, t = 0) => {
4
4
  let n = [];
5
- return !e.children.length || t > r || Array.from(e.children).forEach((e) => {
6
- e.tagName === "SPAN" ? n.push(e) : e.children.length && n.push(...i(e, t + 1));
5
+ return !e.children.length || t > i || Array.from(e.children).forEach((e) => {
6
+ e.tagName === "SPAN" ? n.push(e) : e.children.length && n.push(...a(e, t + 1));
7
7
  }), n;
8
- }, a = (e) => {
8
+ }, o = (e) => {
9
9
  if (!e.children.length) return;
10
- let t = i(e);
10
+ let t = a(e);
11
11
  t && t.forEach((e) => {
12
12
  let t = e.getAttribute("style"), n = (e.parentElement?.closest("span"))?.getAttribute("style");
13
13
  e.setAttribute("style", `${n};${t}`);
14
14
  });
15
- }, o = t.create({
15
+ }, s = t.create({
16
16
  name: "textStyle",
17
17
  priority: 101,
18
18
  addOptions() {
@@ -25,7 +25,7 @@ var r = 20, i = (e, t = 0) => {
25
25
  return [{
26
26
  tag: "span",
27
27
  consuming: !1,
28
- getAttrs: (e) => e.hasAttribute("style") ? (this.options.mergeNestedSpanStyles && a(e), {}) : !1
28
+ getAttrs: (e) => e.hasAttribute("style") ? (this.options.mergeNestedSpanStyles && o(e), {}) : !1
29
29
  }];
30
30
  },
31
31
  renderHTML({ HTMLAttributes: t }) {
@@ -47,7 +47,7 @@ var r = 20, i = (e, t = 0) => {
47
47
  }
48
48
  };
49
49
  }
50
- }), s = n.create({
50
+ }), c = r.create({
51
51
  name: "backgroundColor",
52
52
  addOptions() {
53
53
  return { types: ["textStyle"] };
@@ -57,20 +57,7 @@ var r = 20, i = (e, t = 0) => {
57
57
  types: this.options.types,
58
58
  attributes: { backgroundColor: {
59
59
  default: null,
60
- parseHTML: (e) => {
61
- let t = e.getAttribute("style");
62
- if (t) {
63
- let e = t.split(";").map((e) => e.trim()).filter(Boolean);
64
- for (let t = e.length - 1; t >= 0; --t) {
65
- let n = e[t].split(":");
66
- if (n.length >= 2) {
67
- let e = n[0].trim().toLowerCase(), t = n.slice(1).join(":").trim();
68
- if (e === "background-color") return t.replace(/['"]+/g, "");
69
- }
70
- }
71
- }
72
- return e.style.backgroundColor?.replace(/['"]+/g, "");
73
- },
60
+ parseHTML: (e) => (n(e, "background-color") ?? e.style.backgroundColor)?.replace(/['"]+/g, ""),
74
61
  renderHTML: (e) => e.backgroundColor ? { style: `background-color: ${e.backgroundColor}` } : {}
75
62
  } }
76
63
  }];
@@ -81,7 +68,7 @@ var r = 20, i = (e, t = 0) => {
81
68
  unsetBackgroundColor: () => ({ chain: e }) => e().setMark("textStyle", { backgroundColor: null }).removeEmptyTextStyle().run()
82
69
  };
83
70
  }
84
- }), c = n.create({
71
+ }), l = r.create({
85
72
  name: "color",
86
73
  addOptions() {
87
74
  return { types: ["textStyle"] };
@@ -91,20 +78,7 @@ var r = 20, i = (e, t = 0) => {
91
78
  types: this.options.types,
92
79
  attributes: { color: {
93
80
  default: null,
94
- parseHTML: (e) => {
95
- let t = e.getAttribute("style");
96
- if (t) {
97
- let e = t.split(";").map((e) => e.trim()).filter(Boolean);
98
- for (let t = e.length - 1; t >= 0; --t) {
99
- let n = e[t].split(":");
100
- if (n.length >= 2) {
101
- let e = n[0].trim().toLowerCase(), t = n.slice(1).join(":").trim();
102
- if (e === "color") return t.replace(/['"]+/g, "");
103
- }
104
- }
105
- }
106
- return e.style.color?.replace(/['"]+/g, "");
107
- },
81
+ parseHTML: (e) => (n(e, "color") ?? e.style.color)?.replace(/['"]+/g, ""),
108
82
  renderHTML: (e) => e.color ? { style: `color: ${e.color}` } : {}
109
83
  } }
110
84
  }];
@@ -115,7 +89,7 @@ var r = 20, i = (e, t = 0) => {
115
89
  unsetColor: () => ({ chain: e }) => e().setMark("textStyle", { color: null }).removeEmptyTextStyle().run()
116
90
  };
117
91
  }
118
- }), l = n.create({
92
+ }), u = r.create({
119
93
  name: "fontFamily",
120
94
  addOptions() {
121
95
  return { types: ["textStyle"] };
@@ -125,7 +99,7 @@ var r = 20, i = (e, t = 0) => {
125
99
  types: this.options.types,
126
100
  attributes: { fontFamily: {
127
101
  default: null,
128
- parseHTML: (e) => e.style.fontFamily,
102
+ parseHTML: (e) => n(e, "font-family") ?? e.style.fontFamily,
129
103
  renderHTML: (e) => e.fontFamily ? { style: `font-family: ${e.fontFamily}` } : {}
130
104
  } }
131
105
  }];
@@ -136,7 +110,7 @@ var r = 20, i = (e, t = 0) => {
136
110
  unsetFontFamily: () => ({ chain: e }) => e().setMark("textStyle", { fontFamily: null }).removeEmptyTextStyle().run()
137
111
  };
138
112
  }
139
- }), u = n.create({
113
+ }), d = r.create({
140
114
  name: "fontSize",
141
115
  addOptions() {
142
116
  return { types: ["textStyle"] };
@@ -146,7 +120,7 @@ var r = 20, i = (e, t = 0) => {
146
120
  types: this.options.types,
147
121
  attributes: { fontSize: {
148
122
  default: null,
149
- parseHTML: (e) => e.style.fontSize,
123
+ parseHTML: (e) => n(e, "font-size") ?? e.style.fontSize,
150
124
  renderHTML: (e) => e.fontSize ? { style: `font-size: ${e.fontSize}` } : {}
151
125
  } }
152
126
  }];
@@ -157,7 +131,7 @@ var r = 20, i = (e, t = 0) => {
157
131
  unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
158
132
  };
159
133
  }
160
- }), d = n.create({
134
+ }), f = r.create({
161
135
  name: "lineHeight",
162
136
  addOptions() {
163
137
  return { types: ["textStyle"] };
@@ -167,7 +141,7 @@ var r = 20, i = (e, t = 0) => {
167
141
  types: this.options.types,
168
142
  attributes: { lineHeight: {
169
143
  default: null,
170
- parseHTML: (e) => e.style.lineHeight,
144
+ parseHTML: (e) => n(e, "line-height") ?? e.style.lineHeight,
171
145
  renderHTML: (e) => e.lineHeight ? { style: `line-height: ${e.lineHeight}` } : {}
172
146
  } }
173
147
  }];
@@ -178,12 +152,12 @@ var r = 20, i = (e, t = 0) => {
178
152
  unsetLineHeight: () => ({ chain: e }) => e().setMark("textStyle", { lineHeight: null }).removeEmptyTextStyle().run()
179
153
  };
180
154
  }
181
- }), f = n.create({
155
+ }), p = r.create({
182
156
  name: "textStyleKit",
183
157
  addExtensions() {
184
158
  let e = [];
185
- return this.options.backgroundColor !== !1 && e.push(s.configure(this.options.backgroundColor)), this.options.color !== !1 && e.push(c.configure(this.options.color)), this.options.fontFamily !== !1 && e.push(l.configure(this.options.fontFamily)), this.options.fontSize !== !1 && e.push(u.configure(this.options.fontSize)), this.options.lineHeight !== !1 && e.push(d.configure(this.options.lineHeight)), this.options.textStyle !== !1 && e.push(o.configure(this.options.textStyle)), e;
159
+ return this.options.backgroundColor !== !1 && e.push(c.configure(this.options.backgroundColor)), this.options.color !== !1 && e.push(l.configure(this.options.color)), this.options.fontFamily !== !1 && e.push(u.configure(this.options.fontFamily)), this.options.fontSize !== !1 && e.push(d.configure(this.options.fontSize)), this.options.lineHeight !== !1 && e.push(f.configure(this.options.lineHeight)), this.options.textStyle !== !1 && e.push(s.configure(this.options.textStyle)), e;
186
160
  }
187
161
  });
188
162
  //#endregion
189
- export { s as BackgroundColor, c as Color, l as FontFamily, u as FontSize, d as LineHeight, o as TextStyle, f as TextStyleKit };
163
+ export { c as BackgroundColor, l as Color, u as FontFamily, d as FontSize, f as LineHeight, s as TextStyle, p as TextStyleKit };
@@ -64,7 +64,7 @@ e.prototype = {
64
64
  return new e(n);
65
65
  };
66
66
  //#endregion
67
- //#region ../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js
67
+ //#region ../../node_modules/.pnpm/prosemirror-model@1.25.6/node_modules/prosemirror-model/dist/index.js
68
68
  function t(e, n, r) {
69
69
  for (let i = 0;; i++) {
70
70
  if (i == e.childCount || i == n.childCount) return e.childCount == n.childCount ? null : r;
@@ -226,7 +226,7 @@ var r = class e {
226
226
  static fromJSON(t, n) {
227
227
  if (!n) return e.empty;
228
228
  if (!Array.isArray(n)) throw RangeError("Invalid input for Fragment.fromJSON");
229
- return new e(n.map(t.nodeFromJSON));
229
+ return e.fromArray(n.map(t.nodeFromJSON));
230
230
  }
231
231
  static fromArray(t) {
232
232
  if (!t.length) return e.empty;
@@ -330,7 +330,7 @@ var c = class extends Error {}, l = class e {
330
330
  return this.content.size - this.openStart - this.openEnd;
331
331
  }
332
332
  insertAt(t, n) {
333
- let r = d(this.content, t + this.openStart, n);
333
+ let r = d(this.content, t + this.openStart, n, this.openStart + 1, this.openEnd + 1);
334
334
  return r && new e(r, this.openStart, this.openEnd);
335
335
  }
336
336
  removeBetween(t, n) {
@@ -370,11 +370,11 @@ function u(e, t, n) {
370
370
  if (r != o) throw RangeError("Removing non-flat range");
371
371
  return e.replaceChild(r, a.copy(u(a.content, t - i - 1, n - i - 1)));
372
372
  }
373
- function d(e, t, n, r) {
374
- let { index: i, offset: a } = e.findIndex(t), o = e.maybeChild(i);
375
- if (a == t || o.isText) return r && !r.canReplace(i, i, n) ? null : e.cut(0, t).append(n).append(e.cut(t));
376
- let s = d(o.content, t - a - 1, n, o);
377
- return s && e.replaceChild(i, o.copy(s));
373
+ function d(e, t, n, r, i, a) {
374
+ let { index: o, offset: s } = e.findIndex(t), c = e.maybeChild(o);
375
+ if (s == t || c.isText) return a && r <= 0 && i <= 0 && !a.canReplace(o, o, n) ? null : e.cut(0, t).append(n).append(e.cut(t));
376
+ let l = d(c.content, t - s - 1, n, o == 0 ? r - 1 : 0, o == e.childCount - 1 ? i - 1 : 0, c);
377
+ return l && e.replaceChild(o, c.copy(l));
378
378
  }
379
379
  function f(e, t, n) {
380
380
  if (n.openStart > e.depth) throw new c("Inserted content deeper than insertion position");
@@ -1733,6 +1733,7 @@ var Je = class e {
1733
1733
  }), n;
1734
1734
  }
1735
1735
  serializeNodeInner(e, t) {
1736
+ if (e.isText) return Xe(t).createTextNode(e.text);
1736
1737
  let { dom: n, contentDOM: r } = et(Xe(t), this.nodes[e.type.name](e), null, e.attrs);
1737
1738
  if (r) {
1738
1739
  if (e.isLeaf) throw RangeError("Content hole not allowed in a leaf node spec");
@@ -1753,7 +1754,7 @@ var Je = class e {
1753
1754
  return r && et(Xe(n), r(e, t), null, e.attrs);
1754
1755
  }
1755
1756
  static renderSpec(e, t, n = null, r) {
1756
- return et(e, t, n, r);
1757
+ return typeof t == "string" ? { dom: e.createTextNode(t) } : et(e, t, n, r);
1757
1758
  }
1758
1759
  static fromSchema(t) {
1759
1760
  return t.cached.domSerializer || (t.cached.domSerializer = new e(this.nodesFromSchema(t), this.marksFromSchema(t)));
@@ -1792,9 +1793,8 @@ function $e(e) {
1792
1793
  return n(e), t;
1793
1794
  }
1794
1795
  function et(e, t, n, r) {
1795
- if (typeof t == "string") return { dom: e.createTextNode(t) };
1796
- if (t.nodeType != null) return { dom: t };
1797
- if (t.dom && t.dom.nodeType != null) return t;
1796
+ if (t.nodeType == 3) return { dom: t };
1797
+ if (t.dom && t.dom.nodeType == 3) return t;
1798
1798
  let i = t[0], a;
1799
1799
  if (typeof i != "string") throw RangeError("Invalid array passed to renderSpec");
1800
1800
  if (r && (a = Qe(r)) && a.indexOf(t) > -1) throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");
@@ -1816,7 +1816,8 @@ function et(e, t, n, r) {
1816
1816
  dom: c,
1817
1817
  contentDOM: c
1818
1818
  };
1819
- } else {
1819
+ } else if (typeof a == "string") c.appendChild(e.createTextNode(a));
1820
+ else {
1820
1821
  let { dom: t, contentDOM: i } = et(e, a, n, r);
1821
1822
  if (c.appendChild(t), i) {
1822
1823
  if (s) throw RangeError("Multiple content holes");
@@ -7236,7 +7237,7 @@ function Gs(e) {
7236
7237
  };
7237
7238
  }
7238
7239
  //#endregion
7239
- //#region ../../node_modules/.pnpm/@tiptap+core@3.22.5_@tiptap+pm@3.22.5/node_modules/@tiptap/core/dist/index.js
7240
+ //#region ../../node_modules/.pnpm/@tiptap+core@3.23.4_@tiptap+pm@3.23.4/node_modules/@tiptap/core/dist/index.js
7240
7241
  var Ks = Object.defineProperty, qs = (e, t) => {
7241
7242
  for (var n in t) Ks(e, n, {
7242
7243
  get: t[n],
@@ -8876,7 +8877,7 @@ var Vu = class {
8876
8877
  ...this.config,
8877
8878
  addOptions: () => Bu(this.options, e)
8878
8879
  });
8879
- return t.name = this.name, t.parent = this.parent, t;
8880
+ return t.name = this.name, t.parent = this.parent, this.child = null, t;
8880
8881
  }
8881
8882
  extend(e = {}) {
8882
8883
  let t = new this.constructor({
@@ -9194,12 +9195,21 @@ var Xu = class {
9194
9195
  extension: t,
9195
9196
  HTMLAttributes: s,
9196
9197
  updateAttributes: (t) => {
9197
- Hd(i, e, t);
9198
+ Ud(i, e, t);
9198
9199
  }
9199
9200
  });
9200
9201
  }] : [];
9201
9202
  }));
9202
9203
  }
9204
+ destroy() {
9205
+ this.extensions.forEach((e) => {
9206
+ let t = e;
9207
+ for (; t.parent;) {
9208
+ let e = t.parent;
9209
+ e.child === t && (e.child = null), t = e;
9210
+ }
9211
+ }), this.extensions = [], this.baseExtensions = [], this.schema = null, this.editor = null;
9212
+ }
9203
9213
  setupExtensions() {
9204
9214
  let e = this.extensions;
9205
9215
  this.editor.extensionStorage = Object.fromEntries(e.map((e) => [e.name, e.storage])), e.forEach((e) => {
@@ -9446,10 +9456,13 @@ var $ = class e extends Vu {
9446
9456
  }
9447
9457
  }), sd = $.create({
9448
9458
  name: "tabindex",
9459
+ addOptions() {
9460
+ return { value: void 0 };
9461
+ },
9449
9462
  addProseMirrorPlugins() {
9450
9463
  return [new M({
9451
9464
  key: new jn("tabindex"),
9452
- props: { attributes: () => this.editor.isEditable ? { tabindex: "0" } : {} }
9465
+ props: { attributes: () => !this.editor.isEditable && this.options.value === void 0 ? {} : { tabindex: this.options.value ?? "0" } }
9453
9466
  })];
9454
9467
  }
9455
9468
  }), cd = $.create({
@@ -9610,7 +9623,7 @@ function dd(e, t, n) {
9610
9623
  }
9611
9624
  var fd = class extends Nu {
9612
9625
  constructor(e = {}) {
9613
- super(), this.css = null, this.className = "tiptap", this.editorView = null, this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.instanceId = Math.random().toString(36).slice(2, 9), this.options = {
9626
+ super(), this.css = null, this.className = "tiptap", this.editorView = null, this.isFocused = !1, this.destroyed = !1, this.isInitialized = !1, this.extensionStorage = {}, this.instanceId = Math.random().toString(36).slice(2, 9), this.options = {
9614
9627
  element: typeof document < "u" ? document.createElement("div") : null,
9615
9628
  content: "",
9616
9629
  injectCSS: !0,
@@ -9748,7 +9761,7 @@ var fd = class extends Nu {
9748
9761
  $u,
9749
9762
  id,
9750
9763
  ad,
9751
- sd,
9764
+ sd.configure({ value: this.options.coreExtensionOptions?.tabindex?.value }),
9752
9765
  td,
9753
9766
  od,
9754
9767
  ed,
@@ -9881,7 +9894,7 @@ var fd = class extends Nu {
9881
9894
  return $l(this.state.doc);
9882
9895
  }
9883
9896
  destroy() {
9884
- this.emit("destroy"), this.unmount(), this.removeAllListeners();
9897
+ this.destroyed || (this.destroyed = !0, this.emit("destroy"), this.unmount(), this.removeAllListeners(), this.extensionManager.destroy(), this.extensionManager = null, this.schema = null, this.commandManager = null, this.extensionStorage = {});
9885
9898
  }
9886
9899
  get isDestroyed() {
9887
9900
  return this.editorView?.isDestroyed ?? !0;
@@ -10146,29 +10159,39 @@ function Cd(e, t) {
10146
10159
  function wd(e) {
10147
10160
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
10148
10161
  }
10149
- function Td(e) {
10150
- return e.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&amp;/g, "&");
10162
+ function Td(e, t) {
10163
+ let n = e.getAttribute("style");
10164
+ if (!n) return null;
10165
+ let r = n.split(";").map((e) => e.trim()).filter(Boolean), i = t.toLowerCase();
10166
+ for (let e = r.length - 1; e >= 0; --e) {
10167
+ let t = r[e], n = t.indexOf(":");
10168
+ if (n !== -1 && t.slice(0, n).trim().toLowerCase() === i) return t.slice(n + 1).trim();
10169
+ }
10170
+ return null;
10151
10171
  }
10152
10172
  function Ed(e) {
10173
+ return e.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&amp;/g, "&");
10174
+ }
10175
+ function Dd(e) {
10153
10176
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
10154
10177
  }
10155
- function Dd() {
10178
+ function Od() {
10156
10179
  return typeof navigator < "u" ? /Firefox/.test(navigator.userAgent) : !1;
10157
10180
  }
10158
- function Od(e) {
10181
+ function kd(e) {
10159
10182
  return typeof e == "string";
10160
10183
  }
10161
- var kd = {};
10162
- qs(kd, {
10163
- createAtomBlockMarkdownSpec: () => Md,
10164
- createBlockMarkdownSpec: () => Nd,
10165
- createInlineMarkdownSpec: () => Id,
10166
- parseAttributes: () => Ad,
10167
- parseIndentedBlocks: () => Ld,
10168
- renderNestedMarkdownContent: () => Rd,
10169
- serializeAttributes: () => jd
10184
+ var Ad = {};
10185
+ qs(Ad, {
10186
+ createAtomBlockMarkdownSpec: () => Nd,
10187
+ createBlockMarkdownSpec: () => Pd,
10188
+ createInlineMarkdownSpec: () => Ld,
10189
+ parseAttributes: () => jd,
10190
+ parseIndentedBlocks: () => Rd,
10191
+ renderNestedMarkdownContent: () => zd,
10192
+ serializeAttributes: () => Md
10170
10193
  });
10171
- function Ad(e) {
10194
+ function jd(e) {
10172
10195
  if (!e?.trim()) return {};
10173
10196
  let t = {}, n = [], r = e.replace(/["']([^"']*)["']/g, (e) => (n.push(e), `__QUOTED_${n.length - 1}__`)), i = r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);
10174
10197
  i && (t.class = i.map((e) => e.trim().slice(1)).join(" "));
@@ -10182,15 +10205,15 @@ function Ad(e) {
10182
10205
  e.match(/^[a-zA-Z][\w-]*$/) && (t[e] = !0);
10183
10206
  }), t;
10184
10207
  }
10185
- function jd(e) {
10208
+ function Md(e) {
10186
10209
  if (!e || Object.keys(e).length === 0) return "";
10187
10210
  let t = [];
10188
10211
  return e.class && String(e.class).split(/\s+/).filter(Boolean).forEach((e) => t.push(`.${e}`)), e.id && t.push(`#${e.id}`), Object.entries(e).forEach(([e, n]) => {
10189
10212
  e === "class" || e === "id" || (n === !0 ? t.push(e) : n !== !1 && n != null && t.push(`${e}="${String(n)}"`));
10190
10213
  }), t.join(" ");
10191
10214
  }
10192
- function Md(e) {
10193
- let { nodeName: t, name: n, parseAttributes: r = Ad, serializeAttributes: i = jd, defaultAttributes: a = {}, requiredAttributes: o = [], allowedAttributes: s } = e, c = n || t, l = (e) => {
10215
+ function Nd(e) {
10216
+ let { nodeName: t, name: n, parseAttributes: r = jd, serializeAttributes: i = Md, defaultAttributes: a = {}, requiredAttributes: o = [], allowedAttributes: s } = e, c = n || t, l = (e) => {
10194
10217
  if (!s) return e;
10195
10218
  let t = {};
10196
10219
  return s.forEach((n) => {
@@ -10229,8 +10252,8 @@ function Md(e) {
10229
10252
  }
10230
10253
  };
10231
10254
  }
10232
- function Nd(e) {
10233
- let { nodeName: t, name: n, getContent: r, parseAttributes: i = Ad, serializeAttributes: a = jd, defaultAttributes: o = {}, content: s = "block", allowedAttributes: c } = e, l = n || t, u = (e) => {
10255
+ function Pd(e) {
10256
+ let { nodeName: t, name: n, getContent: r, parseAttributes: i = jd, serializeAttributes: a = Md, defaultAttributes: o = {}, content: s = "block", allowedAttributes: c } = e, l = n || t, u = (e) => {
10234
10257
  if (!c) return e;
10235
10258
  let t = {};
10236
10259
  return c.forEach((n) => {
@@ -10304,7 +10327,7 @@ ${t.renderChildren(e.content || [], "\n\n")}
10304
10327
  }
10305
10328
  };
10306
10329
  }
10307
- function Pd(e) {
10330
+ function Fd(e) {
10308
10331
  if (!e.trim()) return {};
10309
10332
  let t = {}, n = /(\w+)=(?:"([^"]*)"|'([^']*)')/g, r = n.exec(e);
10310
10333
  for (; r !== null;) {
@@ -10313,11 +10336,11 @@ function Pd(e) {
10313
10336
  }
10314
10337
  return t;
10315
10338
  }
10316
- function Fd(e) {
10339
+ function Id(e) {
10317
10340
  return Object.entries(e).filter(([, e]) => e != null).map(([e, t]) => `${e}="${t}"`).join(" ");
10318
10341
  }
10319
- function Id(e) {
10320
- let { nodeName: t, name: n, getContent: r, parseAttributes: i = Pd, serializeAttributes: a = Fd, defaultAttributes: o = {}, selfClosing: s = !1, allowedAttributes: c } = e, l = n || t, u = (e) => {
10342
+ function Ld(e) {
10343
+ let { nodeName: t, name: n, getContent: r, parseAttributes: i = Fd, serializeAttributes: a = Id, defaultAttributes: o = {}, selfClosing: s = !1, allowedAttributes: c } = e, l = n || t, u = (e) => {
10321
10344
  if (!c) return e;
10322
10345
  let t = {};
10323
10346
  return c.forEach((n) => {
@@ -10374,7 +10397,7 @@ function Id(e) {
10374
10397
  }
10375
10398
  };
10376
10399
  }
10377
- function Ld(e, t, n) {
10400
+ function Rd(e, t, n) {
10378
10401
  let r = e.split("\n"), i = [], a = "", o = 0, s = t.baseIndentSize || 2;
10379
10402
  for (; o < r.length;) {
10380
10403
  let e = r[o], c = e.match(t.itemPattern);
@@ -10418,7 +10441,7 @@ function Ld(e, t, n) {
10418
10441
  raw: a
10419
10442
  };
10420
10443
  }
10421
- function Rd(e, t, n, r) {
10444
+ function zd(e, t, n, r) {
10422
10445
  if (!e || !Array.isArray(e.content)) return "";
10423
10446
  let i = typeof n == "function" ? n(r) : n, [a, ...o] = e.content, s = `${i}${t.renderChildren([a])}`;
10424
10447
  return o && o.length > 0 && o.forEach((e, n) => {
@@ -10432,9 +10455,9 @@ ${n}`;
10432
10455
  }
10433
10456
  }), s;
10434
10457
  }
10435
- var zd = /* @__PURE__ */ new WeakMap();
10436
- function Bd(e, t) {
10437
- let n = zd.get(e);
10458
+ var Bd = /* @__PURE__ */ new WeakMap();
10459
+ function Vd(e, t) {
10460
+ let n = Bd.get(e);
10438
10461
  if (!n) {
10439
10462
  let t = {
10440
10463
  callbacks: /* @__PURE__ */ new Set(),
@@ -10445,15 +10468,15 @@ function Bd(e, t) {
10445
10468
  });
10446
10469
  }
10447
10470
  };
10448
- zd.set(e, t), e.on("update", t.handler), n = t;
10471
+ Bd.set(e, t), e.on("update", t.handler), n = t;
10449
10472
  }
10450
10473
  n.callbacks.add(t);
10451
10474
  }
10452
- function Vd(e, t) {
10453
- let n = zd.get(e);
10454
- n && (n.callbacks.delete(t), n.callbacks.size === 0 && (n.rafId !== null && cancelAnimationFrame(n.rafId), e.off("update", n.handler), zd.delete(e)));
10475
+ function Hd(e, t) {
10476
+ let n = Bd.get(e);
10477
+ n && (n.callbacks.delete(t), n.callbacks.size === 0 && (n.rafId !== null && cancelAnimationFrame(n.rafId), e.off("update", n.handler), Bd.delete(e)));
10455
10478
  }
10456
- function Hd(e, t, n = {}) {
10479
+ function Ud(e, t, n = {}) {
10457
10480
  let { state: r } = t, { doc: i, tr: a } = r, o = e;
10458
10481
  i.descendants((t, r) => {
10459
10482
  let i = a.mapping.map(r), s = a.mapping.map(r) + t.nodeSize, c = null;
@@ -10473,7 +10496,7 @@ function Hd(e, t, n = {}) {
10473
10496
  }
10474
10497
  }), a.docChanged && t.view.dispatch(a);
10475
10498
  }
10476
- var Ud = class {
10499
+ var Wd = class {
10477
10500
  constructor(e, t, n) {
10478
10501
  this.component = e, this.editor = t.editor, this.options = { ...n }, this.mark = t.mark, this.HTMLAttributes = t.HTMLAttributes;
10479
10502
  }
@@ -10484,12 +10507,12 @@ var Ud = class {
10484
10507
  return null;
10485
10508
  }
10486
10509
  updateAttributes(e, t) {
10487
- Hd(t || this.mark, this.editor, e);
10510
+ Ud(t || this.mark, this.editor, e);
10488
10511
  }
10489
10512
  ignoreMutation(e) {
10490
10513
  return !this.dom || !this.contentDOM ? !0 : typeof this.options.ignoreMutation == "function" ? this.options.ignoreMutation({ mutation: e }) : e.type === "selection" || this.dom.contains(e.target) && e.type === "childList" && (yc() || vc()) && this.editor.isFocused && [...Array.from(e.addedNodes), ...Array.from(e.removedNodes)].every((e) => e.isContentEditable) ? !1 : this.contentDOM === e.target && e.type === "attributes" ? !0 : !this.contentDOM.contains(e.target);
10491
10514
  }
10492
- }, Wd = class e extends Vu {
10515
+ }, Gd = class e extends Vu {
10493
10516
  constructor() {
10494
10517
  super(...arguments), this.type = "node";
10495
10518
  }
@@ -10503,7 +10526,7 @@ var Ud = class {
10503
10526
  let t = typeof e == "function" ? e() : e;
10504
10527
  return super.extend(t);
10505
10528
  }
10506
- }, Gd = class {
10529
+ }, Kd = class {
10507
10530
  constructor(e, t, n) {
10508
10531
  this.isDragging = !1, this.component = e, this.editor = t.editor, this.options = {
10509
10532
  stopEvent: null,
@@ -10595,7 +10618,7 @@ var Ud = class {
10595
10618
  });
10596
10619
  }
10597
10620
  };
10598
- function Kd(e) {
10621
+ function qd(e) {
10599
10622
  return new Wu({
10600
10623
  find: e.find,
10601
10624
  handler: ({ state: t, range: n, match: r, pasteEvent: i }) => {
@@ -10610,7 +10633,7 @@ function Kd(e) {
10610
10633
  }
10611
10634
  });
10612
10635
  }
10613
- function qd(e) {
10636
+ function Jd(e) {
10614
10637
  return new Wu({
10615
10638
  find: e.find,
10616
10639
  handler({ match: t, chain: n, range: r, pasteEvent: i }) {
@@ -10624,7 +10647,7 @@ function qd(e) {
10624
10647
  }
10625
10648
  });
10626
10649
  }
10627
- function Jd(e) {
10650
+ function Yd(e) {
10628
10651
  return new Wu({
10629
10652
  find: e.find,
10630
10653
  handler: ({ state: t, range: n, match: r }) => {
@@ -10639,7 +10662,7 @@ function Jd(e) {
10639
10662
  }
10640
10663
  });
10641
10664
  }
10642
- var Yd = class {
10665
+ var Xd = class {
10643
10666
  constructor(e) {
10644
10667
  this.transaction = e, this.currentStep = this.transaction.steps.length;
10645
10668
  }
@@ -10655,4 +10678,4 @@ var Yd = class {
10655
10678
  }
10656
10679
  };
10657
10680
  //#endregion
10658
- export { il as $, Yu as $t, Td as A, ql as At, ul as B, gc as Bt, Nd as C, k as Cn, Xl as Ct, iu as D, l as Dn, pl as Dt, Id as E, r as En, Dd as Et, wd as F, Uu as Ft, jl as G, yl as Gt, dl as H, pd as Ht, Zu as I, zu as It, gl as J, md as Jt, Fl as K, Bu as Kt, sl as L, lc as Lt, qc as M, $l as Mt, Tc as N, eu as Nt, Ec as O, Ql as Ot, Ed as P, tu as Pt, fl as Q, Ld as Qt, cl as R, bc as Rt, Md as S, O as Sn, Yl as St, nl as T, Ut as Tn, Zl as Tt, xl as U, Kd as Ut, ll as V, yc as Vt, Al as W, kd as Wt, Vl as X, uc as Xt, Bl as Y, qd as Yt, Z, Ad as Zt, Q as _, Uo as _n, yd as _t, vd as a, su as an, J as at, al as b, M as bn, Jl as bt, Hu as c, jd as cn, Tl as ct, ld as d, gd as dn, Gl as dt, au as en, pc as et, Gd as f, Jd as fn, Nl as ft, Yd as g, Gs as gn, ru as gt, Sd as h, _d as hn, Pl as ht, $ as i, _c as in, Il as it, ol as j, Vc as jt, dd as k, Rc as kt, Ud as l, Dl as ln, Wl as lt, xd as m, Hd as mn, Kl as mt, fd as n, Rd as nn, Hl as nt, Pu as o, Bd as on, bl as ot, Wu as p, hd as pn, Ml as pt, Ll as q, X as qt, Vu as r, Ol as rn, Ul as rt, nu as s, Dc as sn, kl as st, Ys as t, Rl as tn, Y as tt, Wd as u, hl as un, Kc as ut, Cd as v, G as vn, Sl as vt, Js as w, ft as wn, ml as wt, Xs as x, jn as xn, vc as xt, Vd as y, A as yn, Lu as yt, El as z, Od as zt };
10681
+ export { il as $, Rd as $t, Ed as A, Rc as At, ul as B, kd as Bt, Pd as C, O as Cn, Yl as Ct, iu as D, r as Dn, Od as Dt, Ld as E, Ut as En, Zl as Et, wd as F, tu as Ft, jl as G, Ad as Gt, dl as H, yc as Ht, Zu as I, Uu as It, gl as J, X as Jt, Fl as K, yl as Kt, sl as L, zu as Lt, qc as M, Vc as Mt, Tc as N, $l as Nt, Ec as O, l as On, pl as Ot, Dd as P, eu as Pt, fl as Q, jd as Qt, cl as R, lc as Rt, Nd as S, jn as Sn, vc as St, nl as T, ft as Tn, ml as Tt, xl as U, pd as Ut, ll as V, gc as Vt, Al as W, qd as Wt, Vl as X, Jd as Xt, Bl as Y, md as Yt, Z, uc as Zt, Q as _, Gs as _n, ru as _t, vd as a, _c as an, J as at, al as b, A as bn, Lu as bt, Hu as c, Dc as cn, Tl as ct, ld as d, hl as dn, Gl as dt, Yu as en, pc as et, Kd as f, gd as fn, Td as ft, Xd as g, _d as gn, Pl as gt, Sd as h, Ud as hn, Kl as ht, $ as i, Ol as in, Il as it, ol as j, ql as jt, dd as k, Ql as kt, Wd as l, Md as ln, Wl as lt, xd as m, hd as mn, Ml as mt, fd as n, Rl as nn, Hl as nt, Pu as o, su as on, bl as ot, Wu as p, Yd as pn, Nl as pt, Ll as q, Bu as qt, Vu as r, zd as rn, Ul as rt, nu as s, Vd as sn, kl as st, Ys as t, au as tn, Y as tt, Gd as u, Dl as un, Kc as ut, Cd as v, Uo as vn, yd as vt, Js as w, k as wn, Xl as wt, Xs as x, M as xn, Jl as xt, Hd as y, G as yn, Sl as yt, El as z, bc as zt };
@@ -0,0 +1,5 @@
1
+ import { Color as e } from "./dist-DiYYRj9J.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-color@3.23.4_@tiptap+extension-text-style@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__/node_modules/@tiptap/extension-color/dist/index.js
3
+ var t = e;
4
+ //#endregion
5
+ export { e as Color, t as default };
@@ -1,5 +1,5 @@
1
- import { Gt as e, c as t } from "./dist-CQQS9SRN.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
1
+ import { Kt as e, c as t } from "./dist-DpF3BN6Y.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4_/node_modules/@tiptap/extension-underline/dist/index.js
3
3
  var n = t.create({
4
4
  name: "underline",
5
5
  addOptions() {