@templatical/editor 0.52.0 → 0.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
- package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
- package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
- package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
- package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
- package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
- package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
- package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
- package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
- package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
- package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
- package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
- package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
- package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
- package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
- package/dist/IssuesPanel-4ykrf1ax.js +359 -0
- package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
- package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
- package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
- package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
- package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
- package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
- package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
- package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
- package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
- package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
- package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
- package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
- package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
- package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
- package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
- package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
- package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
- package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
- package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
- package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
- package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
- package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
- package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
- package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
- package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
- package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
- package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
- package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
- package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
- package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
- package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
- package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
- package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
- package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
- package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
- package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
- package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
- package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
- package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
- package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
- package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
- package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
- package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
- package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
- package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
- package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
- package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
- package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
- package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
- package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
- package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
- package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
- package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
- package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
- package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
- package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
- package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
- package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
- package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
- package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
- package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
- package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
- package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
- package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
- package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
- package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
- package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
- package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
- package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
- package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
- package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
- package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
- package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
- package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
- package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
- package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
- package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
- package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
- package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1422 -1422
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
- package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
- package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
- package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
- package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
- package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
- package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
- package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
- package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
- package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
- package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
- package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
- package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
- package/dist/en-Db76vJbY.js +1 -0
- package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
- package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
- package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
- package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
- package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
- package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
- package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
- package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
- package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
- package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
- package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
- package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
- package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
- package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
- package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
- package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
- package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
- package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
- package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
- package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
- package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
- package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +1096 -1096
- package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
- package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
- package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
- package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
- package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
- package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
- package/dist/useEditorRoot-BMcoCLBx.js +7 -0
- package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
- package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
- package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
- package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
- package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
- package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
- package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
- package/package.json +10 -10
- package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
- package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
- package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
- package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
- package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
- package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
- package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
- package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
- package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
- package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
- package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
- package/dist/en-CyEE7FPY.js +0 -1
- package/dist/useEditorRoot-BKr6nNkC.js +0 -7
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import {
|
|
3
|
-
import { r as
|
|
4
|
-
import { $ as
|
|
2
|
+
import { $ as t, B as n, D as r, G as i, M as a, O as o, Y as s, Z as ee, b as te, k as ne, nt as re, st as c, tt as l, ut as u, x as d, y as f } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
3
|
+
import { r as p } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
4
|
+
import { $ as ie, $t as ae, A as oe, An as se, At as ce, B as le, Bn as ue, Bt as de, C as fe, Cn as m, Ct as h, D as g, Dn as _, Dt as v, E as y, En as b, Et as x, F as S, Fn as C, Ft as w, G as T, Gt as E, H as D, Ht as O, I as k, In as A, It as j, J as M, Jt as N, K as P, Kt as F, L as I, Ln as L, Lt as R, M as z, Mn as B, Mt as V, N as pe, Nn as me, Nt as he, O as ge, On as _e, Ot as ve, P as ye, Pn as be, Pt as xe, Q as Se, Qt as Ce, R as we, Rn as Te, Rt as Ee, S as De, Sn as Oe, St as ke, T as Ae, Tn as je, Tt as Me, U as Ne, Ut as H, V as Pe, Vt as Fe, W as Ie, Wt as Le, X as Re, Xt as ze, Y as Be, Yt as Ve, Z as He, Zt as Ue, _ as U, _n as We, _t as Ge, a as Ke, an as qe, at as Je, b as Ye, bn as Xe, bt as Ze, c as Qe, cn as $e, ct as et, d as tt, dn as nt, dt as rt, en as it, et as at, f as ot, fn as st, ft as ct, g as lt, gn as ut, gt as dt, h as ft, hn as pt, ht as mt, i as ht, in as gt, it as _t, j as vt, jn as yt, jt as bt, k as xt, kn as St, kt as Ct, l as wt, ln as Tt, lt as Et, m as Dt, mn as Ot, mt as kt, n as At, nn as jt, nt as Mt, o as Nt, on as Pt, ot as Ft, p as W, pn as It, pt as Lt, q as Rt, qt as zt, r as Bt, rn as Vt, rt as Ht, s as Ut, sn as Wt, st as Gt, t as Kt, tn as qt, tt as Jt, u as Yt, un as Xt, ut as Zt, v as Qt, vn as $t, vt as en, w as tn, wn as nn, wt as rn, x as an, xn as on, xt as sn, y as cn, yn as ln, yt as un, z as dn, zn as fn, zt as pn } from "./dist-V7W1UhVr.js";
|
|
5
5
|
// ../../node_modules/.pnpm/@tiptap+vue-3@3.32.1_@floating-ui+dom@1.8.0_@tiptap+core@3.32.1_@tiptap+pm@3.32.1__@tip_9306e3d4d538094bff7ccb098841af38/node_modules/@tiptap/vue-3/dist/index.js
|
|
6
|
-
var
|
|
7
|
-
CommandManager: () =>
|
|
8
|
-
DECORATION_MANAGER_PLUGIN_KEY: () =>
|
|
9
|
-
Decoration: () =>
|
|
10
|
-
DecorationManager: () =>
|
|
11
|
-
Editor: () =>
|
|
12
|
-
EditorContent: () =>
|
|
13
|
-
Extendable: () =>
|
|
14
|
-
Extension: () =>
|
|
6
|
+
var mn = /* @__PURE__ */ e({
|
|
7
|
+
CommandManager: () => Kt,
|
|
8
|
+
DECORATION_MANAGER_PLUGIN_KEY: () => At,
|
|
9
|
+
Decoration: () => Bt,
|
|
10
|
+
DecorationManager: () => ht,
|
|
11
|
+
Editor: () => K,
|
|
12
|
+
EditorContent: () => q,
|
|
13
|
+
Extendable: () => Nt,
|
|
14
|
+
Extension: () => Ut,
|
|
15
15
|
Fragment: () => Qe,
|
|
16
|
-
InlineDecoration: () =>
|
|
17
|
-
InputRule: () =>
|
|
16
|
+
InlineDecoration: () => wt,
|
|
17
|
+
InputRule: () => Yt,
|
|
18
18
|
MappablePosition: () => tt,
|
|
19
|
-
Mark: () =>
|
|
20
|
-
MarkView: () =>
|
|
19
|
+
Mark: () => ot,
|
|
20
|
+
MarkView: () => W,
|
|
21
21
|
MarkViewContent: () => vn,
|
|
22
|
-
Node: () =>
|
|
23
|
-
NodeDecoration: () =>
|
|
24
|
-
NodePos: () =>
|
|
22
|
+
Node: () => Dt,
|
|
23
|
+
NodeDecoration: () => ft,
|
|
24
|
+
NodePos: () => lt,
|
|
25
25
|
NodeView: () => U,
|
|
26
26
|
NodeViewContent: () => hn,
|
|
27
27
|
NodeViewWrapper: () => J,
|
|
28
|
-
PasteRule: () =>
|
|
29
|
-
ResizableNodeView: () =>
|
|
28
|
+
PasteRule: () => Qt,
|
|
29
|
+
ResizableNodeView: () => cn,
|
|
30
30
|
ResizableNodeview: () => Ye,
|
|
31
|
-
Tracker: () =>
|
|
31
|
+
Tracker: () => an,
|
|
32
32
|
VueMarkView: () => X,
|
|
33
33
|
VueMarkViewRenderer: () => yn,
|
|
34
34
|
VueNodeViewRenderer: () => Z,
|
|
35
35
|
VueRenderer: () => Y,
|
|
36
36
|
VueWidgetRenderer: () => Tn,
|
|
37
37
|
WidgetDecoration: () => De,
|
|
38
|
-
attrsEqual: () =>
|
|
39
|
-
callOrReturn: () =>
|
|
38
|
+
attrsEqual: () => fe,
|
|
39
|
+
callOrReturn: () => tn,
|
|
40
40
|
canInsertNode: () => Ae,
|
|
41
41
|
combineTransactionSteps: () => y,
|
|
42
42
|
commands: () => g,
|
|
43
43
|
createAtomBlockMarkdownSpec: () => ge,
|
|
44
|
-
createBlockMarkdownSpec: () =>
|
|
45
|
-
createChainableState: () =>
|
|
46
|
-
createDocument: () =>
|
|
44
|
+
createBlockMarkdownSpec: () => xt,
|
|
45
|
+
createChainableState: () => oe,
|
|
46
|
+
createDocument: () => vt,
|
|
47
47
|
createElement: () => x,
|
|
48
48
|
createInlineMarkdownSpec: () => z,
|
|
49
49
|
createMappablePosition: () => pe,
|
|
@@ -52,53 +52,53 @@ var pn = /* @__PURE__ */ e({
|
|
|
52
52
|
createWidgetDecoration: () => k,
|
|
53
53
|
decodeHtmlEntities: () => I,
|
|
54
54
|
defaultBlockAt: () => we,
|
|
55
|
-
deleteProps: () =>
|
|
56
|
-
elementFromString: () =>
|
|
55
|
+
deleteProps: () => dn,
|
|
56
|
+
elementFromString: () => le,
|
|
57
57
|
encodeHtmlEntities: () => Pe,
|
|
58
58
|
escapeForRegEx: () => D,
|
|
59
59
|
extensions: () => Ne,
|
|
60
60
|
findChildren: () => Ie,
|
|
61
61
|
findChildrenInRange: () => T,
|
|
62
62
|
findDuplicates: () => P,
|
|
63
|
-
findParentNode: () =>
|
|
63
|
+
findParentNode: () => Rt,
|
|
64
64
|
findParentNodeClosestToPos: () => M,
|
|
65
65
|
flattenExtensions: () => Be,
|
|
66
66
|
fromString: () => Re,
|
|
67
67
|
generateHTML: () => He,
|
|
68
68
|
generateJSON: () => Se,
|
|
69
|
-
generateText: () =>
|
|
70
|
-
getAttributes: () =>
|
|
71
|
-
getAttributesFromExtensions: () =>
|
|
72
|
-
getChangedRanges: () =>
|
|
73
|
-
getDebugJSON: () =>
|
|
74
|
-
getExtensionField: () =>
|
|
69
|
+
generateText: () => ie,
|
|
70
|
+
getAttributes: () => at,
|
|
71
|
+
getAttributesFromExtensions: () => Jt,
|
|
72
|
+
getChangedRanges: () => Mt,
|
|
73
|
+
getDebugJSON: () => Ht,
|
|
74
|
+
getExtensionField: () => _t,
|
|
75
75
|
getHTMLFromFragment: () => Je,
|
|
76
|
-
getMarkAttributes: () =>
|
|
77
|
-
getMarkRange: () =>
|
|
76
|
+
getMarkAttributes: () => Ft,
|
|
77
|
+
getMarkRange: () => Gt,
|
|
78
78
|
getMarkType: () => et,
|
|
79
|
-
getMarksBetween: () =>
|
|
80
|
-
getNodeAtPosition: () =>
|
|
81
|
-
getNodeAttributes: () =>
|
|
82
|
-
getNodeType: () =>
|
|
83
|
-
getPreviousBlockSibling: () =>
|
|
84
|
-
getRenderedAttributes: () =>
|
|
85
|
-
getSchema: () =>
|
|
86
|
-
getSchemaByResolvedExtensions: () =>
|
|
79
|
+
getMarksBetween: () => Et,
|
|
80
|
+
getNodeAtPosition: () => Zt,
|
|
81
|
+
getNodeAttributes: () => rt,
|
|
82
|
+
getNodeType: () => ct,
|
|
83
|
+
getPreviousBlockSibling: () => Lt,
|
|
84
|
+
getRenderedAttributes: () => kt,
|
|
85
|
+
getSchema: () => mt,
|
|
86
|
+
getSchemaByResolvedExtensions: () => dt,
|
|
87
87
|
getSchemaTypeByName: () => Ge,
|
|
88
|
-
getSchemaTypeNameByName: () =>
|
|
89
|
-
getSplittedAttributes: () =>
|
|
88
|
+
getSchemaTypeNameByName: () => en,
|
|
89
|
+
getSplittedAttributes: () => un,
|
|
90
90
|
getStyleProperty: () => Ze,
|
|
91
|
-
getText: () =>
|
|
91
|
+
getText: () => sn,
|
|
92
92
|
getTextBetween: () => ke,
|
|
93
93
|
getTextContentFromNodes: () => h,
|
|
94
|
-
getTextSerializersFromSchema: () =>
|
|
94
|
+
getTextSerializersFromSchema: () => rn,
|
|
95
95
|
getUpdatedPosition: () => Me,
|
|
96
96
|
h: () => x,
|
|
97
97
|
injectExtensionAttributesToParseRule: () => v,
|
|
98
98
|
inputRulesPlugin: () => ve,
|
|
99
|
-
isActive: () =>
|
|
100
|
-
isAndroid: () =>
|
|
101
|
-
isAtEndOfNode: () =>
|
|
99
|
+
isActive: () => Ct,
|
|
100
|
+
isAndroid: () => ce,
|
|
101
|
+
isAtEndOfNode: () => bt,
|
|
102
102
|
isAtStartOfNode: () => V,
|
|
103
103
|
isEmptyObject: () => he,
|
|
104
104
|
isExtensionRulesEnabled: () => xe,
|
|
@@ -106,55 +106,55 @@ var pn = /* @__PURE__ */ e({
|
|
|
106
106
|
isFunction: () => j,
|
|
107
107
|
isList: () => R,
|
|
108
108
|
isMacOS: () => Ee,
|
|
109
|
-
isMarkActive: () =>
|
|
110
|
-
isNodeActive: () =>
|
|
109
|
+
isMarkActive: () => pn,
|
|
110
|
+
isNodeActive: () => de,
|
|
111
111
|
isNodeEmpty: () => Fe,
|
|
112
112
|
isNodeSelection: () => O,
|
|
113
113
|
isNodeViewSelected: () => H,
|
|
114
114
|
isNumber: () => Le,
|
|
115
115
|
isPlainObject: () => E,
|
|
116
116
|
isProseMirrorAddMarkStep: () => F,
|
|
117
|
-
isProseMirrorAddNodeMarkStep: () =>
|
|
117
|
+
isProseMirrorAddNodeMarkStep: () => zt,
|
|
118
118
|
isProseMirrorAttrStep: () => N,
|
|
119
119
|
isProseMirrorCellSelection: () => Ve,
|
|
120
120
|
isProseMirrorDocAttrStep: () => ze,
|
|
121
121
|
isProseMirrorFragment: () => Ue,
|
|
122
122
|
isProseMirrorNodeSelection: () => Ce,
|
|
123
|
-
isProseMirrorRemoveMarkStep: () =>
|
|
124
|
-
isProseMirrorRemoveNodeMarkStep: () =>
|
|
125
|
-
isProseMirrorReplaceAroundStep: () =>
|
|
126
|
-
isProseMirrorReplaceStep: () =>
|
|
127
|
-
isProseMirrorSlice: () =>
|
|
128
|
-
isProseMirrorStep: () =>
|
|
123
|
+
isProseMirrorRemoveMarkStep: () => ae,
|
|
124
|
+
isProseMirrorRemoveNodeMarkStep: () => it,
|
|
125
|
+
isProseMirrorReplaceAroundStep: () => qt,
|
|
126
|
+
isProseMirrorReplaceStep: () => jt,
|
|
127
|
+
isProseMirrorSlice: () => Vt,
|
|
128
|
+
isProseMirrorStep: () => gt,
|
|
129
129
|
isProseMirrorStepResult: () => qe,
|
|
130
|
-
isRegExp: () =>
|
|
131
|
-
isSafari: () =>
|
|
130
|
+
isRegExp: () => Pt,
|
|
131
|
+
isSafari: () => Wt,
|
|
132
132
|
isString: () => $e,
|
|
133
|
-
isTextSelection: () =>
|
|
134
|
-
isValidCSSStyleValue: () =>
|
|
135
|
-
isiOS: () =>
|
|
136
|
-
liveWidgetKeys: () =>
|
|
137
|
-
markInputRule: () =>
|
|
138
|
-
markPasteRule: () =>
|
|
133
|
+
isTextSelection: () => Tt,
|
|
134
|
+
isValidCSSStyleValue: () => Xt,
|
|
135
|
+
isiOS: () => nt,
|
|
136
|
+
liveWidgetKeys: () => st,
|
|
137
|
+
markInputRule: () => It,
|
|
138
|
+
markPasteRule: () => Ot,
|
|
139
139
|
markViewProps: () => _n,
|
|
140
|
-
markdown: () =>
|
|
141
|
-
marksEqual: () =>
|
|
140
|
+
markdown: () => pt,
|
|
141
|
+
marksEqual: () => ut,
|
|
142
142
|
mergeAttributes: () => We,
|
|
143
|
-
mergeDeep: () =>
|
|
144
|
-
minMax: () =>
|
|
143
|
+
mergeDeep: () => $t,
|
|
144
|
+
minMax: () => ln,
|
|
145
145
|
nodeInputRule: () => Xe,
|
|
146
|
-
nodePasteRule: () =>
|
|
146
|
+
nodePasteRule: () => on,
|
|
147
147
|
nodeViewProps: () => bn,
|
|
148
148
|
objectIncludes: () => Oe,
|
|
149
149
|
parseAttributes: () => m,
|
|
150
|
-
parseIndentedBlocks: () =>
|
|
150
|
+
parseIndentedBlocks: () => nn,
|
|
151
151
|
pasteRulesPlugin: () => je,
|
|
152
152
|
posToDOMRect: () => b,
|
|
153
153
|
removeDuplicates: () => _,
|
|
154
154
|
renderNestedMarkdownContent: () => _e,
|
|
155
|
-
resolveExtensions: () =>
|
|
156
|
-
resolveFocusPosition: () =>
|
|
157
|
-
rewriteUnknownContent: () =>
|
|
155
|
+
resolveExtensions: () => St,
|
|
156
|
+
resolveFocusPosition: () => se,
|
|
157
|
+
rewriteUnknownContent: () => yt,
|
|
158
158
|
selectionToInsertionEnd: () => B,
|
|
159
159
|
serializeAttributes: () => me,
|
|
160
160
|
sortExtensions: () => be,
|
|
@@ -162,12 +162,12 @@ var pn = /* @__PURE__ */ e({
|
|
|
162
162
|
textInputRule: () => A,
|
|
163
163
|
textPasteRule: () => L,
|
|
164
164
|
textblockTypeInputRule: () => Te,
|
|
165
|
-
updateMarkViewAttributes: () =>
|
|
165
|
+
updateMarkViewAttributes: () => fn,
|
|
166
166
|
useEditor: () => gn,
|
|
167
|
-
wrappingInputRule: () =>
|
|
167
|
+
wrappingInputRule: () => ue
|
|
168
168
|
});
|
|
169
|
-
function
|
|
170
|
-
return
|
|
169
|
+
function G(e) {
|
|
170
|
+
return i((t, n) => ({
|
|
171
171
|
get() {
|
|
172
172
|
return t(), e;
|
|
173
173
|
},
|
|
@@ -180,11 +180,11 @@ function K(e) {
|
|
|
180
180
|
}
|
|
181
181
|
}));
|
|
182
182
|
}
|
|
183
|
-
var
|
|
183
|
+
var K = class extends Ke {
|
|
184
184
|
constructor(e = {}) {
|
|
185
|
-
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState =
|
|
185
|
+
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = G(this.view.state), this.reactiveExtensionStorage = G(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
186
186
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
187
|
-
}),
|
|
187
|
+
}), s(this);
|
|
188
188
|
}
|
|
189
189
|
get state() {
|
|
190
190
|
var e;
|
|
@@ -201,35 +201,35 @@ var q = class extends Ke {
|
|
|
201
201
|
let t = super.unregisterPlugin(e);
|
|
202
202
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
203
203
|
}
|
|
204
|
-
},
|
|
204
|
+
}, q = f({
|
|
205
205
|
name: "EditorContent",
|
|
206
206
|
props: { editor: {
|
|
207
207
|
default: null,
|
|
208
208
|
type: Object
|
|
209
209
|
} },
|
|
210
210
|
setup(e) {
|
|
211
|
-
let
|
|
212
|
-
return
|
|
211
|
+
let i = t(), a = te();
|
|
212
|
+
return n(() => {
|
|
213
213
|
let t = e.editor;
|
|
214
|
-
t && t.options.element &&
|
|
215
|
-
if (!
|
|
216
|
-
let e =
|
|
217
|
-
|
|
218
|
-
...
|
|
219
|
-
provides:
|
|
214
|
+
t && t.options.element && i.value && r(() => {
|
|
215
|
+
if (!i.value || !t.view.dom?.parentNode) return;
|
|
216
|
+
let e = c(i.value);
|
|
217
|
+
i.value.append(...t.view.dom.parentNode.childNodes), t.contentComponent = a.ctx._, a && (t.appContext = {
|
|
218
|
+
...a.appContext,
|
|
219
|
+
provides: a.provides
|
|
220
220
|
}), t.setOptions({ element: e }), t.createNodeViews();
|
|
221
221
|
});
|
|
222
|
-
}),
|
|
222
|
+
}), o(() => {
|
|
223
223
|
let t = e.editor;
|
|
224
224
|
t && (t.contentComponent = null, t.appContext = null);
|
|
225
|
-
}), { rootEl:
|
|
225
|
+
}), { rootEl: i };
|
|
226
226
|
},
|
|
227
227
|
render() {
|
|
228
|
-
return
|
|
228
|
+
return d("div", { ref: (e) => {
|
|
229
229
|
this.rootEl = e;
|
|
230
230
|
} });
|
|
231
231
|
}
|
|
232
|
-
}), hn =
|
|
232
|
+
}), hn = f({
|
|
233
233
|
name: "NodeViewContent",
|
|
234
234
|
props: { as: {
|
|
235
235
|
type: String,
|
|
@@ -245,12 +245,12 @@ var q = class extends Ke {
|
|
|
245
245
|
e && e(null);
|
|
246
246
|
},
|
|
247
247
|
render() {
|
|
248
|
-
return
|
|
248
|
+
return d(this.as, {
|
|
249
249
|
style: { whiteSpace: "pre-wrap" },
|
|
250
250
|
"data-node-view-content": ""
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
}), J =
|
|
253
|
+
}), J = f({
|
|
254
254
|
name: "NodeViewWrapper",
|
|
255
255
|
props: { as: {
|
|
256
256
|
type: String,
|
|
@@ -259,7 +259,7 @@ var q = class extends Ke {
|
|
|
259
259
|
inject: ["onDragStart", "decorationClasses"],
|
|
260
260
|
render() {
|
|
261
261
|
var e;
|
|
262
|
-
return
|
|
262
|
+
return d(this.as, {
|
|
263
263
|
class: this.decorationClasses,
|
|
264
264
|
style: { whiteSpace: "normal" },
|
|
265
265
|
"data-node-view-wrapper": "",
|
|
@@ -267,16 +267,16 @@ var q = class extends Ke {
|
|
|
267
267
|
}, (e = this.$slots).default?.call(e));
|
|
268
268
|
}
|
|
269
269
|
}), gn = (e = {}) => {
|
|
270
|
-
let t =
|
|
271
|
-
return
|
|
272
|
-
t.value = new
|
|
273
|
-
}),
|
|
270
|
+
let t = l();
|
|
271
|
+
return ne(() => {
|
|
272
|
+
t.value = new K(e);
|
|
273
|
+
}), o(() => {
|
|
274
274
|
var e;
|
|
275
275
|
(e = t.value) == null || e.destroy();
|
|
276
276
|
}), t;
|
|
277
277
|
}, Y = class {
|
|
278
278
|
constructor(e, { props: t = {}, editor: n }) {
|
|
279
|
-
this.destroyed = !1, this.editor = n, this.component =
|
|
279
|
+
this.destroyed = !1, this.editor = n, this.component = s(e), this.el = document.createElement("div"), this.props = ee(t), this.renderedComponent = this.renderComponent();
|
|
280
280
|
}
|
|
281
281
|
get element() {
|
|
282
282
|
return this.renderedComponent.el;
|
|
@@ -287,11 +287,11 @@ var q = class extends Ke {
|
|
|
287
287
|
}
|
|
288
288
|
renderComponent() {
|
|
289
289
|
if (this.destroyed) return this.renderedComponent;
|
|
290
|
-
let e =
|
|
291
|
-
return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el &&
|
|
290
|
+
let e = d(this.component, this.props);
|
|
291
|
+
return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && p(e, this.el), {
|
|
292
292
|
vNode: e,
|
|
293
293
|
destroy: () => {
|
|
294
|
-
this.el &&
|
|
294
|
+
this.el && p(null, this.el), this.el = null, e = null;
|
|
295
295
|
},
|
|
296
296
|
el: this.el ? this.el.firstElementChild : null
|
|
297
297
|
};
|
|
@@ -333,25 +333,25 @@ var q = class extends Ke {
|
|
|
333
333
|
type: Object,
|
|
334
334
|
required: !0
|
|
335
335
|
}
|
|
336
|
-
}, vn =
|
|
336
|
+
}, vn = f({
|
|
337
337
|
name: "MarkViewContent",
|
|
338
338
|
props: { as: {
|
|
339
339
|
type: String,
|
|
340
340
|
default: "span"
|
|
341
341
|
} },
|
|
342
342
|
render() {
|
|
343
|
-
return
|
|
343
|
+
return d(this.as, {
|
|
344
344
|
style: { whiteSpace: "inherit" },
|
|
345
345
|
"data-mark-view-content": ""
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
|
-
}), X = class extends
|
|
348
|
+
}), X = class extends W {
|
|
349
349
|
constructor(e, t, n) {
|
|
350
350
|
super(e, t, n);
|
|
351
351
|
let r = {
|
|
352
352
|
...t,
|
|
353
353
|
updateAttributes: this.updateAttributes.bind(this)
|
|
354
|
-
}, i =
|
|
354
|
+
}, i = f({
|
|
355
355
|
extends: { ...e },
|
|
356
356
|
props: Object.keys(r),
|
|
357
357
|
template: this.component.template,
|
|
@@ -373,7 +373,7 @@ var q = class extends Ke {
|
|
|
373
373
|
return this.dom.querySelector("[data-mark-view-content]");
|
|
374
374
|
}
|
|
375
375
|
updateAttributes(e) {
|
|
376
|
-
let t =
|
|
376
|
+
let t = re(this.mark);
|
|
377
377
|
super.updateAttributes(e, t);
|
|
378
378
|
}
|
|
379
379
|
destroy() {
|
|
@@ -457,15 +457,15 @@ var bn = {
|
|
|
457
457
|
getPos: () => this.getPos(),
|
|
458
458
|
updateAttributes: (e = {}) => this.updateAttributes(e),
|
|
459
459
|
deleteNode: () => this.deleteNode()
|
|
460
|
-
},
|
|
461
|
-
this.decorationClasses =
|
|
462
|
-
let
|
|
460
|
+
}, n = e, r = this.onDragStart.bind(this);
|
|
461
|
+
this.decorationClasses = t(this.getDecorationClasses());
|
|
462
|
+
let i = f({
|
|
463
463
|
extends: { ...this.component },
|
|
464
464
|
props: Object.keys(e),
|
|
465
465
|
template: this.component.template,
|
|
466
466
|
setup: (e) => {
|
|
467
467
|
var t;
|
|
468
|
-
return
|
|
468
|
+
return a("onDragStart", r), a("decorationClasses", this.decorationClasses), a("nodeViewContentRef", (e) => {
|
|
469
469
|
if (e && e !== this.contentDOMElement) {
|
|
470
470
|
if (this.contentDOMElement) for (; this.contentDOMElement.firstChild;) e.appendChild(this.contentDOMElement.firstChild);
|
|
471
471
|
this.contentDOMElement = e;
|
|
@@ -477,9 +477,9 @@ var bn = {
|
|
|
477
477
|
__name: this.component.__name,
|
|
478
478
|
__file: this.component.__file
|
|
479
479
|
});
|
|
480
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(
|
|
480
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(i, {
|
|
481
481
|
editor: this.editor,
|
|
482
|
-
props:
|
|
482
|
+
props: n
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
485
|
get dom() {
|
|
@@ -560,7 +560,7 @@ function Q(e, t) {
|
|
|
560
560
|
if (!r) return;
|
|
561
561
|
(n = r.mixins) == null || n.forEach((e) => Q(e, t)), Q(r.extends, t);
|
|
562
562
|
let { props: i } = r;
|
|
563
|
-
Array.isArray(i) ? i.forEach((e) => t.add(
|
|
563
|
+
Array.isArray(i) ? i.forEach((e) => t.add(u(e))) : i && Object.keys(i).forEach((e) => t.add(u(e)));
|
|
564
564
|
}
|
|
565
565
|
function $(e, t) {
|
|
566
566
|
let n = /* @__PURE__ */ new Set();
|
|
@@ -570,7 +570,7 @@ function $(e, t) {
|
|
|
570
570
|
"editor",
|
|
571
571
|
"getPos",
|
|
572
572
|
...Object.keys(t)
|
|
573
|
-
]) n.has(
|
|
573
|
+
]) n.has(u(e)) || (r[e] = null);
|
|
574
574
|
return r;
|
|
575
575
|
}
|
|
576
576
|
function Sn(e, t) {
|
|
@@ -585,16 +585,16 @@ function Cn(e, t) {
|
|
|
585
585
|
}
|
|
586
586
|
var wn = Symbol("tiptapVueWidgetCache");
|
|
587
587
|
function Tn(e, t) {
|
|
588
|
-
let { editor: n, props:
|
|
588
|
+
let { editor: n, props: r = {} } = t, i = En(e) ? Cn(e, r) : Dn(e, r);
|
|
589
589
|
return k({
|
|
590
590
|
...t,
|
|
591
|
-
props:
|
|
591
|
+
props: r,
|
|
592
592
|
cacheKey: wn,
|
|
593
593
|
context: (e) => ({
|
|
594
|
-
editor:
|
|
594
|
+
editor: s(n),
|
|
595
595
|
getPos: e
|
|
596
596
|
}),
|
|
597
|
-
create: (e) => new Y(
|
|
597
|
+
create: (e) => new Y(i, {
|
|
598
598
|
editor: n,
|
|
599
599
|
props: e
|
|
600
600
|
}),
|
|
@@ -605,7 +605,7 @@ function En(e) {
|
|
|
605
605
|
return typeof e == "function";
|
|
606
606
|
}
|
|
607
607
|
function Dn(e, t) {
|
|
608
|
-
return
|
|
608
|
+
return f({
|
|
609
609
|
extends: { ...e },
|
|
610
610
|
props: $(e, t),
|
|
611
611
|
template: e.template,
|
|
@@ -616,4 +616,4 @@ function Dn(e, t) {
|
|
|
616
616
|
__file: e.__file
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
|
-
export { Z as n,
|
|
619
|
+
export { Z as n, mn as r, J as t };
|