@templatical/editor 0.8.4 → 0.8.5

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 (88) hide show
  1. package/dist/{AiChatSidebar-CnRXeK77.js → AiChatSidebar-uhkhnXQd.js} +1 -1
  2. package/dist/{AiFeatureMenu-BYDDrpj6.js → AiFeatureMenu-DXNKvXP5.js} +1 -1
  3. package/dist/{CloudEditor-B9a_K6Cm.js → CloudEditor-BSkPQjwo.js} +6 -6
  4. package/dist/{CollaboratorBar-HN4whzM-.js → CollaboratorBar-CP76Sh6c.js} +1 -1
  5. package/dist/{DesignReferenceSidebar-0GwjUn2V.js → DesignReferenceSidebar-CfJqJ7l6.js} +1 -1
  6. package/dist/{ModuleBrowserModal-DPZBsvqk.js → ModuleBrowserModal-BFQTm6uY.js} +4 -4
  7. package/dist/{ModulePreviewCanvas-CK4j11-e.js → ModulePreviewCanvas-DeqMpo73.js} +1 -1
  8. package/dist/{ParagraphEditor-DBus_iHH.js → ParagraphEditor-DqomSbW3.js} +13 -13
  9. package/dist/{SaveModuleDialog-DORRSbBo.js → SaveModuleDialog-DKcpPeWd.js} +2 -2
  10. package/dist/{SnapshotHistory-DTMVEk03.js → SnapshotHistory-Z9RQj53S.js} +1 -1
  11. package/dist/{TestEmailModal-DJmYp0Qi.js → TestEmailModal-C8DhylO1.js} +2 -2
  12. package/dist/{TitleEditor-70d9AF1V.js → TitleEditor-CgLrn6R3.js} +5 -5
  13. package/dist/{TplModal-BEfwlvPC.js → TplModal-CbwRwmR3.js} +1 -1
  14. package/dist/{blockTypeIcons-2DRoPa3K.js → blockTypeIcons-CccKujXP.js} +1 -1
  15. package/dist/bundle-stats.json +6 -6
  16. package/dist/cdn/chunks/{AiFeatureMenu-CcuKnisc.js → AiFeatureMenu-ChNv7XXj.js} +2 -2
  17. package/dist/cdn/chunks/{AiFeatureMenu-CcuKnisc.js.map → AiFeatureMenu-ChNv7XXj.js.map} +1 -1
  18. package/dist/cdn/chunks/{BlockIssueBadge-Sr3is7Wr.js → BlockIssueBadge-BovmWgok.js} +2 -2
  19. package/dist/cdn/chunks/{BlockIssueBadge-Sr3is7Wr.js.map → BlockIssueBadge-BovmWgok.js.map} +1 -1
  20. package/dist/cdn/chunks/{CloudEditor-Bi10d2Gq.js → CloudEditor-CHF_P5OL.js} +7 -7
  21. package/dist/cdn/chunks/{CloudEditor-Bi10d2Gq.js.map → CloudEditor-CHF_P5OL.js.map} +1 -1
  22. package/dist/cdn/chunks/{CollaboratorBar-C0zeecvl.js → CollaboratorBar-Bjr5YSh0.js} +3 -3
  23. package/dist/cdn/chunks/{CollaboratorBar-C0zeecvl.js.map → CollaboratorBar-Bjr5YSh0.js.map} +1 -1
  24. package/dist/cdn/chunks/{CountdownBlock-CpSUUDDs.js → CountdownBlock-KyzvhjMF.js} +2 -2
  25. package/dist/cdn/chunks/{CountdownBlock-CpSUUDDs.js.map → CountdownBlock-KyzvhjMF.js.map} +1 -1
  26. package/dist/cdn/chunks/{CountdownToolbar-BBzdR-00.js → CountdownToolbar-bJtMHGYz.js} +3 -3
  27. package/dist/cdn/chunks/{CountdownToolbar-BBzdR-00.js.map → CountdownToolbar-bJtMHGYz.js.map} +1 -1
  28. package/dist/cdn/chunks/{IssuesPanel-Bthq6qoZ.js → IssuesPanel-DFSYTQXy.js} +3 -3
  29. package/dist/cdn/chunks/{IssuesPanel-Bthq6qoZ.js.map → IssuesPanel-DFSYTQXy.js.map} +1 -1
  30. package/dist/cdn/chunks/{ModuleBrowserModal-CFMd6M7E.js → ModuleBrowserModal-DS0BGRhZ.js} +5 -5
  31. package/dist/cdn/chunks/{ModuleBrowserModal-CFMd6M7E.js.map → ModuleBrowserModal-DS0BGRhZ.js.map} +1 -1
  32. package/dist/cdn/chunks/{ModulePreviewCanvas-BkcPcF5C.js → ModulePreviewCanvas-Dwn2cA5a.js} +2 -2
  33. package/dist/cdn/chunks/{ModulePreviewCanvas-BkcPcF5C.js.map → ModulePreviewCanvas-Dwn2cA5a.js.map} +1 -1
  34. package/dist/cdn/chunks/{NumberWithSuffix-C2hH_ZIK.js → NumberWithSuffix-BNBeHv0P.js} +2 -2
  35. package/dist/cdn/chunks/{NumberWithSuffix-C2hH_ZIK.js.map → NumberWithSuffix-BNBeHv0P.js.map} +1 -1
  36. package/dist/cdn/chunks/{ParagraphEditor-BIWXLPfu.js → ParagraphEditor-C4TrTIOm.js} +16 -16
  37. package/dist/cdn/chunks/{ParagraphEditor-BIWXLPfu.js.map → ParagraphEditor-C4TrTIOm.js.map} +1 -1
  38. package/dist/cdn/chunks/{RichTextEditorContent-DU0gc4bi.js → RichTextEditorContent-HNFFL4aK.js} +2 -2
  39. package/dist/cdn/chunks/{RichTextEditorContent-DU0gc4bi.js.map → RichTextEditorContent-HNFFL4aK.js.map} +1 -1
  40. package/dist/cdn/chunks/{SaveModuleDialog-DR9EZlWe.js → SaveModuleDialog-CbHqqeID.js} +2 -2
  41. package/dist/cdn/chunks/{SaveModuleDialog-DR9EZlWe.js.map → SaveModuleDialog-CbHqqeID.js.map} +1 -1
  42. package/dist/cdn/chunks/{TitleEditor-DZcx2N4R.js → TitleEditor-gr-eBUq_.js} +8 -8
  43. package/dist/cdn/chunks/{TitleEditor-DZcx2N4R.js.map → TitleEditor-gr-eBUq_.js.map} +1 -1
  44. package/dist/cdn/chunks/{blockTypeIcons-eVGGIdne.js → blockTypeIcons-BUlgu9JL.js} +3 -3
  45. package/dist/cdn/chunks/{blockTypeIcons-eVGGIdne.js.map → blockTypeIcons-BUlgu9JL.js.map} +1 -1
  46. package/dist/cdn/chunks/{extensions-CvCoOuWB.js → extensions-DK_lVs7A.js} +3 -3
  47. package/dist/cdn/chunks/{extensions-CvCoOuWB.js.map → extensions-DK_lVs7A.js.map} +1 -1
  48. package/dist/cdn/chunks/{features-CUYy5kZQ.js → features-LiilsBqW.js} +806 -773
  49. package/dist/cdn/chunks/features-LiilsBqW.js.map +1 -0
  50. package/dist/cdn/chunks/{icons-C4zY5-I3.js → icons-Bn2SIR30.js} +2 -2
  51. package/dist/cdn/chunks/{icons-C4zY5-I3.js.map → icons-Bn2SIR30.js.map} +1 -1
  52. package/dist/cdn/chunks/{media-library-BNt3msId.js → media-library-Bb2PavAd.js} +3 -3
  53. package/dist/cdn/chunks/{media-library-BNt3msId.js.map → media-library-Bb2PavAd.js.map} +1 -1
  54. package/dist/cdn/chunks/{quality-BTPRPGB-.js → quality-Bpj6kNxR.js} +180 -154
  55. package/dist/cdn/chunks/{quality-BTPRPGB-.js.map → quality-Bpj6kNxR.js.map} +1 -1
  56. package/dist/cdn/chunks/{renderer-IOmuuZjJ.js → renderer-CYYyu-Di.js} +130 -96
  57. package/dist/cdn/chunks/{renderer-IOmuuZjJ.js.map → renderer-CYYyu-Di.js.map} +1 -1
  58. package/dist/cdn/chunks/{src-Dp0ZFQ4-.js → src-CQjZnxvw.js} +4 -4
  59. package/dist/cdn/chunks/{src-Dp0ZFQ4-.js.map → src-CQjZnxvw.js.map} +1 -1
  60. package/dist/cdn/chunks/{styles-DtgjgsBH.js → styles-5g8XOS68.js} +8 -8
  61. package/dist/cdn/chunks/{styles-DtgjgsBH.js.map → styles-5g8XOS68.js.map} +1 -1
  62. package/dist/cdn/chunks/{tiptap-BErAJEvo.js → tiptap-BBbH3IT9.js} +849 -725
  63. package/dist/cdn/chunks/tiptap-BBbH3IT9.js.map +1 -0
  64. package/dist/cdn/editor.js +5 -5
  65. package/dist/{cloud-Dz8Ay2FM.js → cloud-VxYMtfXC.js} +1 -1
  66. package/dist/{dist-BygsE-n3.js → dist-BDgf2G-V.js} +453 -314
  67. package/dist/{dist-BtDBsF3N.js → dist-BxP6TB0l.js} +2 -2
  68. package/dist/{dist-DWhP3Dp2.js → dist-BzuC8o3y.js} +1209 -1217
  69. package/dist/{dist-v-O2Subd.js → dist-C0jo8wtG.js} +2 -2
  70. package/dist/{dist-BTgujVMy.js → dist-C8wMh_gi.js} +2 -2
  71. package/dist/{dist-Cipw2HFH.js → dist-CIV3Brg-.js} +37 -4
  72. package/dist/{dist-BS5Oi67L.js → dist-CUpJmrjt.js} +2 -2
  73. package/dist/dist-D5lmdi1F.js +5 -0
  74. package/dist/{dist-T-ORzNfM.js → dist-D8C6jIXM.js} +168 -175
  75. package/dist/dist-DILjuzSv.js +5 -0
  76. package/dist/{dist-CDtcJMB2.js → dist-DXaxGLsw.js} +33 -33
  77. package/dist/{dist-DnGTaPRX.js → dist-DYO-w_Jf.js} +2 -2
  78. package/dist/{dist-CDZCyoRy.js → dist-UK-lbEBc.js} +2 -2
  79. package/dist/{extensions-BmGiz8Oo.js → extensions-DeNHyWwh.js} +27 -27
  80. package/dist/{styles-DFeOGKa_.js → styles-Bgqv7rLA.js} +4 -4
  81. package/dist/templatical-editor.js +3 -3
  82. package/dist/{useEditorCore-BXz-UXPd.js → useEditorCore-CaOVDL_m.js} +4 -4
  83. package/dist/{useMergeTag-CS2bmWA0.js → useMergeTag-RWsgUcSh.js} +1 -1
  84. package/package.json +21 -21
  85. package/dist/cdn/chunks/features-CUYy5kZQ.js.map +0 -1
  86. package/dist/cdn/chunks/tiptap-BErAJEvo.js.map +0 -1
  87. package/dist/dist-BySzGkeC.js +0 -5
  88. package/dist/dist-D7JUZ2Kd.js +0 -5
