@templatical/editor 0.59.1 → 0.60.0
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.
- package/dist/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-DiIaqDtB.js} +3 -3
- package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-DIe0WBbj.js} +3 -3
- package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-aj2TPO9F.js} +10 -10
- package/dist/{AiPanels-CESbBB63.js → AiPanels-CRM3jf82.js} +1 -1
- package/dist/{AiRewriteMenu-DH6j1jOA.js → AiRewriteMenu-F3GyXBsk.js} +11 -11
- package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-DlhA_I6J.js} +4 -4
- package/dist/{BlockPreviewCanvas-BLJxLwTT.js → BlockPreviewCanvas-DYspUXMO.js} +29 -50
- package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
- package/dist/{CloudPanels-qW-MObRD.js → CloudPanels-CAMn545-.js} +4 -4
- package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-CnfS8BQy.js} +2 -2
- package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-DufLdLQP.js} +2 -2
- package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-C2hFFs0o.js} +1 -1
- package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-CgEwxt2T.js} +12 -12
- package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
- package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-CNqYDevp.js} +5 -5
- package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-cPKhimE9.js} +12 -12
- package/dist/{LanguageMenu-D_xbvq3D.js → LanguageMenu-zxlpmw2x.js} +14 -14
- package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-PIfpvCCI.js} +4 -4
- package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-DqTkGJSR.js} +21 -21
- package/dist/{MediaEditModal-BWOqjEZN.js → MediaEditModal-C2Bn8WGb.js} +1 -1
- package/dist/{MediaPanels-C-XrldMu.js → MediaPanels-BAZByHRA.js} +1 -1
- package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-Jly1Pw0v.js} +1 -1
- package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-5kaFLRAm.js} +6 -6
- package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-CCfirhcR.js} +7 -7
- package/dist/{ParagraphEditor-DpOsnnai.js → ParagraphEditor-DTdnxgDZ.js} +46 -46
- package/dist/{RestoreVersionDialog-JQEkVIh5.js → RestoreVersionDialog-cUYu3Xqs.js} +4 -4
- package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-Aub9tOHF.js} +8 -8
- package/dist/{SaveBlockDialog-BPf6tDhg.js → SaveBlockDialog-D_ie3uIF.js} +9 -9
- package/dist/{SavedBlocksBrowserModal-DnDCfwSv.js → SavedBlocksBrowserModal-fhSnYT1l.js} +11 -11
- package/dist/{SavedBlocksPanels-D5YaVCem.js → SavedBlocksPanels-Lklqy4XI.js} +1 -1
- package/dist/{SavedBlocksPickBar-OQ7ey3MD.js → SavedBlocksPickBar-CpWkCa8G.js} +3 -3
- package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-BJ4a8RBr.js} +12 -12
- package/dist/{TestEmailModal-BDp85wIp.js → TestEmailModal-BEoapoDc.js} +14 -12
- package/dist/{TestEmailPanel-DkJx0Ptk.js → TestEmailPanel-DgyzokCf.js} +1 -1
- package/dist/{TitleEditor-wzknZqu_.js → TitleEditor-BQoSPgOi.js} +13 -13
- package/dist/{Toolbar-FIYSw3Us.js → Toolbar-KhPpWyX1.js} +857 -756
- package/dist/{TplModal-C57J-uF0.js → TplModal-F_kA7luG.js} +4 -4
- package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-Bz4G8cNm.js} +7 -7
- package/dist/{VersionHistoryPanels-BZ0GT52h.js → VersionHistoryPanels-DmVRyWv9.js} +1 -1
- package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-BeppXZyn.js} +2 -2
- package/dist/{WrapperBlock-C4XrJkx5.js → WrapperBlock-Ds7yfbhg.js} +4 -4
- package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-Do1QqDjg.js} +3 -3
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-YfIxwO1G.js → ca-Ce3NmK9v.js} +6 -1
- package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CUzIaLRK.js} +4 -4
- package/dist/cdn/chunks/AiAltTextPopover-CUzIaLRK.js.map +1 -0
- package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-BXBlE71X.js} +4 -4
- package/dist/cdn/chunks/AiAltTextReview-BXBlE71X.js.map +1 -0
- package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-BKydciDQ.js} +4 -4
- package/dist/cdn/chunks/AiChatPanel-BKydciDQ.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-De-cIZ4p.js} +2 -2
- package/dist/cdn/chunks/AiPanels-De-cIZ4p.js.map +1 -0
- package/dist/cdn/chunks/{AiRewriteMenu-B23ozFnP.js → AiRewriteMenu-C9vBUTIB.js} +9 -9
- package/dist/cdn/chunks/AiRewriteMenu-C9vBUTIB.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-B3CTTvgw.js} +4 -4
- package/dist/cdn/chunks/BlockIssueBadge-B3CTTvgw.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-CaRneMZ8.js → BlockPreviewCanvas-B4Bj--kc.js} +30 -51
- package/dist/cdn/chunks/BlockPreviewCanvas-B4Bj--kc.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
- package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +1 -0
- package/dist/cdn/chunks/{CloudPanels-xAEirqNC.js → CloudPanels-CQ75I3hQ.js} +4 -4
- package/dist/cdn/chunks/CloudPanels-CQ75I3hQ.js.map +1 -0
- package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-CgLea-hu.js} +3 -3
- package/dist/cdn/chunks/CollaborationNotices-CgLea-hu.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CjRcbebT.js} +3 -3
- package/dist/cdn/chunks/CollaboratorBar-CjRcbebT.js.map +1 -0
- package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-D_ud9GMN.js} +2 -2
- package/dist/cdn/chunks/CommentsPanel-D_ud9GMN.js.map +1 -0
- package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-CXn1EGAI.js} +4 -4
- package/dist/cdn/chunks/CommentsSidebar-CXn1EGAI.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
- package/dist/cdn/chunks/CountdownBlock--hlKE2aj.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-BOyk_4k7.js} +6 -6
- package/dist/cdn/chunks/CountdownToolbar-BOyk_4k7.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-DOC94ZsH.js} +8 -8
- package/dist/cdn/chunks/IssuesPanel-DOC94ZsH.js.map +1 -0
- package/dist/cdn/chunks/{LanguageMenu-Cl0ajnXZ.js → LanguageMenu-DktneIpL.js} +100 -100
- package/dist/cdn/chunks/LanguageMenu-DktneIpL.js.map +1 -0
- package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-B2NgnHoP.js} +4 -4
- package/dist/cdn/chunks/LocaleNotices-B2NgnHoP.js.map +1 -0
- package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-CQ8RiOou.js} +10 -10
- package/dist/cdn/chunks/LogicTagInsertButton-CQ8RiOou.js.map +1 -0
- package/dist/cdn/chunks/{MediaEditModal-CfgN7Jyi.js → MediaEditModal-Cs7_Om7e.js} +2 -2
- package/dist/cdn/chunks/MediaEditModal-Cs7_Om7e.js.map +1 -0
- package/dist/cdn/chunks/{MediaPanels-Cb5vsgb-.js → MediaPanels-BeekGmql.js} +2 -2
- package/dist/cdn/chunks/MediaPanels-BeekGmql.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-D7FZ0ca0.js} +2 -2
- package/dist/cdn/chunks/MergeTagInput-D7FZ0ca0.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-CySCCEDs.js} +5 -5
- package/dist/cdn/chunks/MergeTagModeToggle-CySCCEDs.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-DJbWTYVH.js} +6 -6
- package/dist/cdn/chunks/MergeTagTextarea-DJbWTYVH.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-BoGELRr-.js → ParagraphEditor-DAQUWqQJ.js} +26 -26
- package/dist/cdn/chunks/ParagraphEditor-DAQUWqQJ.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CaKiSq-9.js → RestoreVersionDialog-COTRe_rM.js} +4 -4
- package/dist/cdn/chunks/RestoreVersionDialog-COTRe_rM.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DeWPMd9V.js} +8 -8
- package/dist/cdn/chunks/RichTextEditorContent-DeWPMd9V.js.map +1 -0
- package/dist/cdn/chunks/{SaveBlockDialog-BAR0G4UO.js → SaveBlockDialog-adQMbKR1.js} +8 -8
- package/dist/cdn/chunks/SaveBlockDialog-adQMbKR1.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-C-KYaLkQ.js → SavedBlocksBrowserModal-CGIFCRAx.js} +8 -8
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CGIFCRAx.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPanels-C3OF0EeB.js → SavedBlocksPanels-Du0RYlEf.js} +2 -2
- package/dist/cdn/chunks/SavedBlocksPanels-Du0RYlEf.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPickBar-BnyPXw5W.js → SavedBlocksPickBar-DmleyUrn.js} +4 -4
- package/dist/cdn/chunks/SavedBlocksPickBar-DmleyUrn.js.map +1 -0
- package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-Csjef99q.js} +10 -10
- package/dist/cdn/chunks/TemplateSettings-Csjef99q.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-B9d3ZsH7.js → TestEmailModal-ClkexOtF.js} +13 -11
- package/dist/cdn/chunks/TestEmailModal-ClkexOtF.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel--fPi6QjN.js → TestEmailPanel-DYEYzhU2.js} +2 -2
- package/dist/cdn/chunks/TestEmailPanel-DYEYzhU2.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-Cn4fnSpa.js → TitleEditor-opvaIgVr.js} +12 -12
- package/dist/cdn/chunks/TitleEditor-opvaIgVr.js.map +1 -0
- package/dist/cdn/chunks/ToggleSwitch-C0w0srN_.js.map +1 -1
- package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-DbqkKRXy.js} +825 -724
- package/dist/cdn/chunks/Toolbar-DbqkKRXy.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-jMfK19PC.js → TplModal-DLV5OeMD.js} +5 -5
- package/dist/cdn/chunks/TplModal-DLV5OeMD.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-DBd0zwjE.js} +4 -4
- package/dist/cdn/chunks/VersionHistoryMenu-DBd0zwjE.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-DJpySkvq.js → VersionHistoryPanels-hy_Ybxie.js} +2 -2
- package/dist/cdn/chunks/VersionHistoryPanels-hy_Ybxie.js.map +1 -0
- package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-D-yHxWWY.js} +3 -3
- package/dist/cdn/chunks/VersionPreviewBanner-D-yHxWWY.js.map +1 -0
- package/dist/cdn/chunks/{WrapperBlock-Bi9XgDmX.js → WrapperBlock-Ce_k8m_x.js} +5 -5
- package/dist/cdn/chunks/WrapperBlock-Ce_k8m_x.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js → blockTypeIcons-DBoP1HkR.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js.map → blockTypeIcons-DBoP1HkR.js.map} +1 -1
- package/dist/cdn/chunks/{ca-YfIxwO1G.js → ca-Ce3NmK9v.js} +7 -2
- package/dist/cdn/chunks/ca-Ce3NmK9v.js.map +1 -0
- package/dist/cdn/chunks/{composables-Cp6gZ7qV.js → composables-Brr4m0Sg.js} +526 -550
- package/dist/cdn/chunks/composables-Brr4m0Sg.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-QPeg45XL.js} +4 -4
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-QPeg45XL.js.map} +1 -1
- package/dist/cdn/chunks/{da-CM6DCvRG.js → da-4YwDAuEr.js} +7 -2
- package/dist/cdn/chunks/da-4YwDAuEr.js.map +1 -0
- package/dist/{de-Dugz1zXC.js → cdn/chunks/de-BlQ0vdZJ.js} +8 -1
- package/dist/cdn/chunks/de-BlQ0vdZJ.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-CXSSZplR.js → editor-modal-BCcbvIxc.js} +4 -4
- package/dist/cdn/chunks/editor-modal-BCcbvIxc.js.map +1 -0
- package/dist/cdn/chunks/en-DkulseE1.js +1 -0
- package/dist/{en-BykoFuFY.js → cdn/chunks/en-MlNeQVSG.js} +8 -1
- package/dist/cdn/chunks/en-MlNeQVSG.js.map +1 -0
- package/dist/{es-DaWsTkpj.js → cdn/chunks/es-2s8x4OM2.js} +8 -1
- package/dist/cdn/chunks/es-2s8x4OM2.js.map +1 -0
- package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BpuyqKVY.js} +6 -6
- package/dist/cdn/chunks/extensions-BpuyqKVY.js.map +1 -0
- package/dist/cdn/chunks/{fr-DqwQHtJo.js → fr-D3MjrsgQ.js} +7 -2
- package/dist/cdn/chunks/fr-D3MjrsgQ.js.map +1 -0
- package/dist/cdn/chunks/{icons-C7vjUBLn.js → icons-BJ6AtVgu.js} +23 -23
- package/dist/cdn/chunks/{icons-C7vjUBLn.js.map → icons-BJ6AtVgu.js.map} +1 -1
- package/dist/{ja-BH4MS1Ye.js → cdn/chunks/ja-B4Kx7uBX.js} +8 -1
- package/dist/cdn/chunks/ja-B4Kx7uBX.js.map +1 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
- package/dist/{nl-BQl1_UHv.js → cdn/chunks/nl-U65iX7wN.js} +8 -1
- package/dist/cdn/chunks/nl-U65iX7wN.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-B81BAWKT.js} +61 -61
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-B81BAWKT.js.map} +1 -1
- package/dist/{preRenderCustomBlocks-CgPtlLGL.js → cdn/chunks/preRenderCustomBlocks-CQuaMxuv.js} +3 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-CQuaMxuv.js.map} +1 -1
- package/dist/{pt-BR-eyzmU9Vs.js → cdn/chunks/pt-BR-_jsX1xLv.js} +8 -1
- package/dist/cdn/chunks/pt-BR-_jsX1xLv.js.map +1 -0
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-BdAjvU9I.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-BdAjvU9I.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-Df9dNe7I.js} +463 -485
- package/dist/cdn/chunks/socialIcons-Df9dNe7I.js.map +1 -0
- package/dist/cdn/chunks/{src-BRyzUujm.js → src-B3v_3j9b.js} +586 -554
- package/dist/cdn/chunks/src-B3v_3j9b.js.map +1 -0
- package/dist/{dist-BTjObRcv.js → cdn/chunks/src-BHgVGOTi.js} +872 -700
- package/dist/cdn/chunks/src-BHgVGOTi.js.map +1 -0
- package/dist/cdn/chunks/src-C5V_yzAU.js +673 -0
- package/dist/cdn/chunks/src-C5V_yzAU.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-B7gxx0aJ.js → tiptap-D9amDW4u.js} +1030 -1027
- package/dist/cdn/chunks/tiptap-D9amDW4u.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
- package/dist/cdn/chunks/useLocalizedDisplay-C3lIetmX.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-C3lIetmX.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-DOIlsGk8.js} +3 -3
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-DOIlsGk8.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-DUNl364g.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-DUNl364g.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-ufGLu2Vt.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-ufGLu2Vt.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +573 -573
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ErKdPXG6.js → check-CWq6Nfjj.js} +1 -1
- package/dist/{chevron-down-C_vv5fZE.js → chevron-down-B9t0SK_-.js} +1 -1
- package/dist/{chevron-right-Cw4GpjFA.js → chevron-right-B_qslOCS.js} +1 -1
- package/dist/{chevron-up-uijYZoph.js → chevron-up-CxZ2teV2.js} +1 -1
- package/dist/{circle-exclamation-point-CIYHx5Tw.js → circle-exclamation-point-B1tbhkNb.js} +1 -1
- package/dist/{clock-tnC1IvZk.js → clock-Rw4btQn-.js} +1 -1
- package/dist/{composables-jTnTSqdm.js → composables-5KJV0O9T.js} +933 -957
- package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BdoKeYJi.js} +3 -3
- package/dist/{createLucideIcon-CssArtUe.js → createLucideIcon-B6Zkn9r0.js} +5 -5
- package/dist/{da-CM6DCvRG.js → da-4YwDAuEr.js} +6 -1
- package/dist/{cdn/chunks/de-Dugz1zXC.js → de-BlQ0vdZJ.js} +6 -3
- package/dist/dist-AyAOL8Bj.js +4 -0
- package/dist/{dist-BTUMr4Pb.js → dist-BNrGwgev.js} +2 -2
- package/dist/{dist-CsplpC_6.js → dist-BPVNNdTv.js} +2 -2
- package/dist/{dist-bWIkrMkM.js → dist-C7YLw60i.js} +2 -2
- package/dist/{dist-Clfx1JeL.js → dist-CBnAqr27.js} +2 -2
- package/dist/{dist-CkHJRChP.js → dist-COvAA64n.js} +2 -2
- package/dist/{dist-C-NRkFsp.js → dist-CuRjmtWu.js} +5 -5
- package/dist/{dist-HKEDfp__.js → dist-DG_AWt8v.js} +2 -2
- package/dist/{dist-DY3WbyCO.js → dist-DYtuc3jc.js} +2 -2
- package/dist/dist-DkPTWQuO.js +4 -0
- package/dist/{dist-DwpKFWF4.js → dist-DoWk1r7z.js} +77 -74
- package/dist/{cdn/chunks/src-CVHGPKSW.js → dist-DsA7NeIy.js} +691 -649
- package/dist/{dist-BlrlMP8f.js → dist-fDsB6dCL.js} +2 -2
- package/dist/{editor-modal-BWvxfSj8.js → editor-modal-_ylhrf4g.js} +15 -15
- package/dist/en-DwxgN_-Y.js +1 -0
- package/dist/{cdn/chunks/en-BykoFuFY.js → en-MlNeQVSG.js} +6 -3
- package/dist/{cdn/chunks/es-DaWsTkpj.js → es-2s8x4OM2.js} +6 -3
- package/dist/{extensions-CAuXwpbI.js → extensions-DCJGAZ9z.js} +74 -74
- package/dist/{eye-DK4--qHk.js → eye-BE-DeEqG.js} +1 -1
- package/dist/{fr-DqwQHtJo.js → fr-D3MjrsgQ.js} +6 -1
- package/dist/{image-B5pJOw5Q.js → image-DfRxUmUh.js} +1 -1
- package/dist/index.d.ts +37 -7
- package/dist/{info-DKM0_thN.js → info-D1PS-81D.js} +1 -1
- package/dist/{cdn/chunks/ja-BH4MS1Ye.js → ja-B4Kx7uBX.js} +6 -3
- package/dist/keys-B4DimcgX.js +9 -0
- package/dist/{link-BNgTZ_Sw.js → link-DLaACaIz.js} +1 -1
- package/dist/{list-Bqynqm7o.js → list-CvtzVlvM.js} +1 -1
- package/dist/{loader-circle-BMc3fVpa.js → loader-circle-DCkSXApP.js} +1 -1
- package/dist/{message-circle-D_TpvAJh.js → message-circle-Bj4F9bBO.js} +1 -1
- package/dist/{cdn/chunks/nl-BQl1_UHv.js → nl-U65iX7wN.js} +6 -3
- package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-B7n_-4Dz.js} +45 -45
- package/dist/{package-D2fov5PU.js → package-By1au8Wi.js} +1 -1
- package/dist/{pencil-BNdkJyfY.js → pencil-T4qqyRLl.js} +1 -1
- package/dist/{plus-CWmBmMx-.js → plus-3Zry-1gs.js} +1 -1
- package/dist/{cdn/chunks/preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-D3GzENVB.js} +1 -3
- package/dist/{cdn/chunks/pt-BR-eyzmU9Vs.js → pt-BR-_jsX1xLv.js} +6 -3
- package/dist/{refresh-cw-Ryg1j66N.js → refresh-cw-BwaO0ioc.js} +1 -1
- package/dist/{rotate-ccw-D8j7gXXv.js → rotate-ccw-C3E0W5q-.js} +1 -1
- package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-BcbjlypU.js} +6 -6
- package/dist/{search-CX2JkSHz.js → search-DfExisVv.js} +1 -1
- package/dist/{send-BLR1b-p5.js → send-FRC7Giap.js} +1 -1
- package/dist/{smartphone-Co8m0LLg.js → smartphone-BlYU_z_x.js} +1 -1
- package/dist/{socialIcons-RKdTgJip.js → socialIcons-By2LPWOQ.js} +563 -585
- package/dist/{sparkles-Dc3Undp5.js → sparkles-DSi61skE.js} +1 -1
- package/dist/{square-CPw_cyX8.js → square-DEE8tT2w.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +640 -640
- package/dist/{text-align-start-2VZGhCiK.js → text-align-start-DGdrmKcG.js} +1 -1
- package/dist/{trash-t6XXliVc.js → trash-YZPJMZc7.js} +1 -1
- package/dist/{triangle-exclamation-point-_YYWE2ZH.js → triangle-exclamation-point-BR-W6pQm.js} +1 -1
- package/dist/{upload-BWYXWYHb.js → upload-B_Eoqj-4.js} +1 -1
- package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
- package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
- package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
- package/dist/useLocalizedDisplay-_P6-hXaO.js +31 -0
- package/dist/{useLogicTag-59fmujI7.js → useLogicTag-f0SJ1Cd2.js} +2 -2
- package/dist/{useMergeTag-M1vauWet.js → useMergeTag-0-EudwkV.js} +4 -4
- package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
- package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CtM_ydOS.js} +2 -2
- package/dist/withCurrentFont-BOg3jmCT.js +18 -0
- package/dist/{x-CTKOxIyZ.js → x-C0X5MoK3.js} +1 -1
- package/package.json +22 -22
- package/dist/cdn/chunks/AiAltTextPopover-Dj-VLU88.js.map +0 -1
- package/dist/cdn/chunks/AiAltTextReview-tVkJPOk6.js.map +0 -1
- package/dist/cdn/chunks/AiChatPanel-CYPvHQGQ.js.map +0 -1
- package/dist/cdn/chunks/AiPanels-ChTLCmMS.js.map +0 -1
- package/dist/cdn/chunks/AiRewriteMenu-B23ozFnP.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-BKO4Mr8f.js.map +0 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-CaRneMZ8.js.map +0 -1
- package/dist/cdn/chunks/CloudHeaderExtras-O_K3jmgO.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-xAEirqNC.js.map +0 -1
- package/dist/cdn/chunks/CollaborationNotices-CwAoa-73.js.map +0 -1
- package/dist/cdn/chunks/CollaboratorBar-DdQQwtwd.js.map +0 -1
- package/dist/cdn/chunks/CommentsPanel-C8AKtxiG.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-FxY0RHSq.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-DGgnPUlu.js.map +0 -1
- package/dist/cdn/chunks/CountdownToolbar-9PtYUgCW.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-Co-ffgWa.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-Cl0ajnXZ.js.map +0 -1
- package/dist/cdn/chunks/LocaleNotices-BVDJ7kyj.js.map +0 -1
- package/dist/cdn/chunks/LogicTagInsertButton-DPYA8LJW.js.map +0 -1
- package/dist/cdn/chunks/MediaEditModal-CfgN7Jyi.js.map +0 -1
- package/dist/cdn/chunks/MediaPanels-Cb5vsgb-.js.map +0 -1
- package/dist/cdn/chunks/MergeTagInput-Cxfjq3tx.js.map +0 -1
- package/dist/cdn/chunks/MergeTagModeToggle-BmNGV3yc.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-DmwrPAss.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BoGELRr-.js.map +0 -1
- package/dist/cdn/chunks/RestoreVersionDialog-CaKiSq-9.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-Dq4TROOg.js.map +0 -1
- package/dist/cdn/chunks/SaveBlockDialog-BAR0G4UO.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-C-KYaLkQ.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPanels-C3OF0EeB.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPickBar-BnyPXw5W.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-uoiUkd2l.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js.map +0 -1
- package/dist/cdn/chunks/TestEmailPanel--fPi6QjN.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-Cn4fnSpa.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-BzAuH2G4.js.map +0 -1
- package/dist/cdn/chunks/TplModal-jMfK19PC.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryMenu-DDqYMqC2.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryPanels-DJpySkvq.js.map +0 -1
- package/dist/cdn/chunks/VersionPreviewBanner-CYT5QUoc.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-Bi9XgDmX.js.map +0 -1
- package/dist/cdn/chunks/ca-YfIxwO1G.js.map +0 -1
- package/dist/cdn/chunks/composables-Cp6gZ7qV.js.map +0 -1
- package/dist/cdn/chunks/da-CM6DCvRG.js.map +0 -1
- package/dist/cdn/chunks/de-Dugz1zXC.js.map +0 -1
- package/dist/cdn/chunks/editor-modal-CXSSZplR.js.map +0 -1
- package/dist/cdn/chunks/en-BykoFuFY.js.map +0 -1
- package/dist/cdn/chunks/en-DYMYt1TN.js +0 -1
- package/dist/cdn/chunks/es-DaWsTkpj.js.map +0 -1
- package/dist/cdn/chunks/extensions-BYJPv1sA.js.map +0 -1
- package/dist/cdn/chunks/fr-DqwQHtJo.js.map +0 -1
- package/dist/cdn/chunks/ja-BH4MS1Ye.js.map +0 -1
- package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
- package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
- package/dist/cdn/chunks/nl-BQl1_UHv.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-eyzmU9Vs.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +0 -1
- package/dist/cdn/chunks/src-BRyzUujm.js.map +0 -1
- package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
- package/dist/cdn/chunks/src-aFRxbwqP.js +0 -707
- package/dist/cdn/chunks/src-aFRxbwqP.js.map +0 -1
- package/dist/cdn/chunks/tiptap-B7gxx0aJ.js.map +0 -1
- package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
- package/dist/dist-CkIeJEsa.js +0 -4
- package/dist/dist-eAgG-nCb.js +0 -4
- package/dist/en-DvCaYqiR.js +0 -1
- package/dist/keys-BeQy64On.js +0 -9
- package/dist/useLocalizedDisplay-9RqT2y_Y.js +0 -31
- package/dist/withCurrentFont-BXZ7g-K6.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@tiptap+core@3.33.
|
|
1
|
+
// ../../node_modules/.pnpm/@tiptap+core@3.33.1_@tiptap+pm@3.33.1/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js
|
|
2
2
|
var e = Object.defineProperty, t = (t, n) => {
|
|
3
3
|
let r = {};
|
|
4
4
|
for (var i in t) e(r, i, {
|
|
@@ -7733,7 +7733,7 @@ var Ec = Tc(!1, !0), Dc = Tc(!0, !0);
|
|
|
7733
7733
|
function Oc(e) {
|
|
7734
7734
|
return e.getMeta(Sc) != null;
|
|
7735
7735
|
}
|
|
7736
|
-
// ../../node_modules/.pnpm/@tiptap+core@3.33.
|
|
7736
|
+
// ../../node_modules/.pnpm/@tiptap+core@3.33.1_@tiptap+pm@3.33.1/node_modules/@tiptap/core/dist/index.js
|
|
7737
7737
|
function kc(e) {
|
|
7738
7738
|
let { state: t, transaction: n } = e, { selection: r } = n, { doc: i } = n, { storedMarks: a } = n;
|
|
7739
7739
|
return {
|
|
@@ -11086,7 +11086,12 @@ var $ = class e extends Ap {
|
|
|
11086
11086
|
} }
|
|
11087
11087
|
})];
|
|
11088
11088
|
}
|
|
11089
|
-
})
|
|
11089
|
+
});
|
|
11090
|
+
function Kp(e) {
|
|
11091
|
+
let { empty: t, from: n, to: r } = e.selection;
|
|
11092
|
+
return !t && n === D.atStart(e.doc).from && r === D.atEnd(e.doc).to;
|
|
11093
|
+
}
|
|
11094
|
+
var qp = $.create({
|
|
11090
11095
|
name: "keymap",
|
|
11091
11096
|
addKeyboardShortcuts() {
|
|
11092
11097
|
let e = () => this.editor.commands.first(({ commands: e }) => [
|
|
@@ -11136,21 +11141,19 @@ var $ = class e extends Ap {
|
|
|
11136
11141
|
appendTransaction: (e, t, n) => {
|
|
11137
11142
|
if (e.some((e) => e.getMeta("composition"))) return;
|
|
11138
11143
|
let r = e.some((e) => e.docChanged) && !t.doc.eq(n.doc), i = e.some((e) => e.getMeta("preventClearDocument"));
|
|
11139
|
-
if (!r || i) return;
|
|
11140
|
-
let
|
|
11141
|
-
if (a || o !== c || s !== l || !Xu(n.doc)) return;
|
|
11142
|
-
let u = n.tr, d = kc({
|
|
11144
|
+
if (!r || i || !Kp(t) || !Xu(n.doc)) return;
|
|
11145
|
+
let a = n.tr, o = kc({
|
|
11143
11146
|
state: n,
|
|
11144
|
-
transaction:
|
|
11145
|
-
}), { commands:
|
|
11147
|
+
transaction: a
|
|
11148
|
+
}), { commands: s } = new Ac({
|
|
11146
11149
|
editor: this.editor,
|
|
11147
|
-
state:
|
|
11150
|
+
state: o
|
|
11148
11151
|
});
|
|
11149
|
-
if (
|
|
11152
|
+
if (s.clearNodes(), a.steps.length || n.storedMarks) return a.setStoredMarks(null);
|
|
11150
11153
|
}
|
|
11151
11154
|
})];
|
|
11152
11155
|
}
|
|
11153
|
-
}),
|
|
11156
|
+
}), Jp = $.create({
|
|
11154
11157
|
name: "paste",
|
|
11155
11158
|
addProseMirrorPlugins() {
|
|
11156
11159
|
return [new A({
|
|
@@ -11164,7 +11167,7 @@ var $ = class e extends Ap {
|
|
|
11164
11167
|
} }
|
|
11165
11168
|
})];
|
|
11166
11169
|
}
|
|
11167
|
-
}),
|
|
11170
|
+
}), Yp = $.create({
|
|
11168
11171
|
name: "tabindex",
|
|
11169
11172
|
addOptions() {
|
|
11170
11173
|
return { value: void 0 };
|
|
@@ -11175,7 +11178,7 @@ var $ = class e extends Ap {
|
|
|
11175
11178
|
props: { attributes: () => !this.editor.isEditable && this.options.value === void 0 ? {} : { tabindex: this.options.value ?? "0" } }
|
|
11176
11179
|
})];
|
|
11177
11180
|
}
|
|
11178
|
-
}),
|
|
11181
|
+
}), Xp = $.create({
|
|
11179
11182
|
name: "textDirection",
|
|
11180
11183
|
addOptions() {
|
|
11181
11184
|
return { direction: void 0 };
|
|
@@ -11204,22 +11207,22 @@ var $ = class e extends Ap {
|
|
|
11204
11207
|
} }
|
|
11205
11208
|
})];
|
|
11206
11209
|
}
|
|
11207
|
-
}),
|
|
11210
|
+
}), Zp = /* @__PURE__ */ t({
|
|
11208
11211
|
ClipboardTextSerializer: () => zp,
|
|
11209
11212
|
Commands: () => Bp,
|
|
11210
11213
|
Delete: () => Vp,
|
|
11211
11214
|
Drop: () => Hp,
|
|
11212
11215
|
Editable: () => Up,
|
|
11213
11216
|
FocusEvents: () => Gp,
|
|
11214
|
-
Keymap: () =>
|
|
11215
|
-
Paste: () =>
|
|
11216
|
-
Tabindex: () =>
|
|
11217
|
-
TextDirection: () =>
|
|
11217
|
+
Keymap: () => qp,
|
|
11218
|
+
Paste: () => Jp,
|
|
11219
|
+
Tabindex: () => Yp,
|
|
11220
|
+
TextDirection: () => Xp,
|
|
11218
11221
|
focusEventsPluginKey: () => Wp
|
|
11219
|
-
}),
|
|
11220
|
-
function
|
|
11221
|
-
if (
|
|
11222
|
-
|
|
11222
|
+
}), Qp = !1;
|
|
11223
|
+
function $p(e) {
|
|
11224
|
+
if (Qp) return;
|
|
11225
|
+
Qp = !0;
|
|
11223
11226
|
let t;
|
|
11224
11227
|
try {
|
|
11225
11228
|
let n = T.fromJSON(e, {
|
|
@@ -11233,7 +11236,7 @@ function Qp(e) {
|
|
|
11233
11236
|
}
|
|
11234
11237
|
t instanceof s || console.warn("[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.");
|
|
11235
11238
|
}
|
|
11236
|
-
var
|
|
11239
|
+
var em = class e {
|
|
11237
11240
|
get name() {
|
|
11238
11241
|
return this.node.type.name;
|
|
11239
11242
|
}
|
|
@@ -11355,7 +11358,7 @@ var $p = class e {
|
|
|
11355
11358
|
...e
|
|
11356
11359
|
}), this.editor.view.dispatch(t);
|
|
11357
11360
|
}
|
|
11358
|
-
},
|
|
11361
|
+
}, tm = ".ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror [contenteditable=\"false\"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable=\"false\"] [contenteditable=\"true\"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}", nm = class extends of {
|
|
11359
11362
|
constructor(e = {}) {
|
|
11360
11363
|
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.hasWarnedStaleDecorationRead = !1, this.options = {
|
|
11361
11364
|
element: typeof document < "u" ? document.createElement("div") : null,
|
|
@@ -11404,7 +11407,7 @@ var $p = class e {
|
|
|
11404
11407
|
selection: e || void 0
|
|
11405
11408
|
});
|
|
11406
11409
|
}
|
|
11407
|
-
|
|
11410
|
+
$p(this.schema), this.options.element && this.mount(this.options.element);
|
|
11408
11411
|
}
|
|
11409
11412
|
mount(e) {
|
|
11410
11413
|
if (typeof document > "u") throw Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");
|
|
@@ -11438,7 +11441,7 @@ var $p = class e {
|
|
|
11438
11441
|
return this.commandManager ? this.commandManager.can() : Ac.createFallbackCan();
|
|
11439
11442
|
}
|
|
11440
11443
|
injectCSS() {
|
|
11441
|
-
this.options.injectCSS && typeof document < "u" && (this.css = Af(
|
|
11444
|
+
this.options.injectCSS && typeof document < "u" && (this.css = Af(tm, this.options.injectNonce));
|
|
11442
11445
|
}
|
|
11443
11446
|
setOptions(e = {}) {
|
|
11444
11447
|
this.options = {
|
|
@@ -11503,12 +11506,12 @@ var $p = class e {
|
|
|
11503
11506
|
zp.configure({ blockSeparator: (e = this.options.coreExtensionOptions) == null || (e = e.clipboardTextSerializer) == null ? void 0 : e.blockSeparator }),
|
|
11504
11507
|
Bp,
|
|
11505
11508
|
Gp,
|
|
11506
|
-
Kp,
|
|
11507
|
-
Jp.configure({ value: (t = this.options.coreExtensionOptions) == null || (t = t.tabindex) == null ? void 0 : t.value }),
|
|
11508
|
-
Hp,
|
|
11509
11509
|
qp,
|
|
11510
|
+
Yp.configure({ value: (t = this.options.coreExtensionOptions) == null || (t = t.tabindex) == null ? void 0 : t.value }),
|
|
11511
|
+
Hp,
|
|
11512
|
+
Jp,
|
|
11510
11513
|
Vp,
|
|
11511
|
-
|
|
11514
|
+
Xp.configure({ direction: this.options.textDirection })
|
|
11512
11515
|
].filter((e) => typeof this.options.enableCoreExtensions != "object" || this.options.enableCoreExtensions[e.name] !== !1) : [], ...this.options.extensions].filter((e) => [
|
|
11513
11516
|
"extension",
|
|
11514
11517
|
"node",
|
|
@@ -11662,23 +11665,23 @@ var $p = class e {
|
|
|
11662
11665
|
}
|
|
11663
11666
|
$pos(e) {
|
|
11664
11667
|
let t = this.state.doc.resolve(e), n = e > 0 && t.nodeAfter && !t.nodeAfter.isText && t.nodeAfter.isAtom ? t.nodeAfter : null;
|
|
11665
|
-
return new
|
|
11668
|
+
return new em(t, this, !1, n);
|
|
11666
11669
|
}
|
|
11667
11670
|
get $doc() {
|
|
11668
11671
|
return this.$pos(0);
|
|
11669
11672
|
}
|
|
11670
|
-
},
|
|
11673
|
+
}, rm = class {
|
|
11671
11674
|
static Inline(e, t, n = {}, r) {
|
|
11672
|
-
return new
|
|
11675
|
+
return new im(e, t, n, r);
|
|
11673
11676
|
}
|
|
11674
11677
|
static Node(e, t, n = {}, r) {
|
|
11675
|
-
return new
|
|
11678
|
+
return new am(e, t, n, r);
|
|
11676
11679
|
}
|
|
11677
11680
|
static Widget(e, t, n) {
|
|
11678
11681
|
let { key: r, ...i } = n;
|
|
11679
|
-
return new
|
|
11682
|
+
return new om(e, t, r, i);
|
|
11680
11683
|
}
|
|
11681
|
-
},
|
|
11684
|
+
}, im = class extends rm {
|
|
11682
11685
|
constructor(e, t, n = {}, r) {
|
|
11683
11686
|
super(), this.kind = "inline", this.from = e, this.to = t, this.attrs = n, this.spec = r;
|
|
11684
11687
|
}
|
|
@@ -11692,7 +11695,7 @@ var $p = class e {
|
|
|
11692
11695
|
} : this.spec;
|
|
11693
11696
|
return ts.inline(this.from, this.to, this.attrs, t);
|
|
11694
11697
|
}
|
|
11695
|
-
},
|
|
11698
|
+
}, am = class extends rm {
|
|
11696
11699
|
constructor(e, t, n = {}, r) {
|
|
11697
11700
|
super(), this.kind = "node", this.from = e, this.to = t, this.attrs = n, this.spec = r;
|
|
11698
11701
|
}
|
|
@@ -11706,7 +11709,7 @@ var $p = class e {
|
|
|
11706
11709
|
} : this.spec;
|
|
11707
11710
|
return ts.node(this.from, this.to, this.attrs, t);
|
|
11708
11711
|
}
|
|
11709
|
-
},
|
|
11712
|
+
}, om = class extends rm {
|
|
11710
11713
|
constructor(e, t, n, r) {
|
|
11711
11714
|
super(), this.kind = "widget", this.pos = e, this.render = t, this.key = n, this.spec = r;
|
|
11712
11715
|
}
|
|
@@ -11725,7 +11728,7 @@ var $p = class e {
|
|
|
11725
11728
|
return ts.widget(this.pos, this.render, t);
|
|
11726
11729
|
}
|
|
11727
11730
|
};
|
|
11728
|
-
function
|
|
11731
|
+
function sm(e, t) {
|
|
11729
11732
|
let n = e, r = n[t];
|
|
11730
11733
|
if (!r) {
|
|
11731
11734
|
r = {
|
|
@@ -11741,7 +11744,7 @@ function om(e, t) {
|
|
|
11741
11744
|
}
|
|
11742
11745
|
return r;
|
|
11743
11746
|
}
|
|
11744
|
-
function
|
|
11747
|
+
function cm(e) {
|
|
11745
11748
|
e.flushScheduled = !1;
|
|
11746
11749
|
for (let [t, n] of e.pendingProps) {
|
|
11747
11750
|
let r = e.renderers.get(t);
|
|
@@ -11749,13 +11752,13 @@ function sm(e) {
|
|
|
11749
11752
|
}
|
|
11750
11753
|
e.pendingProps.clear();
|
|
11751
11754
|
}
|
|
11752
|
-
function
|
|
11753
|
-
let { editor: t, pos: n, key: r, props: i, cacheKey: a, context: o, create: s, materialize: c, side: l, relaxedSide: u, marks: d, stopEvent: f, ignoreSelection: p, destroy: m } = e, h =
|
|
11755
|
+
function lm(e) {
|
|
11756
|
+
let { editor: t, pos: n, key: r, props: i, cacheKey: a, context: o, create: s, materialize: c, side: l, relaxedSide: u, marks: d, stopEvent: f, ignoreSelection: p, destroy: m } = e, h = sm(t, a);
|
|
11754
11757
|
if (h.renderers.has(r)) {
|
|
11755
11758
|
let e = h.pendingProps.get(r) ?? h.props.get(r);
|
|
11756
|
-
e && Of(e, i) || (h.pendingProps.set(r, i), h.flushScheduled || (h.flushScheduled = !0, queueMicrotask(() =>
|
|
11759
|
+
e && Of(e, i) || (h.pendingProps.set(r, i), h.flushScheduled || (h.flushScheduled = !0, queueMicrotask(() => cm(h))));
|
|
11757
11760
|
}
|
|
11758
|
-
return
|
|
11761
|
+
return rm.Widget(n, (e, t) => {
|
|
11759
11762
|
let n = {
|
|
11760
11763
|
...i,
|
|
11761
11764
|
...o(t)
|
|
@@ -11778,7 +11781,7 @@ function cm(e) {
|
|
|
11778
11781
|
}
|
|
11779
11782
|
});
|
|
11780
11783
|
}
|
|
11781
|
-
function
|
|
11784
|
+
function um(e) {
|
|
11782
11785
|
return new Cp({
|
|
11783
11786
|
find: e.find,
|
|
11784
11787
|
handler: ({ state: t, range: n, match: r }) => {
|
|
@@ -11796,7 +11799,7 @@ function lm(e) {
|
|
|
11796
11799
|
undoable: e.undoable
|
|
11797
11800
|
});
|
|
11798
11801
|
}
|
|
11799
|
-
function
|
|
11802
|
+
function dm(e) {
|
|
11800
11803
|
return new Cp({
|
|
11801
11804
|
find: e.find,
|
|
11802
11805
|
handler: ({ state: t, range: n, match: r }) => {
|
|
@@ -11815,7 +11818,7 @@ function um(e) {
|
|
|
11815
11818
|
undoable: e.undoable
|
|
11816
11819
|
});
|
|
11817
11820
|
}
|
|
11818
|
-
function
|
|
11821
|
+
function fm(e) {
|
|
11819
11822
|
return new Cp({
|
|
11820
11823
|
find: e.find,
|
|
11821
11824
|
handler: ({ state: t, range: n, match: r }) => {
|
|
@@ -11826,7 +11829,7 @@ function dm(e) {
|
|
|
11826
11829
|
undoable: e.undoable
|
|
11827
11830
|
});
|
|
11828
11831
|
}
|
|
11829
|
-
function
|
|
11832
|
+
function pm(e) {
|
|
11830
11833
|
return new Cp({
|
|
11831
11834
|
find: e.find,
|
|
11832
11835
|
handler: ({ state: t, range: n, match: r }) => {
|
|
@@ -11842,7 +11845,7 @@ function fm(e) {
|
|
|
11842
11845
|
undoable: e.undoable
|
|
11843
11846
|
});
|
|
11844
11847
|
}
|
|
11845
|
-
function
|
|
11848
|
+
function mm(e) {
|
|
11846
11849
|
return new Cp({
|
|
11847
11850
|
find: e.find,
|
|
11848
11851
|
handler: ({ state: t, range: n, match: r, chain: i }) => {
|
|
@@ -11865,49 +11868,49 @@ function pm(e) {
|
|
|
11865
11868
|
undoable: e.undoable
|
|
11866
11869
|
});
|
|
11867
11870
|
}
|
|
11868
|
-
var
|
|
11869
|
-
function gm(e) {
|
|
11870
|
-
let t = e;
|
|
11871
|
-
return mm.add(t), t;
|
|
11872
|
-
}
|
|
11871
|
+
var hm = /* @__PURE__ */ new WeakSet(), gm = /* @__PURE__ */ new WeakSet();
|
|
11873
11872
|
function _m(e) {
|
|
11874
|
-
|
|
11873
|
+
let t = e;
|
|
11874
|
+
return hm.add(t), t;
|
|
11875
11875
|
}
|
|
11876
11876
|
function vm(e) {
|
|
11877
|
-
return
|
|
11877
|
+
return Array.isArray(e) && hm.has(e);
|
|
11878
11878
|
}
|
|
11879
11879
|
function ym(e) {
|
|
11880
|
-
return
|
|
11880
|
+
return e.flatMap((e) => e == null ? [] : Array.isArray(e) && gm.has(e) && !vm(e) ? ym(e) : [e]);
|
|
11881
11881
|
}
|
|
11882
|
-
function bm(e
|
|
11882
|
+
function bm(e) {
|
|
11883
|
+
return gm.add(e.children), e.children;
|
|
11884
|
+
}
|
|
11885
|
+
function xm(e, t) {
|
|
11883
11886
|
if (e === "slot") return 0;
|
|
11884
11887
|
if (e instanceof Function) {
|
|
11885
11888
|
let n = e(t);
|
|
11886
|
-
return Array.isArray(n) && !
|
|
11889
|
+
return Array.isArray(n) && !vm(n) && !gm.has(n) ? _m(n) : n;
|
|
11887
11890
|
}
|
|
11888
11891
|
let { children: n, ...r } = t ?? {};
|
|
11889
11892
|
if (e === "svg") throw Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");
|
|
11890
11893
|
if (Array.isArray(n)) {
|
|
11891
|
-
if (
|
|
11894
|
+
if (vm(n)) return _m([
|
|
11892
11895
|
e,
|
|
11893
11896
|
r,
|
|
11894
11897
|
n
|
|
11895
11898
|
]);
|
|
11896
|
-
if (n.length === 0) return
|
|
11897
|
-
let t =
|
|
11898
|
-
return t.length === 0 ?
|
|
11899
|
+
if (n.length === 0) return _m([e, r]);
|
|
11900
|
+
let t = ym(n);
|
|
11901
|
+
return t.length === 0 ? _m([e, r]) : _m([
|
|
11899
11902
|
e,
|
|
11900
11903
|
r,
|
|
11901
11904
|
...t
|
|
11902
11905
|
]);
|
|
11903
11906
|
}
|
|
11904
|
-
return
|
|
11907
|
+
return _m(n == null ? [e, r] : [
|
|
11905
11908
|
e,
|
|
11906
11909
|
r,
|
|
11907
11910
|
n
|
|
11908
11911
|
]);
|
|
11909
11912
|
}
|
|
11910
|
-
var
|
|
11913
|
+
var Sm = (e, t) => xm(e, t), Cm = (e) => "touches" in e, wm = class {
|
|
11911
11914
|
constructor(e) {
|
|
11912
11915
|
var t;
|
|
11913
11916
|
this.directions = [
|
|
@@ -11996,7 +11999,7 @@ var xm = (e, t) => bm(e, t), Sm = (e) => "touches" in e, Cm = class {
|
|
|
11996
11999
|
e ? (this.element.style.width = `${e}px`, this.initialWidth = e) : this.initialWidth = this.element.offsetWidth, t ? (this.element.style.height = `${t}px`, this.initialHeight = t) : this.initialHeight = this.element.offsetHeight, this.initialWidth > 0 && this.initialHeight > 0 && (this.aspectRatio = this.initialWidth / this.initialHeight);
|
|
11997
12000
|
}
|
|
11998
12001
|
handleResizeStart(e, t) {
|
|
11999
|
-
e.preventDefault(), e.stopPropagation(), this.isResizing = !0, this.activeHandle = t,
|
|
12002
|
+
e.preventDefault(), e.stopPropagation(), this.isResizing = !0, this.activeHandle = t, Cm(e) ? (this.startX = e.touches[0].clientX, this.startY = e.touches[0].clientY) : (this.startX = e.clientX, this.startY = e.clientY), this.startWidth = this.element.offsetWidth, this.startHeight = this.element.offsetHeight, this.startWidth > 0 && this.startHeight > 0 && (this.aspectRatio = this.startWidth / this.startHeight), this.getPos(), this.container.dataset.resizeState = "true", this.classNames.resizing && this.container.classList.add(this.classNames.resizing), document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("touchmove", this.handleTouchMove), document.addEventListener("mouseup", this.handleMouseUp), document.addEventListener("keydown", this.handleKeyDown), document.addEventListener("keyup", this.handleKeyUp);
|
|
12000
12003
|
}
|
|
12001
12004
|
handleResize(e, t) {
|
|
12002
12005
|
if (!this.activeHandle) return;
|
|
@@ -12036,7 +12039,7 @@ var xm = (e, t) => bm(e, t), Sm = (e) => "touches" in e, Cm = class {
|
|
|
12036
12039
|
height: e / this.aspectRatio
|
|
12037
12040
|
};
|
|
12038
12041
|
}
|
|
12039
|
-
},
|
|
12042
|
+
}, Tm = wm, Em = class e extends Ap {
|
|
12040
12043
|
constructor(...e) {
|
|
12041
12044
|
super(...e), this.type = "node";
|
|
12042
12045
|
}
|
|
@@ -12051,7 +12054,7 @@ var xm = (e, t) => bm(e, t), Sm = (e) => "touches" in e, Cm = class {
|
|
|
12051
12054
|
let t = typeof e == "function" ? e() : e;
|
|
12052
12055
|
return super.extend(t);
|
|
12053
12056
|
}
|
|
12054
|
-
},
|
|
12057
|
+
}, Dm = class {
|
|
12055
12058
|
constructor(e, t, n) {
|
|
12056
12059
|
this.isDragging = !1, this.component = e, this.editor = t.editor, this.options = {
|
|
12057
12060
|
stopEvent: null,
|
|
@@ -12149,7 +12152,7 @@ var xm = (e, t) => bm(e, t), Sm = (e) => "touches" in e, Cm = class {
|
|
|
12149
12152
|
});
|
|
12150
12153
|
}
|
|
12151
12154
|
};
|
|
12152
|
-
function
|
|
12155
|
+
function Om(e) {
|
|
12153
12156
|
return new Mp({
|
|
12154
12157
|
find: e.find,
|
|
12155
12158
|
handler: ({ state: t, range: n, match: r, pasteEvent: i }) => {
|
|
@@ -12164,7 +12167,7 @@ function Dm(e) {
|
|
|
12164
12167
|
}
|
|
12165
12168
|
});
|
|
12166
12169
|
}
|
|
12167
|
-
function
|
|
12170
|
+
function km(e) {
|
|
12168
12171
|
return new Mp({
|
|
12169
12172
|
find: e.find,
|
|
12170
12173
|
handler({ match: t, chain: n, range: r, pasteEvent: i }) {
|
|
@@ -12178,7 +12181,7 @@ function Om(e) {
|
|
|
12178
12181
|
}
|
|
12179
12182
|
});
|
|
12180
12183
|
}
|
|
12181
|
-
function
|
|
12184
|
+
function Am(e) {
|
|
12182
12185
|
return new Mp({
|
|
12183
12186
|
find: e.find,
|
|
12184
12187
|
handler: ({ state: t, range: n, match: r }) => {
|
|
@@ -12193,7 +12196,7 @@ function km(e) {
|
|
|
12193
12196
|
}
|
|
12194
12197
|
});
|
|
12195
12198
|
}
|
|
12196
|
-
var
|
|
12199
|
+
var jm = class {
|
|
12197
12200
|
constructor(e) {
|
|
12198
12201
|
this.transaction = e, this.currentStep = this.transaction.steps.length;
|
|
12199
12202
|
}
|
|
@@ -12208,4 +12211,4 @@ var Am = class {
|
|
|
12208
12211
|
};
|
|
12209
12212
|
}
|
|
12210
12213
|
};
|
|
12211
|
-
export { ju as $, D as $n, sd as $t, kc as A, nl as An, rl as At, ul as B,
|
|
12214
|
+
export { ju as $, D as $n, sd as $t, kc as A, nl as An, rl as At, ul as B, mm as Bn, Al as Bt, Of as C, rp as Cn, Uu as Ct, tf as D, Pu as Dn, vu as Dt, Jl as E, gd as En, Sm as Et, Af as F, lu as Fn, Rf as Ft, Xl as G, rc as Gn, Vf as Gt, jf as H, Oc as Hn, Zu as Ht, lm as I, pm as In, du as It, Zl as J, Un as Jn, nd as Jt, cu as K, ts as Kn, ed as Kt, Pf as L, Am as Ln, Yu as Lt, lp as M, ml as Mn, qu as Mt, hd as N, ip as Nn, fu as Nt, ap as O, gp as On, kp as Ot, fl as P, Cu as Pn, Ju as Pt, Du as Q, j as Qn, od as Qt, gl as R, fm as Rn, Dl as Rt, om as S, qc as Sn, Ou as St, kf as T, Lp as Tn, md as Tt, Zp as U, Dc as Un, Qu as Ut, Lf as V, wc as Vn, Xu as Vt, Yl as W, Ec as Wn, zf as Wt, _u as X, k as Xn, id as Xt, $l as Y, Wn as Yn, rd as Yt, Eu as Z, A as Zn, ad as Zt, Dm as _, hu as _n, Vu as _t, nm as a, fd as an, eu as at, Tm as b, dm as bn, Mf as bt, bm as c, Hf as cn, Zc as ct, pd as d, il as dn, Mu as dt, cd as en, O as er, Nu as et, jp as f, Ef as fn, X as ft, em as g, yp as gn, Su as gt, am as h, _p as hn, Tu as ht, Df as i, $u as in, p as ir, Z as it, Gl as j, vd as jn, Ku as jt, op as k, wu as kn, Gu as kt, im as l, el as ln, Ru as lt, Em as m, Om as mn, gu as mt, Zd as n, ud as nn, Xt as nr, Iu as nt, Ap as o, Kc as on, ql as ot, Sp as p, um as pn, Bu as pt, Ql as q, K as qn, td as qt, rm as r, dd as rn, s as rr, Lu as rt, $ as s, al as sn, Xc as st, Ac as t, ld as tn, T as tr, uu as tt, Cp as u, Uf as un, zu as ut, Mp as v, bp as vn, Fl as vt, Q as w, pp as wn, Au as wt, jm as x, km as xn, ku as xt, wm as y, tl as yn, Hu as yt, Il as z, xp as zn, Wu as zt };
|