@templatical/editor 0.25.0 → 0.25.2
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/{AiChatSidebar-CIkS8DsO.js → AiChatSidebar-JLsbPnsH.js} +14 -14
- package/dist/{AiFeatureMenu-Cji1LBJJ.js → AiFeatureMenu-BvA-lViN.js} +7 -7
- package/dist/{BlockIssueBadge-BQiT0FML.js → BlockIssueBadge-Cf0-GC3o.js} +5 -5
- package/dist/{BlockPreviewCanvas-DAnwZofk.js → BlockPreviewCanvas-CnJIM5TO.js} +3 -3
- package/dist/{CloudEditor-CXaft6Ej.js → CloudEditor-Caq7z4-7.js} +25 -25
- package/dist/{CollaboratorBar-BR-rL2wG.js → CollaboratorBar-BFz4LgA0.js} +4 -4
- package/dist/{ColorPicker-B4ArSUhy.js → ColorPicker-B5xXWWX5.js} +6 -6
- package/dist/{CommentsSidebar-Bm5GLDts.js → CommentsSidebar-CGihWwn9.js} +15 -15
- package/dist/{CountdownBlock-CIVAQDVu.js → CountdownBlock-DuyvGcr8.js} +3 -3
- package/dist/{CountdownToolbar-DBmb3tlb.js → CountdownToolbar-DpNCZAUI.js} +4 -4
- package/dist/{DesignReferenceSidebar-CnyJ8L-j.js → DesignReferenceSidebar-CiIHHiil.js} +11 -11
- package/dist/{IssuesPanel-D3XgmYCt.js → IssuesPanel-CUkmAC_S.js} +8 -8
- package/dist/{LoadingTrack-XK_eeUdq.js → LoadingTrack-BexpNuTV.js} +1 -1
- package/dist/{MergeTagModeToggle-BK0fI3P2.js → MergeTagModeToggle-C6nS3qri.js} +5 -5
- package/dist/{MergeTagSuggestion-D0OHRv7L.js → MergeTagSuggestion-98fAcuM-.js} +26 -24
- package/dist/{NumberWithSuffix-Cjj9UNIp.js → NumberWithSuffix-DB-1GNvx.js} +2 -2
- package/dist/{ParagraphEditor-jGnbJEA2.js → ParagraphEditor-NgW-T9YV.js} +114 -97
- package/dist/{RichTextEditorContent-DaaKdzjb.js → RichTextEditorContent-CN7OVR6u.js} +8 -8
- package/dist/{SaveBlockDialog-B3ngEldp.js → SaveBlockDialog-lgcmhAsO.js} +10 -10
- package/dist/{SavedBlocksBrowserModal-DawN3XaB.js → SavedBlocksBrowserModal-3u247V2z.js} +11 -11
- package/dist/{SavedBlocksPanels-eDC9Y46N.js → SavedBlocksPanels-Dh6dABJt.js} +2 -2
- package/dist/{SavedBlocksPickBar-CQbbXmzj.js → SavedBlocksPickBar-Bo82D3Qy.js} +4 -4
- package/dist/{SnapshotHistory-COxKtHM-.js → SnapshotHistory-Dsb1i40w.js} +16 -16
- package/dist/{TemplateScoringPanel-bUuqOO1z.js → TemplateScoringPanel-Bzd_YSag.js} +15 -15
- package/dist/{TestEmailModal-CytkbZVQ.js → TestEmailModal-DvqDTOcO.js} +10 -10
- package/dist/{TestEmailPanel-CHUY7VZn.js → TestEmailPanel-BXoVnAqu.js} +2 -2
- package/dist/{TitleEditor-aMR1bOyY.js → TitleEditor-DWSi998C.js} +12 -12
- package/dist/{TplModal-fmYNYdyp.js → TplModal-DKn0h2qe.js} +5 -5
- package/dist/{blockTypeIcons-C6b9rg88.js → blockTypeIcons-DKlza6aR.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-8Dvbwo50.js → ca-D1zgI9fQ.js} +1 -0
- package/dist/cdn/chunks/{AiChatSidebar-bkBKpNgE.js → AiChatSidebar-BY1Iy-e8.js} +14 -14
- package/dist/cdn/chunks/{AiChatSidebar-bkBKpNgE.js.map → AiChatSidebar-BY1Iy-e8.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-CI4SYTq2.js → AiFeatureMenu-BS4Rek6j.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-CI4SYTq2.js.map → AiFeatureMenu-BS4Rek6j.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CRnx8Dv9.js → BlockIssueBadge-BcIQUe_Q.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CRnx8Dv9.js.map → BlockIssueBadge-BcIQUe_Q.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CXCWhqbp.js → BlockPreviewCanvas-oND1iXLL.js} +4 -4
- package/dist/cdn/chunks/{BlockPreviewCanvas-CXCWhqbp.js.map → BlockPreviewCanvas-oND1iXLL.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-D-t7RyDh.js → CloudEditor-BaqiFbf0.js} +28 -28
- package/dist/cdn/chunks/{CloudEditor-D-t7RyDh.js.map → CloudEditor-BaqiFbf0.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DcXYo47v.js → CollaboratorBar-DF02nTwF.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-DcXYo47v.js.map → CollaboratorBar-DF02nTwF.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-_1O7YU2z.js → ColorPicker-BXH44v2H.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-_1O7YU2z.js.map → ColorPicker-BXH44v2H.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-BEgLBYX-.js → CommentsSidebar-B9bWvvbl.js} +10 -10
- package/dist/cdn/chunks/{CommentsSidebar-BEgLBYX-.js.map → CommentsSidebar-B9bWvvbl.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CPnQA44g.js → CountdownBlock-BTpRd0Hn.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-CPnQA44g.js.map → CountdownBlock-BTpRd0Hn.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Cdo-30U4.js → CountdownToolbar-CW10rbWt.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-Cdo-30U4.js.map → CountdownToolbar-CW10rbWt.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-DPqBr-ut.js → DesignReferenceSidebar-BXjH47QC.js} +9 -9
- package/dist/cdn/chunks/{DesignReferenceSidebar-DPqBr-ut.js.map → DesignReferenceSidebar-BXjH47QC.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-DoQWb23r.js → IssuesPanel-DStHCHfr.js} +7 -7
- package/dist/cdn/chunks/{IssuesPanel-DoQWb23r.js.map → IssuesPanel-DStHCHfr.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-G2tuXqCJ.js → LoadingTrack-DQowK3MV.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-G2tuXqCJ.js.map → LoadingTrack-DQowK3MV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-CWuVC3MU.js → MergeTagModeToggle-BCmQg4Qe.js} +5 -5
- package/dist/cdn/chunks/{MergeTagModeToggle-CWuVC3MU.js.map → MergeTagModeToggle-BCmQg4Qe.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-Ces5Ua78.js → MergeTagSuggestion-BgExdloL.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-Ces5Ua78.js.map → MergeTagSuggestion-BgExdloL.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DQ4sgvt5.js → NumberWithSuffix-BANVbpT0.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-DQ4sgvt5.js.map → NumberWithSuffix-BANVbpT0.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-Uv5LPF3W.js → ParagraphEditor-DqilB4_f.js} +142 -132
- package/dist/cdn/chunks/ParagraphEditor-DqilB4_f.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-Bt3s09qY.js → RichTextEditorContent-BeJx4LVH.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-Bt3s09qY.js.map → RichTextEditorContent-BeJx4LVH.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BAew6EFd.js → SaveBlockDialog-Dm31xRZy.js} +8 -8
- package/dist/cdn/chunks/{SaveBlockDialog-BAew6EFd.js.map → SaveBlockDialog-Dm31xRZy.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-Dn4IJDJW.js → SavedBlocksBrowserModal-Tp37b4y7.js} +9 -9
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-Dn4IJDJW.js.map → SavedBlocksBrowserModal-Tp37b4y7.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-B62U5DYW.js → SavedBlocksPanels-ElerTTa_.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-B62U5DYW.js.map → SavedBlocksPanels-ElerTTa_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-CyRKZg2T.js → SavedBlocksPickBar-QHJ-Mjx0.js} +7 -7
- package/dist/cdn/chunks/{SavedBlocksPickBar-CyRKZg2T.js.map → SavedBlocksPickBar-QHJ-Mjx0.js.map} +1 -1
- package/dist/cdn/chunks/{SnapshotHistory-QQt0DKey.js → SnapshotHistory-jogWGLB-.js} +12 -12
- package/dist/cdn/chunks/{SnapshotHistory-QQt0DKey.js.map → SnapshotHistory-jogWGLB-.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-BwyCMcit.js → TemplateScoringPanel-B2XIOTl-.js} +52 -52
- package/dist/cdn/chunks/{TemplateScoringPanel-BwyCMcit.js.map → TemplateScoringPanel-B2XIOTl-.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-B5UQkDJp.js → TestEmailModal-BcPjQygV.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-B5UQkDJp.js.map → TestEmailModal-BcPjQygV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CvuBq4RA.js → TestEmailPanel-1zxRa00s.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-CvuBq4RA.js.map → TestEmailPanel-1zxRa00s.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-B9W954u9.js → TitleEditor-DTrmublj.js} +14 -14
- package/dist/cdn/chunks/{TitleEditor-B9W954u9.js.map → TitleEditor-DTrmublj.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-B8UsvWc8.js → TplModal-By50gtwa.js} +5 -5
- package/dist/cdn/chunks/{TplModal-B8UsvWc8.js.map → TplModal-By50gtwa.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-BhFhHuFt.js +21 -0
- package/dist/cdn/chunks/{blockTypeIcons-B8s3_ahs.js.map → blockTypeIcons-BhFhHuFt.js.map} +1 -1
- package/dist/cdn/chunks/{ca-8Dvbwo50.js → ca-D1zgI9fQ.js} +2 -1
- package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +1 -0
- package/dist/cdn/chunks/{cloud-DOaGUdR0.js → cloud-B0f7Ub8f.js} +3 -3
- package/dist/cdn/chunks/{cloud-DOaGUdR0.js.map → cloud-B0f7Ub8f.js.map} +1 -1
- package/dist/cdn/chunks/{de-CieSMCUp.js → de-DHra3lvx.js} +2 -1
- package/dist/cdn/chunks/de-DHra3lvx.js.map +1 -0
- package/dist/cdn/chunks/{dist-lZgXNk4G.js → dist-B4VIlp1g.js} +3 -3
- package/dist/cdn/chunks/{dist-lZgXNk4G.js.map → dist-B4VIlp1g.js.map} +1 -1
- package/dist/cdn/chunks/{dist-B8AX9np4.js → dist-H51neg3K.js} +10 -8
- package/dist/cdn/chunks/{dist-B8AX9np4.js.map → dist-H51neg3K.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-JcMTNF3U.js → draggable-Z4XXmbPC.js} +556 -522
- package/dist/cdn/chunks/draggable-Z4XXmbPC.js.map +1 -0
- package/dist/cdn/chunks/{en-D0t_2Fq_.js → en-DlqX2YWZ.js} +2 -1
- package/dist/cdn/chunks/en-DlqX2YWZ.js.map +1 -0
- package/dist/cdn/chunks/{es-DwDoNuLM.js → es-Cuss2snv.js} +2 -1
- package/dist/cdn/chunks/es-Cuss2snv.js.map +1 -0
- package/dist/cdn/chunks/{extensions-5jgtarD-.js → extensions-Dq0D79tq.js} +6 -6
- package/dist/cdn/chunks/{extensions-5jgtarD-.js.map → extensions-Dq0D79tq.js.map} +1 -1
- package/dist/cdn/chunks/{fr-CSEEzv1_.js → fr-Cm85vB2g.js} +2 -1
- package/dist/cdn/chunks/fr-Cm85vB2g.js.map +1 -0
- package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js → htmlparser-DTML8Gvz.js} +8 -7
- package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js.map → htmlparser-DTML8Gvz.js.map} +1 -1
- package/dist/cdn/chunks/{icons-Cp4ZIJw-.js → icons-C_kRN0_C.js} +104 -97
- package/dist/cdn/chunks/icons-C_kRN0_C.js.map +1 -0
- package/dist/cdn/chunks/{keys-BxPCfHBH.js → keys-DsoX52o_.js} +2 -2
- package/dist/cdn/chunks/{keys-BxPCfHBH.js.map → keys-DsoX52o_.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-DrGys_ek.js} +22 -20
- package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js.map → liquid.browser-DrGys_ek.js.map} +1 -1
- package/dist/cdn/chunks/{nl-xyk1T2mA.js → nl-dmiIX7oT.js} +2 -1
- package/dist/cdn/chunks/nl-dmiIX7oT.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-yr6uOJgn.js → pt-BR-CaIG-7EM.js} +2 -1
- package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +1 -0
- package/dist/cdn/chunks/{pusher-kUlkqMvR.js → pusher-BbIHJKf3.js} +29 -25
- package/dist/cdn/chunks/{pusher-kUlkqMvR.js.map → pusher-BbIHJKf3.js.map} +1 -1
- package/dist/cdn/chunks/{src-C417zeUg.js → src-Aea1Vl1H.js} +2 -2
- package/dist/cdn/chunks/{src-C417zeUg.js.map → src-Aea1Vl1H.js.map} +1 -1
- package/dist/cdn/chunks/{src-Dpj0x27M.js → src-CRvTVX4F.js} +427 -424
- package/dist/cdn/chunks/{src-Dpj0x27M.js.map → src-CRvTVX4F.js.map} +1 -1
- package/dist/cdn/chunks/{src-B8W42vT-.js → src-_GNJgPcS.js} +216 -176
- package/dist/cdn/chunks/src-_GNJgPcS.js.map +1 -0
- package/dist/cdn/chunks/{styles-DANwMzW2.js → styles-znpPfrFd.js} +79 -79
- package/dist/cdn/chunks/{styles-DANwMzW2.js.map → styles-znpPfrFd.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-rsib432n.js → tiptap-C5vzWlHv.js} +225 -183
- package/dist/cdn/chunks/tiptap-C5vzWlHv.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-CseYNikC.js → useAliveFlag-4IDYQRNu.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-CseYNikC.js.map → useAliveFlag-4IDYQRNu.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-CjVzv11v.js → useCloudI18n-D4JpHTPk.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-CjVzv11v.js.map → useCloudI18n-D4JpHTPk.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DfW-thCr.js → useEditorCore-BMXBmdd8.js} +28 -28
- package/dist/cdn/chunks/useEditorCore-BMXBmdd8.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-DniEFeIl.js → useI18n-BvcEYzrI.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DniEFeIl.js.map → useI18n-BvcEYzrI.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-Bk9_f5cc.js → useMergeTag-BSdxMUzg.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-Bk9_f5cc.js.map → useMergeTag-BSdxMUzg.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-C4xFJCJ2.js → usePopoverPosition-ig-71caO.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-C4xFJCJ2.js.map → usePopoverPosition-ig-71caO.js.map} +1 -1
- package/dist/cdn/editor.js +15 -15
- package/dist/{check-CIhIDh4h.js → check-COV27dGb.js} +1 -1
- package/dist/{chevron-down-CZ0m6G3s.js → chevron-down-vsU88vcr.js} +1 -1
- package/dist/{chevron-up-BH_tJLeb.js → chevron-up-RrZ0Rjn9.js} +1 -1
- package/dist/{circle-alert-DkEXnGPV.js → circle-alert-B6GlHmmi.js} +1 -1
- package/dist/{clock-BDIJZUET.js → clock-egOt8zjQ.js} +1 -1
- package/dist/{cloud-BZn3jqoL.js → cloud-D-2StbvU.js} +1 -1
- package/dist/{createLucideIcon-AEltGIse.js → createLucideIcon-D6cqT5Pm.js} +3 -3
- package/dist/{de-CieSMCUp.js → de-DHra3lvx.js} +1 -0
- package/dist/{dist-iCEDH3cC.js → dist-B56SufAv.js} +1 -1
- package/dist/{dist-CkPvZCld.js → dist-BQZkRg05.js} +1 -1
- package/dist/{dist-DT1XnEnj.js → dist-BpKxrUi2.js} +2 -2
- package/dist/{dist-CcQFPJMF.js → dist-CHxPjcxA.js} +181 -145
- package/dist/{dist-BxbTVeY0.js → dist-CqV4XslQ.js} +1 -1
- package/dist/{dist-Dx71pluS.js → dist-D4GoAr2g.js} +9 -7
- package/dist/{dist-DSIgxp0v.js → dist-DHwnYYx0.js} +1 -1
- package/dist/{dist-DX4x6mQ1.js → dist-Du95Y9M3.js} +1 -1
- package/dist/{dist-B6Px6GPj.js → dist-DzzTB4eE.js} +1 -1
- package/dist/{dist-DyCHUyRR.js → dist-GUZZpDK3.js} +1 -1
- package/dist/{dist-nR6mxyqI.js → dist-MwT7T6Xp.js} +1 -1
- package/dist/{dist-CIqhVQ1O.js → dist-UkG5ZJ1P.js} +17 -15
- package/dist/{dist-CRH880TV.js → dist-vpuiQ7_Q.js} +1 -1
- package/dist/{en-D0t_2Fq_.js → en-DlqX2YWZ.js} +1 -0
- package/dist/{es-DwDoNuLM.js → es-Cuss2snv.js} +1 -0
- package/dist/{extensions-BjvyU9Ea.js → extensions-y6KjLr9t.js} +7 -7
- package/dist/{fr-CSEEzv1_.js → fr-Cm85vB2g.js} +1 -0
- package/dist/{image-up-8ktdYdaZ.js → image-up-CycES-MQ.js} +1 -1
- package/dist/{info-CvrCgTLH.js → info-BUdvm046.js} +1 -1
- package/dist/{keys-BFPiNAIn.js → keys-fwF3qZax.js} +1 -1
- package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-Di5zMIEx.js} +21 -19
- package/dist/{list-checks-yzGT93ZL.js → list-checks-BAeuuATD.js} +1 -1
- package/dist/{loader-circle-B6euendB.js → loader-circle-L5yuAx_j.js} +1 -1
- package/dist/{message-circle-BMldLVcA.js → message-circle-DRdaapVc.js} +1 -1
- package/dist/{nl-xyk1T2mA.js → nl-dmiIX7oT.js} +1 -0
- package/dist/{pencil-CkKkSd6N.js → pencil-BfErVPf_.js} +1 -1
- package/dist/{pt-BR-yr6uOJgn.js → pt-BR-CaIG-7EM.js} +1 -0
- package/dist/{refresh-cw-fBPgB97G.js → refresh-cw-D0PYatER.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CBbDt7sw.js → runtime-dom.esm-bundler-CepEmvwF.js} +172 -168
- package/dist/{scan-line-CRoEOUiK.js → scan-line-Byi3fJcr.js} +1 -1
- package/dist/{send-B9Tt2qBi.js → send-DuyNexMY.js} +1 -1
- package/dist/{shield-check-QfZkYeIo.js → shield-check-BkkN_1qw.js} +1 -1
- package/dist/{sparkles-8UeMmZb8.js → sparkles-DAw2sBXk.js} +1 -1
- package/dist/{styles-C9GM-bBC.js → styles-BzwheHH_.js} +32 -32
- package/dist/templatical-editor.js +17 -17
- package/dist/{text-align-start-Dn8uIheW.js → text-align-start-Ba3xJKn6.js} +1 -1
- package/dist/{trash-2-DDyvqj0E.js → trash-2-CapEBXBI.js} +1 -1
- package/dist/{triangle-alert-B3PydLzl.js → triangle-alert-52pdw8jI.js} +1 -1
- package/dist/{upload-hE8ItfyG.js → upload-oAgigC31.js} +1 -1
- package/dist/{useAliveFlag-AfoTE_AY.js → useAliveFlag-cvyBxHp7.js} +1 -1
- package/dist/{useCloudI18n-B2lItQ6O.js → useCloudI18n-DKVm6PCa.js} +2 -2
- package/dist/{useEditorCore-Ck_hBiGA.js → useEditorCore-BhjEMSeE.js} +23 -23
- package/dist/{useI18n-C1KcdX_K.js → useI18n-DoVKdCTH.js} +2 -2
- package/dist/{useMergeTag-DHCwRMfH.js → useMergeTag-DTSOQnyr.js} +2 -2
- package/dist/{usePopoverPosition-ClnEh_Cp.js → usePopoverPosition-C0dPEF4X.js} +4 -4
- package/dist/{vue.runtime.esm-bundler-Xpz-L9Fn.js → vue.runtime.esm-bundler-D1diBMsm.js} +297 -251
- package/dist/{x-C4lETLDx.js → x-DvBgbDuf.js} +1 -1
- package/package.json +11 -11
- package/dist/cdn/chunks/ParagraphEditor-Uv5LPF3W.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-B8s3_ahs.js +0 -21
- package/dist/cdn/chunks/ca-8Dvbwo50.js.map +0 -1
- package/dist/cdn/chunks/de-CieSMCUp.js.map +0 -1
- package/dist/cdn/chunks/draggable-JcMTNF3U.js.map +0 -1
- package/dist/cdn/chunks/en-D0t_2Fq_.js.map +0 -1
- package/dist/cdn/chunks/es-DwDoNuLM.js.map +0 -1
- package/dist/cdn/chunks/fr-CSEEzv1_.js.map +0 -1
- package/dist/cdn/chunks/icons-Cp4ZIJw-.js.map +0 -1
- package/dist/cdn/chunks/nl-xyk1T2mA.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-yr6uOJgn.js.map +0 -1
- package/dist/cdn/chunks/src-B8W42vT-.js.map +0 -1
- package/dist/cdn/chunks/tiptap-rsib432n.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DfW-thCr.js.map +0 -1
|
@@ -1548,12 +1548,13 @@ var Ue = class {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
addElementByRule(e, t, n, r) {
|
|
1550
1550
|
let i, a;
|
|
1551
|
-
if (t.node)
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1551
|
+
if (t.node) {
|
|
1552
|
+
if (a = this.parser.schema.nodes[t.node], a.isLeaf) this.insertNode(a.create(t.attrs), n, e.nodeName == "BR") || this.leafFallback(e, n);
|
|
1553
|
+
else {
|
|
1554
|
+
let e = this.enter(a, t.attrs || null, n, t.preserveWhitespace);
|
|
1555
|
+
e && (i = !0, n = e);
|
|
1556
|
+
}
|
|
1557
|
+
} else {
|
|
1557
1558
|
let e = this.parser.schema.marks[t.mark];
|
|
1558
1559
|
n = n.concat(e.create(t.attrs));
|
|
1559
1560
|
}
|
|
@@ -1796,9 +1797,12 @@ function $e(e) {
|
|
|
1796
1797
|
function et(e) {
|
|
1797
1798
|
let t = null;
|
|
1798
1799
|
function n(e) {
|
|
1799
|
-
if (e && typeof e == "object")
|
|
1800
|
-
|
|
1801
|
-
|
|
1800
|
+
if (e && typeof e == "object") {
|
|
1801
|
+
if (Array.isArray(e)) {
|
|
1802
|
+
if (typeof e[0] == "string") t ||= [], t.push(e);
|
|
1803
|
+
else for (let t = 0; t < e.length; t++) n(e[t]);
|
|
1804
|
+
} else for (let t in e) n(e[t]);
|
|
1805
|
+
}
|
|
1802
1806
|
}
|
|
1803
1807
|
return n(e), t;
|
|
1804
1808
|
}
|
|
@@ -3697,28 +3701,30 @@ var Qn = (e, t) => {
|
|
|
3697
3701
|
};
|
|
3698
3702
|
function tr(e) {
|
|
3699
3703
|
return (t, n) => {
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3704
|
+
if (t.selection instanceof A && t.selection.node.isBlock) {
|
|
3705
|
+
let { $from: e } = t.selection;
|
|
3706
|
+
return !e.parentOffset || !Lt(t.doc, e.pos) ? !1 : (n && n(t.tr.split(e.pos).scrollIntoView()), !0);
|
|
3707
|
+
}
|
|
3708
|
+
if (!t.selection.$from.depth) return !1;
|
|
3709
|
+
let r = t.tr;
|
|
3710
|
+
!t.selection.empty && (t.selection instanceof k || t.selection instanceof j) && r.deleteSelection();
|
|
3711
|
+
let { $from: i } = r.selection, a = r.steps.length, o = [], s, c, l = !1, u = !1;
|
|
3712
|
+
for (let t = i.depth;; t--) if (i.node(t).isBlock) {
|
|
3713
|
+
l = i.end(t) == i.pos + (i.depth - t), u = i.start(t) == i.pos - (i.depth - t), c = Zn(i.node(t - 1).contentMatchAt(i.indexAfter(t - 1)));
|
|
3714
|
+
let n = e && e(i.parent, l, i);
|
|
3715
|
+
o.unshift(n || (l && c ? { type: c } : null)), s = t;
|
|
3708
3716
|
break;
|
|
3709
3717
|
} else {
|
|
3710
3718
|
if (t == 1) return !1;
|
|
3711
|
-
|
|
3719
|
+
o.unshift(null);
|
|
3712
3720
|
}
|
|
3713
|
-
let
|
|
3714
|
-
(
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
let e = u.mapping.map(r.before(o)), t = u.doc.resolve(e);
|
|
3719
|
-
s && r.node(o - 1).canReplaceWith(t.index(), t.index() + 1, s) && u.setNodeMarkup(u.mapping.map(r.before(o)), s);
|
|
3721
|
+
let d = i.pos, f = Lt(r.doc, d, o.length, o);
|
|
3722
|
+
if (f ||= (o[0] = c ? { type: c } : null, Lt(r.doc, d, o.length, o)), !f) return !1;
|
|
3723
|
+
if (r.split(d, o.length, o), !l && u && i.node(s).type != c) {
|
|
3724
|
+
let e = r.mapping.slice(a), t = e.map(i.before(s)), n = r.doc.resolve(t);
|
|
3725
|
+
c && i.node(s - 1).canReplaceWith(n.index(), n.index() + 1, c) && r.setNodeMarkup(e.map(i.before(s)), c);
|
|
3720
3726
|
}
|
|
3721
|
-
return n && n(
|
|
3727
|
+
return n && n(r.scrollIntoView()), !0;
|
|
3722
3728
|
};
|
|
3723
3729
|
}
|
|
3724
3730
|
var nr = tr(), rr = (e, t) => {
|
|
@@ -3785,10 +3791,12 @@ function dr(e, t = null) {
|
|
|
3785
3791
|
let { $from: { pos: a }, $to: { pos: o } } = n.selection.ranges[r];
|
|
3786
3792
|
n.doc.nodesBetween(a, o, (r, a) => {
|
|
3787
3793
|
if (i) return !1;
|
|
3788
|
-
if (!(!r.isTextblock || r.hasMarkup(e, t)))
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3794
|
+
if (!(!r.isTextblock || r.hasMarkup(e, t))) {
|
|
3795
|
+
if (r.type == e) i = !0;
|
|
3796
|
+
else {
|
|
3797
|
+
let t = n.doc.resolve(a), r = t.index();
|
|
3798
|
+
i = t.parent.canReplaceWith(r, r + 1, e);
|
|
3799
|
+
}
|
|
3792
3800
|
}
|
|
3793
3801
|
});
|
|
3794
3802
|
}
|
|
@@ -3925,9 +3933,10 @@ function Ar(e, t, n, r, i) {
|
|
|
3925
3933
|
t = N(e) + (i < 0 ? 0 : 1), e = n;
|
|
3926
3934
|
} else if (e.nodeType == 1) {
|
|
3927
3935
|
let n = e.childNodes[t + (i < 0 ? -1 : 0)];
|
|
3928
|
-
if (n.nodeType == 1 && n.contentEditable == "false")
|
|
3929
|
-
|
|
3930
|
-
|
|
3936
|
+
if (n.nodeType == 1 && n.contentEditable == "false") {
|
|
3937
|
+
if (n.pmViewDesc?.ignoreForSelection) t += i;
|
|
3938
|
+
else return !1;
|
|
3939
|
+
} else e = n, t = i < 0 ? P(e) : 0;
|
|
3931
3940
|
} else return !1;
|
|
3932
3941
|
}
|
|
3933
3942
|
}
|
|
@@ -4033,17 +4042,19 @@ function ti(e, t, n) {
|
|
|
4033
4042
|
continue;
|
|
4034
4043
|
}
|
|
4035
4044
|
let e = o, n = e == a.body, s = n ? Qr(a) : ei(e), c = 0, l = 0;
|
|
4036
|
-
if (t.top < s.top + $r(r, "top") ? l = -(s.top - t.top + $r(i, "top")) : t.bottom > s.bottom - $r(r, "bottom") && (l = t.bottom - t.top > s.bottom - s.top ? t.top + $r(i, "top") - s.top : t.bottom - s.bottom + $r(i, "bottom")), t.left < s.left + $r(r, "left") ? c = -(s.left - t.left + $r(i, "left")) : t.right > s.right - $r(r, "right") && (c = t.right - s.right + $r(i, "right")), c || l)
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4045
|
+
if (t.top < s.top + $r(r, "top") ? l = -(s.top - t.top + $r(i, "top")) : t.bottom > s.bottom - $r(r, "bottom") && (l = t.bottom - t.top > s.bottom - s.top ? t.top + $r(i, "top") - s.top : t.bottom - s.bottom + $r(i, "bottom")), t.left < s.left + $r(r, "left") ? c = -(s.left - t.left + $r(i, "left")) : t.right > s.right - $r(r, "right") && (c = t.right - s.right + $r(i, "right")), c || l) {
|
|
4046
|
+
if (n) a.defaultView.scrollBy(c, l);
|
|
4047
|
+
else {
|
|
4048
|
+
let n = e.scrollLeft, r = e.scrollTop;
|
|
4049
|
+
l && (e.scrollTop += l), c && (e.scrollLeft += c);
|
|
4050
|
+
let i = e.scrollLeft - n, a = e.scrollTop - r;
|
|
4051
|
+
t = {
|
|
4052
|
+
left: t.left - i,
|
|
4053
|
+
top: t.top - a,
|
|
4054
|
+
right: t.right - i,
|
|
4055
|
+
bottom: t.bottom - a
|
|
4056
|
+
};
|
|
4057
|
+
}
|
|
4047
4058
|
}
|
|
4048
4059
|
let u = n ? "fixed" : getComputedStyle(o).position;
|
|
4049
4060
|
if (/^(fixed|sticky)$/.test(u)) break;
|
|
@@ -4222,19 +4233,22 @@ function _i(e, t) {
|
|
|
4222
4233
|
var vi = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
4223
4234
|
function yi(e, t, n) {
|
|
4224
4235
|
let { node: r, offset: i, atom: a } = e.docView.domFromPos(t, n < 0 ? -1 : 1), o = Xr || L;
|
|
4225
|
-
if (r.nodeType == 3)
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4236
|
+
if (r.nodeType == 3) {
|
|
4237
|
+
if (o && (vi.test(r.nodeValue) || (n < 0 ? !i : i == r.nodeValue.length))) {
|
|
4238
|
+
let e = _i(Er(r, i, i), n);
|
|
4239
|
+
if (L && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
|
|
4240
|
+
let t = _i(Er(r, i - 1, i - 1), -1);
|
|
4241
|
+
if (t.top == e.top) {
|
|
4242
|
+
let n = _i(Er(r, i, i + 1), -1);
|
|
4243
|
+
if (n.top != e.top) return bi(n, n.left < t.left);
|
|
4244
|
+
}
|
|
4232
4245
|
}
|
|
4246
|
+
return e;
|
|
4247
|
+
}
|
|
4248
|
+
{
|
|
4249
|
+
let e = i, t = i, a = n < 0 ? 1 : -1;
|
|
4250
|
+
return n < 0 && !i ? (t++, a = -1) : n >= 0 && i == r.nodeValue.length ? (e--, a = 1) : n < 0 ? e-- : t++, bi(_i(Er(r, e, t), a), a < 0);
|
|
4233
4251
|
}
|
|
4234
|
-
return e;
|
|
4235
|
-
} else {
|
|
4236
|
-
let e = i, t = i, a = n < 0 ? 1 : -1;
|
|
4237
|
-
return n < 0 && !i ? (t++, a = -1) : n >= 0 && i == r.nodeValue.length ? (e--, a = 1) : n < 0 ? e-- : t++, bi(_i(Er(r, e, t), a), a < 0);
|
|
4238
4252
|
}
|
|
4239
4253
|
if (!e.state.doc.resolve(t - (a || 0)).parent.inlineContent) {
|
|
4240
4254
|
if (a == null && i && (n < 0 || i == P(r))) {
|
|
@@ -4388,24 +4402,27 @@ var V = 0, Ai = 1, ji = 2, H = 3, Mi = class {
|
|
|
4388
4402
|
return this.posAtStart + this.size - 2 * this.border;
|
|
4389
4403
|
}
|
|
4390
4404
|
localPosFromDOM(e, t, n) {
|
|
4391
|
-
if (this.contentDOM && this.contentDOM.contains(e.nodeType == 1 ? e : e.parentNode))
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4405
|
+
if (this.contentDOM && this.contentDOM.contains(e.nodeType == 1 ? e : e.parentNode)) {
|
|
4406
|
+
if (n < 0) {
|
|
4407
|
+
let n, r;
|
|
4408
|
+
if (e == this.contentDOM) n = e.childNodes[t - 1];
|
|
4409
|
+
else {
|
|
4410
|
+
for (; e.parentNode != this.contentDOM;) e = e.parentNode;
|
|
4411
|
+
n = e.previousSibling;
|
|
4412
|
+
}
|
|
4413
|
+
for (; n && !((r = n.pmViewDesc) && r.parent == this);) n = n.previousSibling;
|
|
4414
|
+
return n ? this.posBeforeChild(r) + r.size : this.posAtStart;
|
|
4397
4415
|
}
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
n =
|
|
4416
|
+
{
|
|
4417
|
+
let n, r;
|
|
4418
|
+
if (e == this.contentDOM) n = e.childNodes[t];
|
|
4419
|
+
else {
|
|
4420
|
+
for (; e.parentNode != this.contentDOM;) e = e.parentNode;
|
|
4421
|
+
n = e.nextSibling;
|
|
4422
|
+
}
|
|
4423
|
+
for (; n && !((r = n.pmViewDesc) && r.parent == this);) n = n.nextSibling;
|
|
4424
|
+
return n ? this.posBeforeChild(r) : this.posAtEnd;
|
|
4406
4425
|
}
|
|
4407
|
-
for (; n && !((r = n.pmViewDesc) && r.parent == this);) n = n.nextSibling;
|
|
4408
|
-
return n ? this.posBeforeChild(r) : this.posAtEnd;
|
|
4409
4426
|
}
|
|
4410
4427
|
let r;
|
|
4411
4428
|
if (e == this.dom && this.contentDOM) r = t > N(this.contentDOM);
|
|
@@ -4431,8 +4448,10 @@ var V = 0, Ai = 1, ji = 2, H = 3, Mi = class {
|
|
|
4431
4448
|
nearestDesc(e, t = !1) {
|
|
4432
4449
|
for (let n = !0, r = e; r; r = r.parentNode) {
|
|
4433
4450
|
let i = this.getDesc(r), a;
|
|
4434
|
-
if (i && (!t || i.node))
|
|
4435
|
-
|
|
4451
|
+
if (i && (!t || i.node)) {
|
|
4452
|
+
if (n && (a = i.nodeDOM) && !(a.nodeType == 1 ? a.contains(e.nodeType == 1 ? e : e.parentNode) : a == e)) n = !1;
|
|
4453
|
+
else return i;
|
|
4454
|
+
}
|
|
4436
4455
|
}
|
|
4437
4456
|
}
|
|
4438
4457
|
getDesc(e) {
|
|
@@ -5188,10 +5207,12 @@ function $i(e, t, n, r) {
|
|
|
5188
5207
|
let e = i[o++];
|
|
5189
5208
|
e.widget && (u ? (d ||= [u]).push(e) : u = e);
|
|
5190
5209
|
}
|
|
5191
|
-
if (u)
|
|
5192
|
-
d
|
|
5193
|
-
|
|
5194
|
-
|
|
5210
|
+
if (u) {
|
|
5211
|
+
if (d) {
|
|
5212
|
+
d.sort(Qi);
|
|
5213
|
+
for (let e = 0; e < d.length; e++) n(d[e], l, !!c);
|
|
5214
|
+
} else n(u, l, !!c);
|
|
5215
|
+
}
|
|
5195
5216
|
let f, p;
|
|
5196
5217
|
if (c) p = -1, f = c, c = null;
|
|
5197
5218
|
else if (l < e.childCount) p = l, f = e.child(l++);
|
|
@@ -5789,12 +5810,14 @@ function so(e, t) {
|
|
|
5789
5810
|
}
|
|
5790
5811
|
W.keydown = (e, t) => {
|
|
5791
5812
|
let n = t;
|
|
5792
|
-
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !To(e) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Yr && R && n.keyCode == 13)))
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
e.input.lastIOSEnter
|
|
5796
|
-
|
|
5797
|
-
|
|
5813
|
+
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !To(e) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Yr && R && n.keyCode == 13))) {
|
|
5814
|
+
if (n.keyCode != 229 && e.domObserver.forceFlush(), qr && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
5815
|
+
let t = Date.now();
|
|
5816
|
+
e.input.lastIOSEnter = t, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
5817
|
+
e.input.lastIOSEnter == t && (e.someProp("handleKeyDown", (t) => t(e, Ir(13, "Enter"))), e.input.lastIOSEnter = 0);
|
|
5818
|
+
}, 200);
|
|
5819
|
+
} else e.someProp("handleKeyDown", (t) => t(e, n)) || Ia(e, n) ? n.preventDefault() : no(e, "key");
|
|
5820
|
+
}
|
|
5798
5821
|
}, W.keyup = (e, t) => {
|
|
5799
5822
|
t.keyCode == 16 && (e.input.shiftKey = !1);
|
|
5800
5823
|
}, W.keypress = (e, t) => {
|
|
@@ -6395,10 +6418,12 @@ var K = G.empty, Yo = class e {
|
|
|
6395
6418
|
let t, n = !0;
|
|
6396
6419
|
for (let r = 0; r < this.members.length; r++) {
|
|
6397
6420
|
let i = this.members[r].localsInner(e);
|
|
6398
|
-
if (i.length)
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6421
|
+
if (i.length) {
|
|
6422
|
+
if (!t) t = i;
|
|
6423
|
+
else {
|
|
6424
|
+
n &&= (t = t.slice(), !1);
|
|
6425
|
+
for (let e = 0; e < i.length; e++) t.push(i[e]);
|
|
6426
|
+
}
|
|
6402
6427
|
}
|
|
6403
6428
|
}
|
|
6404
6429
|
return t ? rs(n ? t : t.sort(ns)) : qo;
|
|
@@ -6830,20 +6855,22 @@ function xs(e, t, n, r, i) {
|
|
|
6830
6855
|
e.input.lastIOSEnter = 0;
|
|
6831
6856
|
return;
|
|
6832
6857
|
}
|
|
6833
|
-
if (!m)
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6858
|
+
if (!m) {
|
|
6859
|
+
if (r && c instanceof k && !c.empty && c.$head.sameParent(c.$anchor) && !e.composing && !(l.sel && l.sel.anchor != l.sel.head)) m = {
|
|
6860
|
+
start: c.from,
|
|
6861
|
+
endA: c.to,
|
|
6862
|
+
endB: c.to
|
|
6863
|
+
};
|
|
6864
|
+
else {
|
|
6865
|
+
if (l.sel) {
|
|
6866
|
+
let t = Ss(e, e.state.doc, l.sel);
|
|
6867
|
+
if (t && !t.eq(e.state.selection)) {
|
|
6868
|
+
let n = e.state.tr.setSelection(t);
|
|
6869
|
+
a && n.setMeta("composition", a), e.dispatch(n);
|
|
6870
|
+
}
|
|
6844
6871
|
}
|
|
6872
|
+
return;
|
|
6845
6873
|
}
|
|
6846
|
-
return;
|
|
6847
6874
|
}
|
|
6848
6875
|
e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof k && (m.start > e.state.selection.from && m.start <= e.state.selection.from + 2 && e.state.selection.from >= l.from ? m.start = e.state.selection.from : m.endA < e.state.selection.to && m.endA >= e.state.selection.to - 2 && e.state.selection.to <= l.to && (m.endB += e.state.selection.to - m.endA, m.endA = e.state.selection.to)), I && Wr <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > l.from && l.doc.textBetween(m.start - l.from - 1, m.start - l.from + 1) == " \xA0" && (m.start--, m.endA--, m.endB--);
|
|
6849
6876
|
let h = l.doc.resolveNoCache(m.start - l.from), g = l.doc.resolveNoCache(m.endB - l.from), _ = u.resolve(m.start), v = h.sameParent(g) && h.parent.inlineContent && _.end() >= m.endA;
|
|
@@ -6868,18 +6895,19 @@ function xs(e, t, n, r, i) {
|
|
|
6868
6895
|
}
|
|
6869
6896
|
return a && n.setMeta("composition", a), n.scrollIntoView();
|
|
6870
6897
|
}, S;
|
|
6871
|
-
if (v)
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6898
|
+
if (v) {
|
|
6899
|
+
if (h.pos == g.pos) {
|
|
6900
|
+
I && Wr <= 11 && h.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => aa(e), 20));
|
|
6901
|
+
let t = x(e.state.tr.delete(y, b)), n = u.resolve(m.start).marksAcross(u.resolve(m.endA));
|
|
6902
|
+
n && t.ensureMarks(n), e.dispatch(t);
|
|
6903
|
+
} else if (m.endA == m.endB && (S = Cs(h.parent.content.cut(h.parentOffset, g.parentOffset), _.parent.content.cut(_.parentOffset, m.endA - _.start())))) {
|
|
6904
|
+
let t = x(e.state.tr);
|
|
6905
|
+
S.type == "add" ? t.addMark(y, b, S.mark) : t.removeMark(y, b, S.mark), e.dispatch(t);
|
|
6906
|
+
} else if (h.parent.child(h.index()).isText && h.index() == g.index() - +!g.textOffset) {
|
|
6907
|
+
let t = h.parent.textBetween(h.parentOffset, g.parentOffset), n = () => x(e.state.tr.insertText(t, y, b));
|
|
6908
|
+
e.someProp("handleTextInput", (r) => r(e, y, b, t, n)) || e.dispatch(n());
|
|
6909
|
+
} else e.dispatch(x());
|
|
6881
6910
|
} else e.dispatch(x());
|
|
6882
|
-
else e.dispatch(x());
|
|
6883
6911
|
}
|
|
6884
6912
|
function Ss(e, t, n) {
|
|
6885
6913
|
return Math.max(n.anchor, n.head) > t.content.size ? null : ma(e, t.resolve(n.anchor), t.resolve(n.head));
|
|
@@ -6996,10 +7024,12 @@ var Ds = class {
|
|
|
6996
7024
|
}
|
|
6997
7025
|
scrollToSelection() {
|
|
6998
7026
|
let e = this.domSelectionRange().focusNode;
|
|
6999
|
-
if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode)) && !this.someProp("handleScrollToSelection", (e) => e(this)))
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7027
|
+
if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode)) && !this.someProp("handleScrollToSelection", (e) => e(this))) {
|
|
7028
|
+
if (this.state.selection instanceof A) {
|
|
7029
|
+
let t = this.docView.domAfterPos(this.state.selection.from);
|
|
7030
|
+
t.nodeType == 1 && ti(this, t.getBoundingClientRect(), e);
|
|
7031
|
+
} else ti(this, this.coordsAtPos(this.state.selection.head, 1), e);
|
|
7032
|
+
}
|
|
7003
7033
|
}
|
|
7004
7034
|
destroyPluginViews() {
|
|
7005
7035
|
let e;
|
|
@@ -8554,24 +8584,26 @@ function mu(e, t, n) {
|
|
|
8554
8584
|
}
|
|
8555
8585
|
var hu = (e, t = {}) => ({ tr: n, state: r, dispatch: i }) => {
|
|
8556
8586
|
let { selection: a } = n, { empty: o, ranges: s } = a, c = Y(e, r.schema);
|
|
8557
|
-
if (i)
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8587
|
+
if (i) {
|
|
8588
|
+
if (o) {
|
|
8589
|
+
let e = dl(r, c);
|
|
8590
|
+
n.addStoredMark(c.create({
|
|
8591
|
+
...e,
|
|
8592
|
+
...t
|
|
8593
|
+
}));
|
|
8594
|
+
} else s.forEach((e) => {
|
|
8595
|
+
let i = e.$from.pos, a = e.$to.pos;
|
|
8596
|
+
r.doc.nodesBetween(i, a, (e, r) => {
|
|
8597
|
+
let o = Math.max(r, i), s = Math.min(r + e.nodeSize, a);
|
|
8598
|
+
e.marks.find((e) => e.type === c) ? e.marks.forEach((e) => {
|
|
8599
|
+
c === e.type && n.addMark(o, s, c.create({
|
|
8600
|
+
...e.attrs,
|
|
8601
|
+
...t
|
|
8602
|
+
}));
|
|
8603
|
+
}) : n.addMark(o, s, c.create(t));
|
|
8604
|
+
});
|
|
8573
8605
|
});
|
|
8574
|
-
}
|
|
8606
|
+
}
|
|
8575
8607
|
return mu(r, n, c);
|
|
8576
8608
|
}, gu = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), _u = (e, t = {}) => ({ state: n, dispatch: r, chain: i }) => {
|
|
8577
8609
|
let a = J(e, n.schema), o;
|
|
@@ -9021,14 +9053,16 @@ function id(e) {
|
|
|
9021
9053
|
let a = g.slice(0, i);
|
|
9022
9054
|
m = a.trim();
|
|
9023
9055
|
let o = e.slice(0, p + i + n[0].length), c = [];
|
|
9024
|
-
if (m)
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9056
|
+
if (m) {
|
|
9057
|
+
if (s === "block") for (c = r.blockTokens(a), c.forEach((e) => {
|
|
9058
|
+
e.text && (!e.tokens || e.tokens.length === 0) && (e.tokens = r.inlineTokens(e.text));
|
|
9059
|
+
}); c.length > 0;) {
|
|
9060
|
+
let e = c[c.length - 1];
|
|
9061
|
+
if (e.type === "paragraph" && (!e.text || e.text.trim() === "")) c.pop();
|
|
9062
|
+
else break;
|
|
9063
|
+
}
|
|
9064
|
+
else c = r.inlineTokens(m);
|
|
9030
9065
|
}
|
|
9031
|
-
else c = r.inlineTokens(m);
|
|
9032
9066
|
return {
|
|
9033
9067
|
type: t,
|
|
9034
9068
|
raw: o,
|
|
@@ -10079,13 +10113,15 @@ var $ = class e extends yd {
|
|
|
10079
10113
|
closest(e, t = {}) {
|
|
10080
10114
|
let n = null, r = this.parent;
|
|
10081
10115
|
for (; r && !n;) {
|
|
10082
|
-
if (r.node.type.name === e)
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
let
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10116
|
+
if (r.node.type.name === e) {
|
|
10117
|
+
if (Object.keys(t).length > 0) {
|
|
10118
|
+
let e = r.node.attrs, n = Object.keys(t);
|
|
10119
|
+
for (let r = 0; r < n.length; r += 1) {
|
|
10120
|
+
let i = n[r];
|
|
10121
|
+
if (e[i] !== t[i]) break;
|
|
10122
|
+
}
|
|
10123
|
+
} else n = r;
|
|
10124
|
+
}
|
|
10089
10125
|
r = r.parent;
|
|
10090
10126
|
}
|
|
10091
10127
|
return n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, ft as t, i as n, qt as r } from "./dist-
|
|
1
|
+
import { c as e, ft as t, i as n, qt as r } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2_/node_modules/@tiptap/extension-text-style/dist/index.js
|
|
3
3
|
var i = 20, a = (e, t = 0) => {
|
|
4
4
|
let n = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cn as e, Ct as t, Dn as n, En as r, Mt as i, Nt as a, On as o, Pt as s, Sn as c, Tn as l, Ut as u, Wt as d, Xt as f, Y as p, Z as m, _n as h, at as g, bn as _, c as v, en as ee, gn as y, i as b, in as te, mn as ne, ot as re, qt as x, rt as ie, u as S, v as ae, vn as C, wn as w, wt as oe, xn as T, y as se, yn as E } from "./dist-
|
|
2
|
-
import { Link as ce } from "./dist-
|
|
3
|
-
import { Underline as le } from "./dist-
|
|
1
|
+
import { Cn as e, Ct as t, Dn as n, En as r, Mt as i, Nt as a, On as o, Pt as s, Sn as c, Tn as l, Ut as u, Wt as d, Xt as f, Y as p, Z as m, _n as h, at as g, bn as _, c as v, en as ee, gn as y, i as b, in as te, mn as ne, ot as re, qt as x, rt as ie, u as S, v as ae, vn as C, wn as w, wt as oe, xn as T, y as se, yn as E } from "./dist-CHxPjcxA.js";
|
|
2
|
+
import { Link as ce } from "./dist-Du95Y9M3.js";
|
|
3
|
+
import { Underline as le } from "./dist-GUZZpDK3.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@tiptap+core@3.29.2_@tiptap+pm@3.29.2/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
|
|
5
5
|
var D = (e, t) => {
|
|
6
6
|
if (e === "slot") return 0;
|
|
@@ -1628,10 +1628,12 @@ var Ft = class {
|
|
|
1628
1628
|
this.handlers.forEach(({ name: e, handler: t }) => this.editorView.dom.removeEventListener(e, t));
|
|
1629
1629
|
}
|
|
1630
1630
|
update(e, t) {
|
|
1631
|
-
if (this.cursorPos != null && t.doc != e.state.doc)
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1631
|
+
if (this.cursorPos != null && t.doc != e.state.doc) {
|
|
1632
|
+
if (this.lastDragEvent) {
|
|
1633
|
+
let e = this.computeTarget(this.lastDragEvent);
|
|
1634
|
+
e == this.cursorPos ? this.updateOverlay() : this.setCursor(e);
|
|
1635
|
+
} else this.updateOverlay();
|
|
1636
|
+
}
|
|
1635
1637
|
}
|
|
1636
1638
|
setCursor(e) {
|
|
1637
1639
|
e != this.cursorPos && (this.cursorPos = e, e == null ? (this.element.parentNode.removeChild(this.element), this.element = null) : this.updateOverlay());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, qt as t } from "./dist-
|
|
1
|
+
import { c as e, qt as t } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-subscript@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__@tiptap+pm@3.29.2/node_modules/@tiptap/extension-subscript/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "subscript",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as e, Sn as t, Ut as n, Wt as r, Y as i, b as a, c as o, nt as s, o as c, p as l, q as u, qt as d, xn as f } from "./dist-
|
|
1
|
+
import { R as e, Sn as t, Ut as n, Wt as r, Y as i, b as a, c as o, nt as s, o as c, p as l, q as u, qt as d, xn as f } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var p = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", m = "ελ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", h = "numeric", g = "ascii", _ = "alpha", v = "asciinumeric", y = "alphanumeric", b = "domain", x = "emoji", ee = "scheme", S = "slashscheme", C = "whitespace";
|
|
4
4
|
function w(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ut as e, Wt as t, c as n, ft as r, qt as i } from "./dist-
|
|
1
|
+
import { Ut as e, Wt as t, c as n, ft as r, qt as i } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2_/node_modules/@tiptap/extension-highlight/dist/index.js
|
|
3
3
|
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = n.create({
|
|
4
4
|
name: "highlight",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, qt as t } from "./dist-
|
|
1
|
+
import { c as e, qt as t } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "underline",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, qt as t } from "./dist-
|
|
1
|
+
import { c as e, qt as t } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__@tiptap+pm@3.29.2/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "superscript",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { E as t, G as n, L as r, Q as i, T as a, V as o, Y as s, Z as ee, _ as c, k as l, nt as te, q as u, v as ne, w as re, y as d } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { r as f } from "./runtime-dom.esm-bundler-
|
|
4
|
-
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as Oe, a as ke, an as Ae, at as je, b as Me, bt as Ne, c as Pe, cn as Fe, ct as Ie, d as Le, dn as Re, dt as ze, en as W, et as Be, f as G, fn as Ve, ft as He, g as Ue, gn as We, gt as Ge, h as Ke, hn as qe, ht as Je, i as Ye, in as Xe, it as Ze, j as Qe, jt as $e, k as et, kt as tt, l as K, ln as nt, lt as rt, m as it, mn as at, mt as ot, n as st, nn as ct, nt as lt, o as ut, on as dt, ot as ft, p as pt, pn as mt, pt as ht, q as gt, qt as _t, r as vt, rn as yt, rt as bt, s as xt, sn as St, st as Ct, t as wt, tn as Tt, tt as Et, u as Dt, un as Ot, ut as kt, v as At, vt as q, w as jt, wt as Mt, x as Nt, xt as Pt, y as Ft, yt as It, z as Lt, zt as Rt } from "./dist-
|
|
5
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.29.2_@floating-ui+dom@1.8.0_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__@
|
|
2
|
+
import { E as t, G as n, L as r, Q as i, T as a, V as o, Y as s, Z as ee, _ as c, k as l, nt as te, q as u, v as ne, w as re, y as d } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
3
|
+
import { r as f } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
4
|
+
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as Oe, a as ke, an as Ae, at as je, b as Me, bt as Ne, c as Pe, cn as Fe, ct as Ie, d as Le, dn as Re, dt as ze, en as W, et as Be, f as G, fn as Ve, ft as He, g as Ue, gn as We, gt as Ge, h as Ke, hn as qe, ht as Je, i as Ye, in as Xe, it as Ze, j as Qe, jt as $e, k as et, kt as tt, l as K, ln as nt, lt as rt, m as it, mn as at, mt as ot, n as st, nn as ct, nt as lt, o as ut, on as dt, ot as ft, p as pt, pn as mt, pt as ht, q as gt, qt as _t, r as vt, rn as yt, rt as bt, s as xt, sn as St, st as Ct, t as wt, tn as Tt, tt as Et, u as Dt, un as Ot, ut as kt, v as At, vt as q, w as jt, wt as Mt, x as Nt, xt as Pt, y as Ft, yt as It, z as Lt, zt as Rt } from "./dist-CHxPjcxA.js";
|
|
5
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.29.2_@floating-ui+dom@1.8.0_@tiptap+core@3.29.2_@tiptap+pm@3.29.2__@tip_82ae703f9716de2fe82106636b634245/node_modules/@tiptap/vue-3/dist/index.js
|
|
6
6
|
var zt = /* @__PURE__ */ e({
|
|
7
7
|
CommandManager: () => wt,
|
|
8
8
|
Editor: () => Y,
|
|
@@ -464,17 +464,19 @@ var Kt = {
|
|
|
464
464
|
}
|
|
465
465
|
handleSelectionUpdate() {
|
|
466
466
|
let e = this.getPos();
|
|
467
|
-
if (typeof e == "number")
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
467
|
+
if (typeof e == "number") {
|
|
468
|
+
if (y({
|
|
469
|
+
selection: this.editor.state.selection,
|
|
470
|
+
pos: e,
|
|
471
|
+
nodeSize: this.node.nodeSize,
|
|
472
|
+
selectedOnTextSelection: this.options.selectedOnTextSelection
|
|
473
|
+
})) {
|
|
474
|
+
if (this.renderer.props.selected) return;
|
|
475
|
+
this.selectNode();
|
|
476
|
+
} else {
|
|
477
|
+
if (!this.renderer.props.selected) return;
|
|
478
|
+
this.deselectNode();
|
|
479
|
+
}
|
|
478
480
|
}
|
|
479
481
|
}
|
|
480
482
|
update(e, t, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
1
|
+
import { i as e } from "./dist-CHxPjcxA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.29.2_@tiptap+core@3.29.2_@tiptap+pm@3.29.2_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|