@@ -1,4 +1,4 @@
1
- import { Kt as e, R as t, Sn as n, Wt as r, Y as i, b as a, c as o, nt as s, q as c, xn as l } from "./dist-DWhP3Dp2.js";
1
+ import { Gt as e, J as t, K as n, L as r, Ut as i, bn as a, c as o, tt as s, y as c, yn as l } from "./dist-BzuC8o3y.js";
2
2
  //#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
3
3
  var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", d = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", f = "numeric", p = "ascii", m = "alpha", h = "asciinumeric", g = "alphanumeric", _ = "domain", ee = "emoji", te = "scheme", v = "slashscheme", y = "whitespace";
4
4
  function b(e, t) {
@@ -510,30 +510,30 @@ function gt(e, t = null, n = null) {
510
510
  return a;
511
511
  }
512
512
  //#endregion
513
- //#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__@tiptap+pm@3.23.4/node_modules/@tiptap/extension-link/dist/index.js
513
+ //#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/extension-link/dist/index.js
514
514
  var _t = "[\0- \xA0 ᠎ -\u2029  ]", vt = new RegExp(_t), yt = RegExp(`${_t}$`), bt = new RegExp(_t, "g");
515
515
  function xt(e) {
516
516
  return e.length === 1 ? e[0].isLink : e.length === 3 && e[1].isLink ? ["()", "[]"].includes(e[0].value + e[2].value) : !1;
517
517
  }
518
518
  function St(e) {
519
519
  return new l({
520
- key: new n("autolink"),
521
- appendTransaction: (n, r, o) => {
522
- let c = n.some((e) => e.docChanged) && !r.doc.eq(o.doc), l = n.some((e) => e.getMeta("preventAutolink"));
523
- if (!c || l) return;
524
- let { tr: u } = o;
525
- if (i(a(r.doc, [...n])).forEach(({ newRange: n }) => {
526
- let r = t(o.doc, n, (e) => e.isTextblock), i, a;
527
- if (r.length > 1) i = r[0], a = o.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
528
- else if (r.length) {
529
- let e = o.doc.textBetween(n.from, n.to, " ", " ");
520
+ key: new a("autolink"),
521
+ appendTransaction: (n, i, a) => {
522
+ let o = n.some((e) => e.docChanged) && !i.doc.eq(a.doc), l = n.some((e) => e.getMeta("preventAutolink"));
523
+ if (!o || l) return;
524
+ let { tr: u } = a;
525
+ if (t(c(i.doc, [...n])).forEach(({ newRange: t }) => {
526
+ let n = r(a.doc, t, (e) => e.isTextblock), i, o;
527
+ if (n.length > 1) i = n[0], o = a.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
528
+ else if (n.length) {
529
+ let e = a.doc.textBetween(t.from, t.to, " ", " ");
530
530
  if (!yt.test(e)) return;
531
- i = r[0], a = o.doc.textBetween(i.pos, n.to, void 0, " ");
531
+ i = n[0], o = a.doc.textBetween(i.pos, t.to, void 0, " ");
532
532
  }
533
- if (i && a) {
534
- let t = a.split(vt).filter(Boolean);
533
+ if (i && o) {
534
+ let t = o.split(vt).filter(Boolean);
535
535
  if (t.length <= 0) return !1;
536
- let n = t[t.length - 1], r = i.pos + a.lastIndexOf(n);
536
+ let n = t[t.length - 1], r = i.pos + o.lastIndexOf(n);
537
537
  if (!n) return !1;
538
538
  let c = ht(n).map((t) => t.toObject(e.defaultProtocol));
539
539
  if (!xt(c)) return !1;
@@ -541,8 +541,8 @@ function St(e) {
541
541
  ...e,
542
542
  from: r + e.start + 1,
543
543
  to: r + e.end + 1
544
- })).filter((e) => o.schema.marks.code ? !o.doc.rangeHasMark(e.from, e.to, o.schema.marks.code) : !0).filter((t) => e.validate(t.value)).filter((t) => e.shouldAutoLink(t.value)).forEach((t) => {
545
- s(t.from, t.to, o.doc).some((t) => t.mark.type === e.type) || u.addMark(t.from, t.to, e.type.create({ href: t.href }));
544
+ })).filter((e) => a.schema.marks.code ? !a.doc.rangeHasMark(e.from, e.to, a.schema.marks.code) : !0).filter((t) => e.validate(t.value)).filter((t) => e.shouldAutoLink(t.value)).forEach((t) => {
545
+ s(t.from, t.to, a.doc).some((t) => t.mark.type === e.type) || u.addMark(t.from, t.to, e.type.create({ href: t.href }));
546
546
  });
547
547
  }
548
548
  }), u.steps.length) return u;
@@ -551,30 +551,30 @@ function St(e) {
551
551
  }
552
552
  function Ct(e) {
553
553
  return new l({
554
- key: new n("handleClickLink"),
555
- props: { handleClick: (t, n, r) => {
556
- if (r.button !== 0 || !t.editable) return !1;
557
- let i = null;
558
- if (r.target instanceof HTMLAnchorElement) i = r.target;
554
+ key: new a("handleClickLink"),
555
+ props: { handleClick: (t, r, i) => {
556
+ if (i.button !== 0 || !t.editable) return !1;
557
+ let a = null;
558
+ if (i.target instanceof HTMLAnchorElement) a = i.target;
559
559
  else {
560
- let t = r.target;
560
+ let t = i.target;
561
561
  if (!t) return !1;
562
562
  let n = e.editor.view.dom;
563
- i = t.closest("a"), i && !n.contains(i) && (i = null);
563
+ a = t.closest("a"), a && !n.contains(a) && (a = null);
564
564
  }
565
- if (!i) return !1;
566
- let a = !1;
567
- if (e.enableClickSelection && (a = e.editor.commands.extendMarkRange(e.type.name)), e.openOnClick) {
568
- let n = c(t.state, e.type.name), r = i.href ?? n.href, o = i.target ?? n.target;
569
- r && (window.open(r, o), a = !0);
565
+ if (!a) return !1;
566
+ let o = !1;
567
+ if (e.enableClickSelection && (o = e.editor.commands.extendMarkRange(e.type.name)), e.openOnClick) {
568
+ let r = n(t.state, e.type.name), i = a.href ?? r.href, s = a.target ?? r.target;
569
+ i && (window.open(i, s), o = !0);
570
570
  }
571
- return a;
571
+ return o;
572
572
  } }
573
573
  });
574
574
  }
575
575
  function wt(e) {
576
576
  return new l({
577
- key: new n("handlePasteLink"),
577
+ key: new a("handlePasteLink"),
578
578
  props: { handlePaste: (t, n, r) => {
579
579
  let { shouldAutoLink: i } = e, { state: a } = t, { selection: o } = a, { empty: s } = o;
580
580
  if (s) return !1;
@@ -725,7 +725,7 @@ var Et = o.create({
725
725
  };
726
726
  },
727
727
  addPasteRules() {
728
- return [r({
728
+ return [i({
729
729
  find: (e) => {
730
730
  let t = [];
731
731
  if (e) {
@@ -1,5 +1,5 @@
1
- import { Kt as e, c as t } from "./dist-DWhP3Dp2.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
1
+ import { Gt as e, c as t } from "./dist-BzuC8o3y.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-underline/dist/index.js
3
3
  var n = t.create({
4
4
  name: "underline",
5
5
  addOptions() {
@@ -1,5 +1,5 @@
1
- import { i as e } from "./dist-DWhP3Dp2.js";
2
- //#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4_/node_modules/@tiptap/extension-text-align/dist/index.js
1
+ import { i as e } from "./dist-BzuC8o3y.js";
2
+ //#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-text-align/dist/index.js
3
3
  var t = e.create({
4
4
  name: "textAlign",
5
5
  addOptions() {
@@ -1,11 +1,11 @@
1
1
  import { A as e, B as t, E as n, M as r, S as i, X as a, a as o, at as s, b as c, c as l, d as u, f as d, h as f, l as p, m, n as h, ot as g, p as _, rt as v, s as y, st as b, z as x } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { C as S, D as C, n as w, w as T } from "./dist-Cipw2HFH.js";
2
+ import { C as S, D as C, n as w, w as T } from "./dist-CIV3Brg-.js";
3
3
  import { t as E } from "./useI18n-CBbStVlD.js";
4
- import { t as D } from "./useMergeTag-CS2bmWA0.js";
5
- import { F as O, Kt as k, Sn as A, i as j, o as M, p as N, u as P, vn as F, xn as ee, yn as I } from "./dist-DWhP3Dp2.js";
6
- import { n as L, t as R } from "./dist-T-ORzNfM.js";
4
+ import { t as D } from "./useMergeTag-RWsgUcSh.js";
5
+ import { Gt as O, P as k, _n as A, bn as j, gn as M, i as N, o as P, p as F, u as I, yn as L } from "./dist-BzuC8o3y.js";
6
+ import { n as R, t as z } from "./dist-D8C6jIXM.js";
7
7
  //#region src/extensions/FontSize.ts
8
- var te = j.create({
8
+ var ee = N.create({
9
9
  name: "fontSize",
10
10
  addOptions() {
11
11
  return { types: ["textStyle"] };
@@ -26,7 +26,7 @@ var te = j.create({
26
26
  unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
27
27
  };
28
28
  }
29
- }), ne = j.create({
29
+ }), te = N.create({
30
30
  name: "letterSpacing",
31
31
  addOptions() {
32
32
  return { types: ["textStyle"] };
@@ -47,7 +47,7 @@ var te = j.create({
47
47
  unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
48
48
  };
49
49
  }
50
- }), re = j.create({
50
+ }), ne = N.create({
51
51
  name: "lineHeight",
52
52
  addOptions() {
53
53
  return {
@@ -71,7 +71,7 @@ var te = j.create({
71
71
  unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
72
72
  };
73
73
  }
74
- }), z = [
74
+ }), re = [
75
75
  "aria-label",
76
76
  "data-tooltip",
77
77
  "onKeydown"
@@ -107,7 +107,7 @@ var te = j.create({
107
107
  function N(e) {
108
108
  e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (T.value = !1);
109
109
  }
110
- return (n, i) => (e(), _(v(R), {
110
+ return (n, i) => (e(), _(v(z), {
111
111
  as: "span",
112
112
  class: s(h.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
113
113
  style: g(h.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
@@ -131,7 +131,7 @@ var te = j.create({
131
131
  "data-tooltip": r.node.attrs.value,
132
132
  onClick: l(j, ["stop"]),
133
133
  onKeydown: [y(l(j, ["stop"]), ["enter"]), y(l(j, ["prevent", "stop"]), ["space"])]
134
- }, b(w.value), 41, z)) : (e(), f("span", {
134
+ }, b(w.value), 41, re)) : (e(), f("span", {
135
135
  key: 2,
136
136
  role: "button",
137
137
  tabindex: "0",
@@ -177,11 +177,11 @@ function U(e, t) {
177
177
  //#endregion
178
178
  //#region src/extensions/renderVueNodeView.ts
179
179
  function W(e) {
180
- return L(e);
180
+ return R(e);
181
181
  }
182
182
  //#endregion
183
183
  //#region src/extensions/LogicMergeTagNode.ts
184
- var G = P.create({
184
+ var G = I.create({
185
185
  name: "logicMergeTagNode",
186
186
  group: "inline",
187
187
  inline: !0,
@@ -213,7 +213,7 @@ var G = P.create({
213
213
  let n = S(e.attrs.value, this.options.syntax);
214
214
  return [
215
215
  "span",
216
- k(t, {
216
+ O(t, {
217
217
  "data-logic-merge-tag": e.attrs.value,
218
218
  "data-keyword": n
219
219
  }),
@@ -230,7 +230,7 @@ var G = P.create({
230
230
  };
231
231
  },
232
232
  addInputRules() {
233
- return [new M({
233
+ return [new P({
234
234
  find: RegExp(this.options.syntax.logic.source + "$", ""),
235
235
  handler: ({ state: e, range: t, match: n }) => {
236
236
  let r = n[0];
@@ -244,7 +244,7 @@ var G = P.create({
244
244
  })];
245
245
  },
246
246
  addPasteRules() {
247
- return [new N({
247
+ return [new F({
248
248
  find: new RegExp(this.options.syntax.logic.source, "g"),
249
249
  handler: ({ state: e, range: t, match: n }) => {
250
250
  let r = n[0];
@@ -285,7 +285,7 @@ var G = P.create({
285
285
  function w(e) {
286
286
  e.key === "Enter" ? (e.preventDefault(), C()) : e.key === "Escape" && (m.value = !1);
287
287
  }
288
- return (n, i) => (e(), _(v(R), {
288
+ return (n, i) => (e(), _(v(z), {
289
289
  as: "span",
290
290
  class: "tpl-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium tpl:select-none tpl:text-[var(--tpl-primary)]",
291
291
  style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
@@ -337,7 +337,7 @@ var G = P.create({
337
337
  _: 1
338
338
  }));
339
339
  }
340
- }), Y = P.create({
340
+ }), Y = I.create({
341
341
  name: "mergeTagNode",
342
342
  group: "inline",
343
343
  inline: !0,
@@ -367,7 +367,7 @@ var G = P.create({
367
367
  let n = T(e.attrs.value, this.options.mergeTags);
368
368
  return [
369
369
  "span",
370
- k(t, {
370
+ O(t, {
371
371
  "data-merge-tag": e.attrs.value,
372
372
  "data-label": n
373
373
  }),
@@ -390,7 +390,7 @@ var G = P.create({
390
390
  };
391
391
  },
392
392
  addInputRules() {
393
- return [new M({
393
+ return [new P({
394
394
  find: RegExp(this.options.syntax.value.source + "$", ""),
395
395
  handler: ({ state: e, range: t, match: n }) => {
396
396
  let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
@@ -402,7 +402,7 @@ var G = P.create({
402
402
  })];
403
403
  },
404
404
  addPasteRules() {
405
- return [new N({
405
+ return [new F({
406
406
  find: new RegExp(this.options.syntax.value.source, "g"),
407
407
  handler: ({ state: e, range: t, match: n }) => {
408
408
  let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
@@ -415,9 +415,9 @@ var G = P.create({
415
415
  }
416
416
  });
417
417
  //#endregion
418
- //#region ../../node_modules/.pnpm/@tiptap+suggestion@3.23.4_@tiptap+core@3.23.4_@tiptap+pm@3.23.4__@tiptap+pm@3.23.4/node_modules/@tiptap/suggestion/dist/index.js
418
+ //#region ../../node_modules/.pnpm/@tiptap+suggestion@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/suggestion/dist/index.js
419
419
  function ie(e) {
420
- let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = O(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
420
+ let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = k(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
421
421
  if (!p) return null;
422
422
  let m = o.pos - p.length, h = Array.from(p.matchAll(f)).pop();
423
423
  if (!h || h.input === void 0 || h.index === void 0) return null;
@@ -441,7 +441,7 @@ function ae(e) {
441
441
  return /\s/.test(n);
442
442
  }) : !1;
443
443
  }
444
- var oe = new A("suggestion");
444
+ var oe = new j("suggestion");
445
445
  function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: i = !1, allowedPrefixes: a = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: c = "suggestion", decorationContent: l = "", decorationEmptyClass: u = "is-empty", command: d = () => null, items: f = () => [], render: p = () => ({}), allow: m = () => !0, findSuggestionMatch: h = ie, shouldShow: g, shouldResetDismissed: _ }) {
446
446
  let v, y = p?.(), b = r && !i, x = () => {
447
447
  let e = t.state.selection.$anchor.pos, { top: n, right: r, bottom: i, left: a } = t.view.coordsAtPos(e);
@@ -489,7 +489,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
489
489
  let a = n.state.tr.setMeta(r, { exit: !0 });
490
490
  n.dispatch(a);
491
491
  }
492
- let T = new ee({
492
+ let T = new L({
493
493
  key: e,
494
494
  view() {
495
495
  return {
@@ -602,7 +602,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
602
602
  let { active: t, range: n, decorationId: r, query: i } = T.getState(e);
603
603
  if (!t) return null;
604
604
  let a = !i?.length, o = [c];
605
- return a && o.push(u), I.create(e.doc, [F.inline(n.from, n.to, {
605
+ return a && o.push(u), A.create(e.doc, [M.inline(n.from, n.to, {
606
606
  nodeName: s,
607
607
  class: o.join(" "),
608
608
  "data-decoration-id": r,
@@ -667,7 +667,7 @@ function Q(e, t) {
667
667
  function $(e, t, n, r) {
668
668
  return t.length === 0 ? e.key === "Enter" || e.key === "Tab" : e.key === "ArrowDown" ? (n.value = (n.value + 1) % t.length, !0) : e.key === "ArrowUp" ? (n.value = (n.value - 1 + t.length) % t.length, !0) : e.key === "Enter" || e.key === "Tab" ? (r(t[n.value]), !0) : !1;
669
669
  }
670
- var he = j.create({
670
+ var he = N.create({
671
671
  name: "mergeTagSuggestion",
672
672
  addOptions() {
673
673
  return {
@@ -797,4 +797,4 @@ var he = j.create({
797
797
  }
798
798
  });
799
799
  //#endregion
800
- export { te as FontSize, ne as LetterSpacing, re as LineHeight, G as LogicMergeTagNode, Y as MergeTagNode, he as MergeTagSuggestion, Q as filterMergeTags, $ as handleSuggestionKeyDown };
800
+ export { ee as FontSize, te as LetterSpacing, ne as LineHeight, G as LogicMergeTagNode, Y as MergeTagNode, he as MergeTagSuggestion, Q as filterMergeTags, $ as handleSuggestionKeyDown };
@@ -1,13 +1,13 @@
1
1
  import { A as e, B as t, E as n, F as r, J as i, L as a, M as o, N as s, U as c, X as l, _ as u, a as d, at as f, b as p, c as m, d as h, f as g, h as _, l as v, m as y, o as b, ot as x, p as S, q as C, rt as w, s as T, st as E, t as D, v as O, w as k, y as A, z as j } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { C as ee, D as M, E as te, S as N, a as P, l as F, n as ne, o as I } from "./dist-Cipw2HFH.js";
3
- import { A as L, F as re, I as ie, M as ae, N as oe, T as R, _ as se, a as ce, c as le, d as ue, g as de, h as fe, i as pe, j as me, k as he, l as ge, m as _e, n as ve, o as ye, p as be, r as xe, s as Se, u as Ce, v as we, y as Te } from "./useEditorCore-BXz-UXPd.js";
2
+ import { C as ee, D as M, E as te, S as N, a as P, l as F, n as ne, o as I } from "./dist-CIV3Brg-.js";
3
+ import { A as L, F as re, I as ie, M as ae, N as oe, T as R, _ as se, a as ce, c as le, d as ue, g as de, h as fe, i as pe, j as me, k as he, l as ge, m as _e, n as ve, o as ye, p as be, r as xe, s as Se, u as Ce, v as we, y as Te } from "./useEditorCore-CaOVDL_m.js";
4
4
  import { s as Ee } from "./dist-HO0vjY5Z.js";
5
5
  import { A as De, E as Oe, a as ke, b as Ae, d as je, f as Me, h as Ne, n as Pe, o as Fe, p as Ie, s as Le, u as Re, x as ze } from "./keys-B8K7Z7Ef.js";
6
6
  import { t as z } from "./useI18n-CBbStVlD.js";
7
7
  import { t as B } from "./createLucideIcon-XgXOJ05E.js";
8
8
  import { t as Be } from "./chevron-down-DJjo0jSV.js";
9
9
  import { t as Ve } from "./circle-alert-CPH6l3Lc.js";
10
- import { n as He, r as V, t as Ue } from "./blockTypeIcons-2DRoPa3K.js";
10
+ import { n as He, r as V, t as Ue } from "./blockTypeIcons-CccKujXP.js";
11
11
  import { n as We, t as Ge } from "./refresh-cw-CvWF4jfR.js";
12
12
  import { t as Ke } from "./image-up-CPBCOMit.js";
13
13
  import { t as qe } from "./info-DIY9mguM.js";
@@ -19,7 +19,7 @@ import { t as et } from "./trash-2-BpY5BCLT.js";
19
19
  import { t as tt } from "./x-rcnxRG8Y.js";
20
20
  import { t as H } from "./_plugin-vue_export-helper-B3ysoDQm.js";
21
21
  import { t as nt } from "./useCloudI18n-DFzVgYhJ.js";
22
- import { t as rt } from "./useMergeTag-CS2bmWA0.js";
22
+ import { t as rt } from "./useMergeTag-RWsgUcSh.js";
23
23
  import { t as it } from "./useAliveFlag-BLyG8L4d.js";
24
24
  import { t as at } from "./readableTextColor-f8Kykfnh.js";
25
25
  import { t as ot } from "./CountdownBlock-I99sC0C5.js";
@@ -1,7 +1,7 @@
1
1
  import { A as e, B as t, O as n, S as r, X as i, _ as a, at as o, b as s, f as c, h as l, k as u, m as d, n as f, o as p, ot as m, p as h, rt as g, st as _, t as v, v as y, z as b } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
2
  import { r as x } from "./timeouts-Bmi_yePw.js";
3
- import { L as ee, t as te, x as S } from "./useEditorCore-BXz-UXPd.js";
4
- import { a as ne, c as re, i as ie, l as ae, n as C, o as oe, r as w, s as T, t as E } from "./styles-DFeOGKa_.js";
3
+ import { L as ee, t as te, x as S } from "./useEditorCore-CaOVDL_m.js";
4
+ import { a as ne, c as re, i as ie, l as ae, n as C, o as oe, r as w, s as T, t as E } from "./styles-Bgqv7rLA.js";
5
5
  import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
6
  //#region src/Editor.vue?vue&type=script&setup=true&lang.ts
7
7
  var O = ["data-tpl-theme"], k = {
@@ -273,7 +273,7 @@ function $(e) {
273
273
  async function _e(e) {
274
274
  let t = typeof e.container == "string" ? document.querySelector(e.container) : e.container;
275
275
  if (!t) throw Error(`[Templatical] Container element not found: ${e.container}`);
276
- let { default: n } = await import("./CloudEditor-B9a_K6Cm.js"), [a, o] = await Promise.all([H(e.locale ?? "en"), U(e.locale ?? "en")]), s = S(e.fonts);
276
+ let { default: n } = await import("./CloudEditor-BSkPQjwo.js"), [a, o] = await Promise.all([H(e.locale ?? "en"), U(e.locale ?? "en")]), s = S(e.fonts);
277
277
  $(t);
278
278
  let c = q(t, e.shadowDom ?? !0), l = i(null);
279
279
  return await new Promise((i, u) => {
@@ -1,5 +1,5 @@
1
1
  import { A as e, B as t, D as n, E as r, F as i, G as a, J as o, L as s, M as c, N as l, O as u, Q as d, S as f, U as p, V as m, X as h, Y as g, _, at as v, b as y, c as b, d as x, et as S, f as C, h as w, it as T, j as E, k as ee, l as D, m as O, nt as k, o as te, ot as A, p as ne, q as re, rt as j, s as ie, st as M, v as N, w as ae, x as oe, y as se, z as ce } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { A as le, S as ue, T as de, _ as fe, a as pe, b as me, c as he, d as ge, f as _e, g as ve, h as ye, j as be, k as xe, l as Se, m as Ce, o as we, p as Te, s as Ee, t as De, u as Oe, v as ke, x as Ae, y as je } from "./dist-Cipw2HFH.js";
2
+ import { A as le, S as ue, T as de, _ as fe, a as pe, b as me, c as he, d as ge, f as _e, g as ve, h as ye, j as be, k as xe, l as Se, m as Ce, o as we, p as Te, s as Ee, t as De, u as Oe, v as ke, x as Ae, y as je } from "./dist-CIV3Brg-.js";
3
3
  import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, r as Le, s as Re } from "./dist-HO0vjY5Z.js";
4
4
  import { A as ze, C as Be, D as Ve, E as He, O as Ue, S as We, _ as Ge, a as Ke, b as qe, d as Je, f as Ye, g as Xe, h as Ze, i as Qe, k as $e, m as et, n as tt, o as nt, p as rt, s as it, u as at, v as ot, x as st, y as ct } from "./keys-B8K7Z7Ef.js";
5
5
  import { t as lt } from "./useI18n-CBbStVlD.js";
@@ -10,7 +10,7 @@ import { t as ft } from "./triangle-alert-MwJBKR2e.js";
10
10
  import { t as pt } from "./LoadingTrack-xCOLUR3o.js";
11
11
  import { t as mt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import "./useCloudI18n-DFzVgYhJ.js";
13
- import { t as ht } from "./useMergeTag-CS2bmWA0.js";
13
+ import { t as ht } from "./useMergeTag-RWsgUcSh.js";
14
14
  import { t as gt } from "./useAliveFlag-BLyG8L4d.js";
15
15
  //#region ../core/dist/index.js
16
16
  function _t(e) {
@@ -1752,7 +1752,7 @@ var lr = ["innerHTML"], ur = /* @__PURE__ */ y({
1752
1752
  viewport: {}
1753
1753
  },
1754
1754
  setup(t) {
1755
- let n = t, r = se(() => import("./ParagraphEditor-DBus_iHH.js")), { isEditing: i, blockRef: a, toolbarPosition: o, resolvedContent: s, handleDoubleClick: c, handleEditorDone: l } = cr(() => n.block.content);
1755
+ let n = t, r = se(() => import("./ParagraphEditor-DqomSbW3.js")), { isEditing: i, blockRef: a, toolbarPosition: o, resolvedContent: s, handleDoubleClick: c, handleEditorDone: l } = cr(() => n.block.content);
1756
1756
  return (n, u) => (e(), w("div", {
1757
1757
  ref_key: "blockRef",
1758
1758
  ref: a,
@@ -1968,7 +1968,7 @@ var Dr = /* @__PURE__ */ y({
1968
1968
  viewport: {}
1969
1969
  },
1970
1970
  setup(t) {
1971
- let n = t, r = se(() => import("./TitleEditor-70d9AF1V.js")), { isEditing: a, blockRef: o, toolbarPosition: s, resolvedContent: c, handleDoubleClick: l, handleEditorDone: u } = cr(() => n.block.content), d = x(() => {
1971
+ let n = t, r = se(() => import("./TitleEditor-CgLrn6R3.js")), { isEditing: a, blockRef: o, toolbarPosition: s, resolvedContent: c, handleDoubleClick: l, handleEditorDone: u } = cr(() => n.block.content), d = x(() => {
1972
1972
  let e = {
1973
1973
  fontSize: `${De[n.block.level]}px`,
1974
1974
  color: n.block.color,
@@ -1,5 +1,5 @@
1
1
  import { X as e, w as t } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { O as n, n as r, w as i } from "./dist-Cipw2HFH.js";
2
+ import { O as n, n as r, w as i } from "./dist-CIV3Brg-.js";
3
3
  import { S as a, b as o, v as s, y as c } from "./keys-B8K7Z7Ef.js";
4
4
  //#region src/composables/useMergeTag.ts
5
5
  function l() {
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@templatical/editor",
3
3
  "description": "Vue 3 visual drag-and-drop email editor powered by Templatical",
4
- "version": "0.8.4",
4
+ "version": "0.8.5",
5
5
  "bugs": "https://github.com/templatical/sdk/issues",
6
6
  "devDependencies": {
7
7
  "@lucide/vue": "^1.16.0",
8
- "@tiptap/core": "^3.23.4",
9
- "@tiptap/extension-color": "^3.23.4",
10
- "@tiptap/extension-font-family": "^3.23.4",
11
- "@tiptap/extension-highlight": "^3.23.4",
12
- "@tiptap/extension-link": "^3.23.4",
13
- "@tiptap/extension-subscript": "^3.23.4",
14
- "@tiptap/extension-superscript": "^3.23.4",
15
- "@tiptap/extension-text-align": "^3.23.4",
16
- "@tiptap/extension-text-style": "^3.23.4",
17
- "@tiptap/extension-underline": "^3.23.4",
18
- "@tiptap/starter-kit": "^3.23.4",
19
- "@tiptap/suggestion": "^3.23.4",
20
- "@tiptap/vue-3": "^3.23.4",
8
+ "@tiptap/core": "^3.23.6",
9
+ "@tiptap/extension-color": "^3.23.6",
10
+ "@tiptap/extension-font-family": "^3.23.6",
11
+ "@tiptap/extension-highlight": "^3.23.6",
12
+ "@tiptap/extension-link": "^3.23.6",
13
+ "@tiptap/extension-subscript": "^3.23.6",
14
+ "@tiptap/extension-superscript": "^3.23.6",
15
+ "@tiptap/extension-text-align": "^3.23.6",
16
+ "@tiptap/extension-text-style": "^3.23.6",
17
+ "@tiptap/extension-underline": "^3.23.6",
18
+ "@tiptap/starter-kit": "^3.23.6",
19
+ "@tiptap/suggestion": "^3.23.6",
20
+ "@tiptap/vue-3": "^3.23.6",
21
21
  "@vitejs/plugin-vue": "^6.0.7",
22
22
  "@vue/test-utils": "^2.4.10",
23
23
  "@vueuse/core": "^14.3.0",
@@ -31,10 +31,10 @@
31
31
  "vitest": "^4.1.7",
32
32
  "vue": "^3.5.34",
33
33
  "vue-draggable-plus": "^0.6.1",
34
- "vue-tsc": "^3.2.9",
35
- "@templatical/core": "0.8.4",
36
- "@templatical/quality": "0.8.4",
37
- "@templatical/types": "0.8.4"
34
+ "vue-tsc": "^3.3.1",
35
+ "@templatical/core": "0.8.5",
36
+ "@templatical/quality": "0.8.5",
37
+ "@templatical/types": "0.8.5"
38
38
  },
39
39
  "exports": {
40
40
  ".": {
@@ -62,9 +62,9 @@
62
62
  "license": "SEE LICENSE IN LICENSE",
63
63
  "module": "./dist/templatical-editor.js",
64
64
  "peerDependencies": {
65
- "@templatical/media-library": "0.8.4",
66
- "@templatical/quality": "0.8.4",
67
- "@templatical/renderer": "0.8.4"
65
+ "@templatical/media-library": "0.8.5",
66
+ "@templatical/quality": "0.8.5",
67
+ "@templatical/renderer": "0.8.5"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "@templatical/renderer": {