@wordpress/editor 14.45.0 → 14.45.2-next.v.202605131006.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +12 -0
- package/build/components/collab-sidebar/index.cjs +42 -25
- package/build/components/collab-sidebar/index.cjs.map +2 -2
- package/build/components/collab-sidebar/note-thread.cjs +19 -9
- package/build/components/collab-sidebar/note-thread.cjs.map +2 -2
- package/build/components/collab-sidebar/notes.cjs +8 -6
- package/build/components/collab-sidebar/notes.cjs.map +2 -2
- package/build/components/collab-sidebar/utils.cjs +24 -9
- package/build/components/collab-sidebar/utils.cjs.map +2 -2
- package/build/components/collaborators-presence/index.cjs +0 -10
- package/build/components/collaborators-presence/index.cjs.map +3 -3
- package/build/components/collaborators-presence/list.cjs +0 -10
- package/build/components/collaborators-presence/list.cjs.map +3 -3
- package/build/components/post-last-revision/index.cjs +5 -0
- package/build/components/post-last-revision/index.cjs.map +2 -2
- package/build/components/post-publish-panel/index.cjs +112 -124
- package/build/components/post-publish-panel/index.cjs.map +3 -3
- package/build/components/post-revisions-preview/block-diff.cjs +91 -23
- package/build/components/post-revisions-preview/block-diff.cjs.map +2 -2
- package/build/components/post-revisions-preview/diff-markers.cjs +3 -2
- package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
- package/build/components/post-revisions-preview/revisions-slider.cjs +98 -50
- package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
- package/build/store/private-actions.cjs +21 -0
- package/build/store/private-actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +93 -42
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +15 -0
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs.map +2 -2
- package/build-module/components/collab-sidebar/index.mjs +42 -25
- package/build-module/components/collab-sidebar/index.mjs.map +2 -2
- package/build-module/components/collab-sidebar/note-thread.mjs +24 -10
- package/build-module/components/collab-sidebar/note-thread.mjs.map +2 -2
- package/build-module/components/collab-sidebar/notes.mjs +8 -6
- package/build-module/components/collab-sidebar/notes.mjs.map +2 -2
- package/build-module/components/collab-sidebar/utils.mjs +22 -8
- package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
- package/build-module/components/collaborators-presence/index.mjs +0 -10
- package/build-module/components/collaborators-presence/index.mjs.map +3 -3
- package/build-module/components/collaborators-presence/list.mjs +0 -10
- package/build-module/components/collaborators-presence/list.mjs.map +3 -3
- package/build-module/components/post-last-revision/index.mjs +5 -0
- package/build-module/components/post-last-revision/index.mjs.map +2 -2
- package/build-module/components/post-publish-panel/index.mjs +120 -129
- package/build-module/components/post-publish-panel/index.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/block-diff.mjs +91 -23
- package/build-module/components/post-revisions-preview/block-diff.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs +3 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/revisions-slider.mjs +101 -53
- package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
- package/build-module/store/private-actions.mjs +20 -0
- package/build-module/store/private-actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +95 -43
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/reducer.mjs +14 -0
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-style/style-rtl.css +398 -33
- package/build-style/style.css +398 -33
- package/build-types/bindings/api.d.ts +1 -1
- package/build-types/bindings/api.d.ts.map +1 -1
- package/build-types/bindings/pattern-overrides.d.ts +8 -5
- package/build-types/bindings/pattern-overrides.d.ts.map +1 -1
- package/build-types/bindings/post-data.d.ts +8 -5
- package/build-types/bindings/post-data.d.ts.map +1 -1
- package/build-types/bindings/post-meta.d.ts +10 -7
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/bindings/term-data.d.ts +9 -6
- package/build-types/bindings/term-data.d.ts.map +1 -1
- package/build-types/components/autocompleters/index.d.ts +2 -2
- package/build-types/components/autocompleters/index.d.ts.map +1 -1
- package/build-types/components/autocompleters/link.d.ts +6 -10
- package/build-types/components/autocompleters/link.d.ts.map +1 -1
- package/build-types/components/autocompleters/user.d.ts +7 -12
- package/build-types/components/autocompleters/user.d.ts.map +1 -1
- package/build-types/components/autosave-monitor/index.d.ts +28 -4
- package/build-types/components/autosave-monitor/index.d.ts.map +1 -1
- package/build-types/components/block-removal-warnings/index.d.ts +3 -0
- package/build-types/components/block-removal-warnings/index.d.ts.map +1 -1
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts +7 -7
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts.map +1 -1
- package/build-types/components/block-visibility/index.d.ts.map +1 -1
- package/build-types/components/blog-title/index.d.ts.map +1 -1
- package/build-types/components/character-count/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +2 -2
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-note.d.ts +2 -2
- package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/board-store.d.ts +1 -1
- package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/constants.d.ts +3 -3
- package/build-types/components/collab-sidebar/constants.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/floating-container.d.ts +3 -3
- package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/hooks.d.ts +7 -7
- package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-byline.d.ts +2 -2
- package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-card.d.ts +3 -3
- package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-form.d.ts +4 -4
- package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +2 -2
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-thread.d.ts +5 -5
- package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note.d.ts +4 -4
- package/build-types/components/collab-sidebar/note.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/notes.d.ts +2 -2
- package/build-types/components/collab-sidebar/notes.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/utils.d.ts +17 -24
- package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/cursor-dom-utils.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/cursor-registry.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/index.d.ts +4 -1
- package/build-types/components/collaborators-overlay/index.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts +1 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/avatar/component.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/avatar-group/component.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/index.d.ts +1 -2
- package/build-types/components/collaborators-presence/index.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/list.d.ts +1 -2
- package/build-types/components/collaborators-presence/list.d.ts.map +1 -1
- package/build-types/components/collapsible-block-toolbar/index.d.ts.map +1 -1
- package/build-types/components/commands/index.d.ts.map +1 -1
- package/build-types/components/deprecated.d.ts +82 -53
- package/build-types/components/deprecated.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts +3 -3
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/document-bar/useEditedSectionDetails.d.ts.map +1 -1
- package/build-types/components/document-outline/check.d.ts +2 -2
- package/build-types/components/document-outline/check.d.ts.map +1 -1
- package/build-types/components/document-outline/index.d.ts +2 -2
- package/build-types/components/document-outline/index.d.ts.map +1 -1
- package/build-types/components/document-outline/item.d.ts +5 -5
- package/build-types/components/document-outline/item.d.ts.map +1 -1
- package/build-types/components/document-tools/index.d.ts +1 -1
- package/build-types/components/document-tools/index.d.ts.map +1 -1
- package/build-types/components/editor/index.d.ts +7 -7
- package/build-types/components/editor/index.d.ts.map +1 -1
- package/build-types/components/editor-history/redo.d.ts +11 -2
- package/build-types/components/editor-history/redo.d.ts.map +1 -1
- package/build-types/components/editor-history/undo.d.ts +11 -2
- package/build-types/components/editor-history/undo.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts +5 -5
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/editor-notices/index.d.ts +1 -1
- package/build-types/components/editor-notices/index.d.ts.map +1 -1
- package/build-types/components/editor-snackbars/index.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-type-list.d.ts +2 -2
- package/build-types/components/entities-saved-states/entity-type-list.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/hooks/use-is-dirty.d.ts +10 -1
- package/build-types/components/entities-saved-states/hooks/use-is-dirty.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/index.d.ts +4 -4
- package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
- package/build-types/components/error-boundary/index.d.ts +18 -8
- package/build-types/components/error-boundary/index.d.ts.map +1 -1
- package/build-types/components/global-keyboard-shortcuts/index.d.ts.map +1 -1
- package/build-types/components/global-keyboard-shortcuts/register-shortcuts.d.ts +1 -1
- package/build-types/components/global-keyboard-shortcuts/register-shortcuts.d.ts.map +1 -1
- package/build-types/components/global-styles/block-link.d.ts +1 -1
- package/build-types/components/global-styles/block-link.d.ts.map +1 -1
- package/build-types/components/global-styles/header.d.ts +2 -2
- package/build-types/components/global-styles/header.d.ts.map +1 -1
- package/build-types/components/global-styles/hooks.d.ts +3 -3
- package/build-types/components/global-styles/hooks.d.ts.map +1 -1
- package/build-types/components/global-styles/index.d.ts +3 -3
- package/build-types/components/global-styles/index.d.ts.map +1 -1
- package/build-types/components/global-styles/menu.d.ts +2 -2
- package/build-types/components/global-styles/menu.d.ts.map +1 -1
- package/build-types/components/global-styles-provider/index.d.ts +1 -1
- package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
- package/build-types/components/global-styles-renderer/index.d.ts +1 -1
- package/build-types/components/global-styles-renderer/index.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/default-sidebar.d.ts +6 -6
- package/build-types/components/global-styles-sidebar/default-sidebar.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/index.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide.d.ts.map +1 -1
- package/build-types/components/header/back-button.d.ts +3 -3
- package/build-types/components/header/back-button.d.ts.map +1 -1
- package/build-types/components/header/header-skeleton.d.ts +5 -5
- package/build-types/components/header/header-skeleton.d.ts.map +1 -1
- package/build-types/components/header/index.d.ts +2 -2
- package/build-types/components/header/index.d.ts.map +1 -1
- package/build-types/components/index.d.ts +94 -91
- package/build-types/components/index.d.ts.map +1 -1
- package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts +3 -3
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/dynamic-shortcut.d.ts +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/dynamic-shortcut.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/index.d.ts +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/index.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/shortcut.d.ts +3 -3
- package/build-types/components/keyboard-shortcut-help-modal/shortcut.d.ts.map +1 -1
- package/build-types/components/list-view-sidebar/index.d.ts.map +1 -1
- package/build-types/components/list-view-sidebar/list-view-outline.d.ts.map +1 -1
- package/build-types/components/local-autosave-monitor/index.d.ts +12 -0
- package/build-types/components/local-autosave-monitor/index.d.ts.map +1 -1
- package/build-types/components/media/index.d.ts +2 -2
- package/build-types/components/media/index.d.ts.map +1 -1
- package/build-types/components/media/media-editor-modal.d.ts.map +1 -1
- package/build-types/components/media/metadata-panel.d.ts.map +1 -1
- package/build-types/components/media/preview.d.ts.map +1 -1
- package/build-types/components/media-categories/index.d.ts +11 -4
- package/build-types/components/media-categories/index.d.ts.map +1 -1
- package/build-types/components/mode-switcher/index.d.ts +1 -1
- package/build-types/components/mode-switcher/index.d.ts.map +1 -1
- package/build-types/components/more-menu/copy-content-menu-item.d.ts.map +1 -1
- package/build-types/components/more-menu/index.d.ts.map +1 -1
- package/build-types/components/more-menu/tools-more-menu-group.d.ts +2 -2
- package/build-types/components/more-menu/tools-more-menu-group.d.ts.map +1 -1
- package/build-types/components/more-menu/view-more-menu-group.d.ts +2 -2
- package/build-types/components/more-menu/view-more-menu-group.d.ts.map +1 -1
- package/build-types/components/page-attributes/check.d.ts +3 -3
- package/build-types/components/page-attributes/check.d.ts.map +1 -1
- package/build-types/components/page-attributes/order.d.ts +1 -1
- package/build-types/components/page-attributes/order.d.ts.map +1 -1
- package/build-types/components/page-attributes/panel.d.ts +1 -1
- package/build-types/components/page-attributes/panel.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts +3 -3
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/pattern-duplicate-modal/index.d.ts +1 -1
- package/build-types/components/pattern-duplicate-modal/index.d.ts.map +1 -1
- package/build-types/components/pattern-overrides-panel/index.d.ts.map +1 -1
- package/build-types/components/pattern-rename-modal/index.d.ts +1 -1
- package/build-types/components/pattern-rename-modal/index.d.ts.map +1 -1
- package/build-types/components/plugin-document-setting-panel/index.d.ts +8 -61
- package/build-types/components/plugin-document-setting-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-more-menu-item/index.d.ts +5 -5
- package/build-types/components/plugin-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-publish-panel/index.d.ts +9 -40
- package/build-types/components/plugin-post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-status-info/index.d.ts +6 -47
- package/build-types/components/plugin-post-status-info/index.d.ts.map +1 -1
- package/build-types/components/plugin-pre-publish-panel/index.d.ts +9 -43
- package/build-types/components/plugin-pre-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-preview-menu-item/index.d.ts +5 -5
- package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar/index.d.ts +4 -4
- package/build-types/components/plugin-sidebar/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts +3 -3
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/post-actions/actions.d.ts +3 -3
- package/build-types/components/post-actions/actions.d.ts.map +1 -1
- package/build-types/components/post-actions/index.d.ts +4 -4
- package/build-types/components/post-actions/index.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-homepage.d.ts +2 -2
- package/build-types/components/post-actions/set-as-homepage.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-posts-page.d.ts +2 -2
- package/build-types/components/post-actions/set-as-posts-page.d.ts.map +1 -1
- package/build-types/components/post-author/check.d.ts +2 -2
- package/build-types/components/post-author/check.d.ts.map +1 -1
- package/build-types/components/post-author/combobox.d.ts.map +1 -1
- package/build-types/components/post-author/constants.d.ts +10 -8
- package/build-types/components/post-author/constants.d.ts.map +1 -1
- package/build-types/components/post-author/hook.d.ts +1 -1
- package/build-types/components/post-author/hook.d.ts.map +1 -1
- package/build-types/components/post-author/index.d.ts +2 -2
- package/build-types/components/post-author/index.d.ts.map +1 -1
- package/build-types/components/post-author/panel.d.ts +1 -1
- package/build-types/components/post-author/panel.d.ts.map +1 -1
- package/build-types/components/post-author/select.d.ts.map +1 -1
- package/build-types/components/post-card-panel/index.d.ts +7 -7
- package/build-types/components/post-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-comments/index.d.ts +6 -1
- package/build-types/components/post-comments/index.d.ts.map +1 -1
- package/build-types/components/post-content-information/index.d.ts +1 -1
- package/build-types/components/post-content-information/index.d.ts.map +1 -1
- package/build-types/components/post-discussion/panel.d.ts +1 -1
- package/build-types/components/post-discussion/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/check.d.ts +3 -3
- package/build-types/components/post-excerpt/check.d.ts.map +1 -1
- package/build-types/components/post-excerpt/index.d.ts +3 -3
- package/build-types/components/post-excerpt/index.d.ts.map +1 -1
- package/build-types/components/post-excerpt/panel.d.ts +2 -2
- package/build-types/components/post-excerpt/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/plugin.d.ts +6 -43
- package/build-types/components/post-excerpt/plugin.d.ts.map +1 -1
- package/build-types/components/post-featured-image/check.d.ts +3 -3
- package/build-types/components/post-featured-image/check.d.ts.map +1 -1
- package/build-types/components/post-featured-image/index.d.ts +15 -0
- package/build-types/components/post-featured-image/index.d.ts.map +1 -1
- package/build-types/components/post-featured-image/panel.d.ts +1 -1
- package/build-types/components/post-featured-image/panel.d.ts.map +1 -1
- package/build-types/components/post-fields/index.d.ts +1 -1
- package/build-types/components/post-fields/index.d.ts.map +1 -1
- package/build-types/components/post-format/check.d.ts +2 -2
- package/build-types/components/post-format/check.d.ts.map +1 -1
- package/build-types/components/post-format/index.d.ts +12 -12
- package/build-types/components/post-format/index.d.ts.map +1 -1
- package/build-types/components/post-format/panel.d.ts +2 -2
- package/build-types/components/post-format/panel.d.ts.map +1 -1
- package/build-types/components/post-last-edited-panel/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/check.d.ts +3 -3
- package/build-types/components/post-last-revision/check.d.ts.map +1 -1
- package/build-types/components/post-last-revision/index.d.ts +3 -3
- package/build-types/components/post-last-revision/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/panel.d.ts +2 -2
- package/build-types/components/post-last-revision/panel.d.ts.map +1 -1
- package/build-types/components/post-locked-modal/index.d.ts +11 -5
- package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
- package/build-types/components/post-panel-row/index.d.ts +1 -1
- package/build-types/components/post-panel-row/index.d.ts.map +1 -1
- package/build-types/components/post-panel-section/index.d.ts +2 -2
- package/build-types/components/post-panel-section/index.d.ts.map +1 -1
- package/build-types/components/post-pending-status/check.d.ts +3 -3
- package/build-types/components/post-pending-status/check.d.ts.map +1 -1
- package/build-types/components/post-pending-status/index.d.ts +1 -1
- package/build-types/components/post-pending-status/index.d.ts.map +1 -1
- package/build-types/components/post-pingbacks/index.d.ts +7 -1
- package/build-types/components/post-pingbacks/index.d.ts.map +1 -1
- package/build-types/components/post-preview-button/index.d.ts +2 -2
- package/build-types/components/post-preview-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/index.d.ts +5 -5
- package/build-types/components/post-publish-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/label.d.ts.map +1 -1
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts +1 -1
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/index.d.ts +17 -13
- package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-category-panel.d.ts +1 -1
- package/build-types/components/post-publish-panel/maybe-category-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-post-format-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-tags-panel.d.ts +1 -1
- package/build-types/components/post-publish-panel/maybe-tags-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-upload-media.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/media-util.d.ts +2 -2
- package/build-types/components/post-publish-panel/media-util.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/postpublish.d.ts +2 -2
- package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/prepublish.d.ts +1 -1
- package/build-types/components/post-publish-panel/prepublish.d.ts.map +1 -1
- package/build-types/components/post-revisions-panel/index.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/block-diff.d.ts +1 -1
- package/build-types/components/post-revisions-preview/block-diff.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/diff-format-types.d.ts +2 -2
- package/build-types/components/post-revisions-preview/diff-format-types.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/diff-markers.d.ts +1 -1
- package/build-types/components/post-revisions-preview/diff-markers.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/index.d.ts +2 -2
- package/build-types/components/post-revisions-preview/index.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/preserve-client-ids.d.ts +1 -1
- package/build-types/components/post-revisions-preview/preserve-client-ids.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-canvas.d.ts +1 -1
- package/build-types/components/post-revisions-preview/revisions-canvas.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-header.d.ts +2 -2
- package/build-types/components/post-revisions-preview/revisions-header.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts +3 -3
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
- package/build-types/components/post-saved-state/index.d.ts +1 -1
- package/build-types/components/post-saved-state/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/check.d.ts +2 -2
- package/build-types/components/post-schedule/check.d.ts.map +1 -1
- package/build-types/components/post-schedule/index.d.ts +3 -3
- package/build-types/components/post-schedule/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/label.d.ts +4 -4
- package/build-types/components/post-schedule/label.d.ts.map +1 -1
- package/build-types/components/post-schedule/panel.d.ts +1 -1
- package/build-types/components/post-schedule/panel.d.ts.map +1 -1
- package/build-types/components/post-status/index.d.ts +2 -2
- package/build-types/components/post-status/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/check.d.ts +2 -2
- package/build-types/components/post-sticky/check.d.ts.map +1 -1
- package/build-types/components/post-sticky/index.d.ts +1 -1
- package/build-types/components/post-sticky/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/panel.d.ts +1 -1
- package/build-types/components/post-sticky/panel.d.ts.map +1 -1
- package/build-types/components/post-switch-to-draft-button/index.d.ts +1 -1
- package/build-types/components/post-switch-to-draft-button/index.d.ts.map +1 -1
- package/build-types/components/post-sync-status/index.d.ts +1 -1
- package/build-types/components/post-sync-status/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/check.d.ts +2 -2
- package/build-types/components/post-taxonomies/check.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts +4 -4
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts +6 -6
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/index.d.ts +9 -1
- package/build-types/components/post-taxonomies/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/most-used-terms.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/panel.d.ts +1 -1
- package/build-types/components/post-taxonomies/panel.d.ts.map +1 -1
- package/build-types/components/post-template/block-theme.d.ts.map +1 -1
- package/build-types/components/post-template/classic-theme.d.ts +8 -1
- package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
- package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
- package/build-types/components/post-template/create-new-template.d.ts.map +1 -1
- package/build-types/components/post-template/hooks.d.ts +5 -5
- package/build-types/components/post-template/hooks.d.ts.map +1 -1
- package/build-types/components/post-template/panel.d.ts +1 -1
- package/build-types/components/post-template/panel.d.ts.map +1 -1
- package/build-types/components/post-template/reset-default-template.d.ts.map +1 -1
- package/build-types/components/post-template/swap-template-button.d.ts +1 -1
- package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
- package/build-types/components/post-text-editor/index.d.ts +1 -1
- package/build-types/components/post-text-editor/index.d.ts.map +1 -1
- package/build-types/components/post-title/constants.d.ts +2 -2
- package/build-types/components/post-title/constants.d.ts.map +1 -1
- package/build-types/components/post-title/index.d.ts +9 -1
- package/build-types/components/post-title/index.d.ts.map +1 -1
- package/build-types/components/post-title/post-title-raw.d.ts +1 -1
- package/build-types/components/post-title/use-post-title-focus.d.ts.map +1 -1
- package/build-types/components/post-title/use-post-title.d.ts.map +1 -1
- package/build-types/components/post-transform-panel/hooks.d.ts +1 -1
- package/build-types/components/post-transform-panel/hooks.d.ts.map +1 -1
- package/build-types/components/post-transform-panel/index.d.ts.map +1 -1
- package/build-types/components/post-trash/check.d.ts +2 -2
- package/build-types/components/post-trash/check.d.ts.map +1 -1
- package/build-types/components/post-trash/index.d.ts +1 -1
- package/build-types/components/post-trash/index.d.ts.map +1 -1
- package/build-types/components/post-type-support-check/index.d.ts +3 -3
- package/build-types/components/post-type-support-check/index.d.ts.map +1 -1
- package/build-types/components/post-url/check.d.ts +2 -2
- package/build-types/components/post-url/check.d.ts.map +1 -1
- package/build-types/components/post-url/index.d.ts +1 -1
- package/build-types/components/post-url/index.d.ts.map +1 -1
- package/build-types/components/post-url/label.d.ts +2 -2
- package/build-types/components/post-url/label.d.ts.map +1 -1
- package/build-types/components/post-url/panel.d.ts +1 -1
- package/build-types/components/post-url/panel.d.ts.map +1 -1
- package/build-types/components/post-view-link/index.d.ts.map +1 -1
- package/build-types/components/post-visibility/check.d.ts +1 -1
- package/build-types/components/post-visibility/check.d.ts.map +1 -1
- package/build-types/components/post-visibility/index.d.ts +1 -1
- package/build-types/components/post-visibility/index.d.ts.map +1 -1
- package/build-types/components/post-visibility/label.d.ts +1 -1
- package/build-types/components/post-visibility/label.d.ts.map +1 -1
- package/build-types/components/post-visibility/utils.d.ts +1 -1
- package/build-types/components/post-visibility/utils.d.ts.map +1 -1
- package/build-types/components/posts-per-page/index.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts +4 -5
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts.map +1 -1
- package/build-types/components/preferences-modal/index.d.ts +3 -0
- package/build-types/components/preferences-modal/index.d.ts.map +1 -1
- package/build-types/components/preview-dropdown/index.d.ts +1 -1
- package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
- package/build-types/components/provider/disable-non-page-content-blocks.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts +33 -33
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/provider/navigation-block-editing-mode.d.ts.map +1 -1
- package/build-types/components/provider/use-auto-switch-editor-sidebars.d.ts +1 -1
- package/build-types/components/provider/use-auto-switch-editor-sidebars.d.ts.map +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/components/provider/use-hide-blocks-from-inserter.d.ts +1 -1
- package/build-types/components/provider/use-hide-blocks-from-inserter.d.ts.map +1 -1
- package/build-types/components/provider/use-post-content-block-types.d.ts.map +1 -1
- package/build-types/components/provider/use-revision-blocks.d.ts +1 -1
- package/build-types/components/provider/use-revision-blocks.d.ts.map +1 -1
- package/build-types/components/provider/use-upload-save-lock.d.ts.map +1 -1
- package/build-types/components/provider/with-registry-provider.d.ts +1 -1
- package/build-types/components/provider/with-registry-provider.d.ts.map +1 -1
- package/build-types/components/resizable-editor/index.d.ts +2 -2
- package/build-types/components/resizable-editor/index.d.ts.map +1 -1
- package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
- package/build-types/components/revision-author-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-block-diff/index.d.ts.map +1 -1
- package/build-types/components/revision-created-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-diff-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-fields-diff/index.d.ts.map +1 -1
- package/build-types/components/save-publish-panels/index.d.ts +7 -7
- package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
- package/build-types/components/sidebar/constants.d.ts +4 -4
- package/build-types/components/sidebar/constants.d.ts.map +1 -1
- package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/header.d.ts +1 -1
- package/build-types/components/sidebar/index.d.ts +3 -3
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/build-types/components/sidebar/post-revision-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
- package/build-types/components/site-discussion/index.d.ts.map +1 -1
- package/build-types/components/start-page-options/index.d.ts +1 -1
- package/build-types/components/start-page-options/index.d.ts.map +1 -1
- package/build-types/components/start-template-options/index.d.ts.map +1 -1
- package/build-types/components/style-book/categories.d.ts +3 -0
- package/build-types/components/style-book/categories.d.ts.map +1 -1
- package/build-types/components/style-book/color-examples.d.ts.map +1 -1
- package/build-types/components/style-book/duotone-examples.d.ts.map +1 -1
- package/build-types/components/style-book/index.d.ts +19 -8
- package/build-types/components/style-book/index.d.ts.map +1 -1
- package/build-types/components/styles-canvas/index.d.ts +2 -2
- package/build-types/components/styles-canvas/index.d.ts.map +1 -1
- package/build-types/components/styles-canvas/revisions.d.ts +1 -1
- package/build-types/components/styles-canvas/style-book.d.ts +1 -1
- package/build-types/components/table-of-contents/index.d.ts +11 -1
- package/build-types/components/table-of-contents/index.d.ts.map +1 -1
- package/build-types/components/table-of-contents/panel.d.ts +1 -1
- package/build-types/components/table-of-contents/panel.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/block-theme-content.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/classic-theme-content.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/index.d.ts.map +1 -1
- package/build-types/components/template-content-panel/index.d.ts.map +1 -1
- package/build-types/components/template-part-content-panel/index.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/convert-to-template-part.d.ts +1 -1
- package/build-types/components/template-part-menu-items/convert-to-template-part.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/index.d.ts.map +1 -1
- package/build-types/components/template-validation-notice/index.d.ts.map +1 -1
- package/build-types/components/text-editor/index.d.ts.map +1 -1
- package/build-types/components/theme-support-check/index.d.ts +2 -2
- package/build-types/components/theme-support-check/index.d.ts.map +1 -1
- package/build-types/components/time-to-read/index.d.ts +1 -1
- package/build-types/components/time-to-read/index.d.ts.map +1 -1
- package/build-types/components/unsaved-changes-warning/index.d.ts +1 -1
- package/build-types/components/unsaved-changes-warning/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/edit-template-blocks-notification.d.ts +1 -1
- package/build-types/components/visual-editor/edit-template-blocks-notification.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts +4 -4
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-edit-content-only-section-exit.d.ts +1 -1
- package/build-types/components/visual-editor/use-edit-content-only-section-exit.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-padding-appender.d.ts +1 -1
- package/build-types/components/visual-editor/use-padding-appender.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-select-nearest-editable-block.d.ts +1 -1
- package/build-types/components/visual-editor/use-select-nearest-editable-block.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts +1 -1
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts.map +1 -1
- package/build-types/components/word-count/index.d.ts +1 -1
- package/build-types/components/word-count/index.d.ts.map +1 -1
- package/build-types/components/zoom-out-toggle/index.d.ts +3 -3
- package/build-types/components/zoom-out-toggle/index.d.ts.map +1 -1
- package/build-types/dataviews/api.d.ts +6 -6
- package/build-types/dataviews/api.d.ts.map +1 -1
- package/build-types/dataviews/fields/content-preview/index.d.ts.map +1 -1
- package/build-types/dataviews/store/private-actions.d.ts +5 -5
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +2 -2
- package/build-types/dataviews/store/reducer.d.ts.map +1 -1
- package/build-types/hooks/custom-sources-backwards-compatibility.d.ts +3 -9
- package/build-types/hooks/custom-sources-backwards-compatibility.d.ts.map +1 -1
- package/build-types/hooks/index.d.ts +10 -1
- package/build-types/hooks/index.d.ts.map +1 -1
- package/build-types/hooks/pattern-overrides.d.ts +1 -1
- package/build-types/hooks/pattern-overrides.d.ts.map +1 -1
- package/build-types/hooks/use-global-styles-output.d.ts +2 -2
- package/build-types/hooks/use-global-styles-output.d.ts.map +1 -1
- package/build-types/index.d.ts +10 -5
- package/build-types/index.d.ts.map +1 -1
- package/build-types/lock-unlock.d.ts +1 -2
- package/build-types/lock-unlock.d.ts.map +1 -1
- package/build-types/private-apis.d.ts +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/actions.d.ts +330 -116
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/constants.d.ts.map +1 -1
- package/build-types/store/defaults.d.ts +1 -1
- package/build-types/store/defaults.d.ts.map +1 -1
- package/build-types/store/index.d.ts +77 -9
- package/build-types/store/index.d.ts.map +1 -1
- package/build-types/store/local-autosave.d.ts +3 -3
- package/build-types/store/local-autosave.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts +106 -46
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts +96 -68
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +47 -52
- package/build-types/store/reducer.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +422 -429
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/store/utils/is-template-revertable.d.ts.map +1 -1
- package/build-types/store/utils/notice-builder.d.ts +3 -3
- package/build-types/store/utils/notice-builder.d.ts.map +1 -1
- package/build-types/utils/get-item-title.d.ts +1 -1
- package/build-types/utils/get-item-title.d.ts.map +1 -1
- package/build-types/utils/get-template-info.d.ts +11 -4
- package/build-types/utils/get-template-info.d.ts.map +1 -1
- package/build-types/utils/get-template-part-icon.d.ts +1 -1
- package/build-types/utils/get-template-part-icon.d.ts.map +1 -1
- package/build-types/utils/index.d.ts +6 -3
- package/build-types/utils/index.d.ts.map +1 -1
- package/build-types/utils/media-finalize/index.d.ts.map +1 -1
- package/build-types/utils/media-sideload/index.d.ts +1 -1
- package/build-types/utils/media-sideload/index.d.ts.map +1 -1
- package/build-types/utils/media-upload/index.d.ts +1 -1
- package/build-types/utils/media-upload/index.d.ts.map +1 -1
- package/build-types/utils/media-upload/on-success.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -1
- package/build-types/utils/search-templates.d.ts +1 -1
- package/build-types/utils/search-templates.d.ts.map +1 -1
- package/build-types/utils/set-nested-value.d.ts.map +1 -1
- package/build-types/utils/terms.d.ts +19 -4
- package/build-types/utils/terms.d.ts.map +1 -1
- package/build-types/utils/url.d.ts +1 -1
- package/build-types/utils/url.d.ts.map +1 -1
- package/package.json +48 -48
- package/src/components/block-visibility/style.scss +2 -2
- package/src/components/collab-sidebar/index.js +48 -36
- package/src/components/collab-sidebar/note-thread.js +28 -10
- package/src/components/collab-sidebar/notes.js +9 -6
- package/src/components/collab-sidebar/style.scss +4 -0
- package/src/components/collab-sidebar/utils.js +41 -14
- package/src/components/collaborators-presence/index.tsx +0 -2
- package/src/components/collaborators-presence/list.tsx +0 -2
- package/src/components/post-last-revision/index.js +5 -0
- package/src/components/post-publish-panel/index.js +149 -156
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +11 -26
- package/src/components/post-publish-panel/test/index.js +41 -23
- package/src/components/post-revisions-preview/block-diff.js +165 -41
- package/src/components/post-revisions-preview/diff-markers.js +12 -9
- package/src/components/post-revisions-preview/revisions-slider.js +130 -71
- package/src/components/post-revisions-preview/style.scss +3 -3
- package/src/components/post-revisions-preview/test/block-diff.js +133 -4
- package/src/components/post-template/style.scss +1 -1
- package/src/components/start-page-options/style.scss +2 -2
- package/src/components/start-template-options/style.scss +2 -2
- package/src/store/private-actions.js +34 -0
- package/src/store/private-selectors.js +127 -51
- package/src/store/reducer.js +21 -0
- package/src/store/selectors.js +6 -0
- package/src/store/test/private-selectors.js +107 -1
- package/src/style.scss +2 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns an action generator used in signalling that editor has initialized with
|
|
3
|
+
* the specified post object and editor settings.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} post Post object.
|
|
6
|
+
* @param {Object} edits Initial edited attributes object.
|
|
7
|
+
* @param {Array} [template] Block Template.
|
|
8
|
+
*/
|
|
9
|
+
export declare const setupEditor: (post: Object, edits: Object, template?: Array) => ({ dispatch }: {
|
|
10
|
+
dispatch: any;
|
|
11
|
+
}) => void;
|
|
1
12
|
/**
|
|
2
13
|
* Returns an action object signalling that the editor is being destroyed and
|
|
3
14
|
* that any necessary state or side-effect cleanup should occur.
|
|
@@ -6,14 +17,14 @@
|
|
|
6
17
|
*
|
|
7
18
|
* @return {Object} Action object.
|
|
8
19
|
*/
|
|
9
|
-
export function __experimentalTearDownEditor(): Object;
|
|
20
|
+
export declare function __experimentalTearDownEditor(): Object;
|
|
10
21
|
/**
|
|
11
22
|
* Returns an action object used in signalling that the latest version of the
|
|
12
23
|
* post has been received, either by initialization or save.
|
|
13
24
|
*
|
|
14
25
|
* @deprecated Since WordPress 6.0.
|
|
15
26
|
*/
|
|
16
|
-
export function resetPost(): {
|
|
27
|
+
export declare function resetPost(): {
|
|
17
28
|
type: string;
|
|
18
29
|
};
|
|
19
30
|
/**
|
|
@@ -23,7 +34,7 @@ export function resetPost(): {
|
|
|
23
34
|
* @return {Object} Action object.
|
|
24
35
|
* @deprecated since Gutenberg 9.7.0.
|
|
25
36
|
*/
|
|
26
|
-
export function updatePost(): Object;
|
|
37
|
+
export declare function updatePost(): Object;
|
|
27
38
|
/**
|
|
28
39
|
* Setup the editor state.
|
|
29
40
|
*
|
|
@@ -31,7 +42,7 @@ export function updatePost(): Object;
|
|
|
31
42
|
*
|
|
32
43
|
* @param {Object} post Post object.
|
|
33
44
|
*/
|
|
34
|
-
export function setupEditorState(post: Object): Object;
|
|
45
|
+
export declare function setupEditorState(post: Object): Object;
|
|
35
46
|
/**
|
|
36
47
|
* Returns an action that sets the current post Type and post ID.
|
|
37
48
|
*
|
|
@@ -40,21 +51,93 @@ export function setupEditorState(post: Object): Object;
|
|
|
40
51
|
*
|
|
41
52
|
* @return {Object} Action object.
|
|
42
53
|
*/
|
|
43
|
-
export function setEditedPost(postType: string, postId: string): Object;
|
|
54
|
+
export declare function setEditedPost(postType: string, postId: string): Object;
|
|
55
|
+
/**
|
|
56
|
+
* Returns an action object used in signalling that attributes of the post have
|
|
57
|
+
* been edited.
|
|
58
|
+
*
|
|
59
|
+
* @param {Object} edits Post attributes to edit.
|
|
60
|
+
* @param {Object} [options] Options for the edit.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```js
|
|
64
|
+
* // Update the post title
|
|
65
|
+
* wp.data.dispatch( 'core/editor' ).editPost( { title: `${ newTitle }` } );
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @return {Object} Action object
|
|
69
|
+
*/
|
|
70
|
+
export declare const editPost: (edits: Object, options?: Object) => Object;
|
|
71
|
+
/**
|
|
72
|
+
* Action for saving the current post in the editor.
|
|
73
|
+
*
|
|
74
|
+
* @param {Object} [options]
|
|
75
|
+
*/
|
|
76
|
+
export declare const savePost: (options?: Object) => ({ select, dispatch, registry }: {
|
|
77
|
+
dispatch: any;
|
|
78
|
+
registry: any;
|
|
79
|
+
select: any;
|
|
80
|
+
}) => Promise<void>;
|
|
44
81
|
/**
|
|
45
82
|
* Action for refreshing the current post.
|
|
46
83
|
*
|
|
47
84
|
* @deprecated Since WordPress 6.0.
|
|
48
85
|
*/
|
|
49
|
-
export function refreshPost(): {
|
|
86
|
+
export declare function refreshPost(): {
|
|
50
87
|
type: string;
|
|
51
88
|
};
|
|
89
|
+
/**
|
|
90
|
+
* Action for trashing the current post in the editor.
|
|
91
|
+
*/
|
|
92
|
+
export declare const trashPost: () => ({ select, dispatch, registry }: {
|
|
93
|
+
dispatch: any;
|
|
94
|
+
registry: any;
|
|
95
|
+
select: any;
|
|
96
|
+
}) => Promise<void>;
|
|
97
|
+
/**
|
|
98
|
+
* Action that autosaves the current post. This
|
|
99
|
+
* includes server-side autosaving (default) and client-side (a.k.a. local)
|
|
100
|
+
* autosaving (e.g. on the Web, the post might be committed to Session
|
|
101
|
+
* Storage).
|
|
102
|
+
*
|
|
103
|
+
* @param {Object} [options] Extra flags to identify the autosave.
|
|
104
|
+
* @param {boolean} [options.local] Whether to perform a local autosave.
|
|
105
|
+
*/
|
|
106
|
+
export declare const autosave: ({ local, ...options }?: {
|
|
107
|
+
local?: boolean;
|
|
108
|
+
}) => ({ select, dispatch }: {
|
|
109
|
+
dispatch: any;
|
|
110
|
+
select: any;
|
|
111
|
+
}) => Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Save for preview.
|
|
114
|
+
*
|
|
115
|
+
* @param {Object} options Options object.
|
|
116
|
+
* @param {boolean} options.forceIsAutosaveable Whether to force the post to be autosaveable.
|
|
117
|
+
*
|
|
118
|
+
* @return {Function} Thunk that saves for preview and returns the preview link.
|
|
119
|
+
*/
|
|
120
|
+
export declare const __unstableSaveForPreview: ({ forceIsAutosaveable }?: {
|
|
121
|
+
forceIsAutosaveable: boolean;
|
|
122
|
+
}) => Function;
|
|
123
|
+
/**
|
|
124
|
+
* Action that restores last popped state in undo history.
|
|
125
|
+
*/
|
|
126
|
+
export declare const redo: () => ({ registry }: {
|
|
127
|
+
registry: any;
|
|
128
|
+
}) => void;
|
|
129
|
+
/**
|
|
130
|
+
* Action that pops a record from undo history and undoes the edit.
|
|
131
|
+
*/
|
|
132
|
+
export declare const undo: () => ({ registry }: {
|
|
133
|
+
registry: any;
|
|
134
|
+
}) => void;
|
|
52
135
|
/**
|
|
53
136
|
* Action that creates an undo history record.
|
|
54
137
|
*
|
|
55
138
|
* @deprecated Since WordPress 6.0
|
|
56
139
|
*/
|
|
57
|
-
export function createUndoLevel(): {
|
|
140
|
+
export declare function createUndoLevel(): {
|
|
58
141
|
type: string;
|
|
59
142
|
};
|
|
60
143
|
/**
|
|
@@ -63,7 +146,19 @@ export function createUndoLevel(): {
|
|
|
63
146
|
* @param {Object} lock Details about the post lock status, user, and nonce.
|
|
64
147
|
* @return {Object} Action object.
|
|
65
148
|
*/
|
|
66
|
-
export function updatePostLock(lock: Object): Object;
|
|
149
|
+
export declare function updatePostLock(lock: Object): Object;
|
|
150
|
+
/**
|
|
151
|
+
* Enable the publish sidebar.
|
|
152
|
+
*/
|
|
153
|
+
export declare const enablePublishSidebar: () => ({ registry }: {
|
|
154
|
+
registry: any;
|
|
155
|
+
}) => void;
|
|
156
|
+
/**
|
|
157
|
+
* Disables the publish sidebar.
|
|
158
|
+
*/
|
|
159
|
+
export declare const disablePublishSidebar: () => ({ registry }: {
|
|
160
|
+
registry: any;
|
|
161
|
+
}) => void;
|
|
67
162
|
/**
|
|
68
163
|
* Action that locks post saving.
|
|
69
164
|
*
|
|
@@ -107,7 +202,7 @@ export function updatePostLock(lock: Object): Object;
|
|
|
107
202
|
*
|
|
108
203
|
* @return {Object} Action object
|
|
109
204
|
*/
|
|
110
|
-
export function lockPostSaving(lockName: string): Object;
|
|
205
|
+
export declare function lockPostSaving(lockName: string): Object;
|
|
111
206
|
/**
|
|
112
207
|
* Action that unlocks post saving.
|
|
113
208
|
*
|
|
@@ -121,7 +216,7 @@ export function lockPostSaving(lockName: string): Object;
|
|
|
121
216
|
*
|
|
122
217
|
* @return {Object} Action object
|
|
123
218
|
*/
|
|
124
|
-
export function unlockPostSaving(lockName: string): Object;
|
|
219
|
+
export declare function unlockPostSaving(lockName: string): Object;
|
|
125
220
|
/**
|
|
126
221
|
* Action that locks post autosaving.
|
|
127
222
|
*
|
|
@@ -135,7 +230,7 @@ export function unlockPostSaving(lockName: string): Object;
|
|
|
135
230
|
*
|
|
136
231
|
* @return {Object} Action object
|
|
137
232
|
*/
|
|
138
|
-
export function lockPostAutosaving(lockName: string): Object;
|
|
233
|
+
export declare function lockPostAutosaving(lockName: string): Object;
|
|
139
234
|
/**
|
|
140
235
|
* Action that unlocks post autosaving.
|
|
141
236
|
*
|
|
@@ -149,11 +244,35 @@ export function lockPostAutosaving(lockName: string): Object;
|
|
|
149
244
|
*
|
|
150
245
|
* @return {Object} Action object
|
|
151
246
|
*/
|
|
152
|
-
export function unlockPostAutosaving(lockName: string): Object;
|
|
153
|
-
|
|
247
|
+
export declare function unlockPostAutosaving(lockName: string): Object;
|
|
248
|
+
/**
|
|
249
|
+
* Returns an action object used to signal that the blocks have been updated.
|
|
250
|
+
*
|
|
251
|
+
* @param {Array} blocks Block Array.
|
|
252
|
+
* @param {Object} [options] Optional options.
|
|
253
|
+
*/
|
|
254
|
+
export declare const resetEditorBlocks: (blocks: Array, options?: Object) => ({ select, dispatch, registry }: {
|
|
255
|
+
dispatch: any;
|
|
256
|
+
registry: any;
|
|
257
|
+
select: any;
|
|
258
|
+
}) => void;
|
|
259
|
+
export declare function updateEditorSettings(settings: any): {
|
|
154
260
|
type: string;
|
|
155
261
|
settings: any;
|
|
156
262
|
};
|
|
263
|
+
/**
|
|
264
|
+
* Returns an action used to set the rendering mode of the post editor. We support multiple rendering modes:
|
|
265
|
+
*
|
|
266
|
+
* - `post-only`: This mode extracts the post blocks from the template and renders only those. The idea is to allow the user to edit the post/page in isolation without the wrapping template.
|
|
267
|
+
* - `template-locked`: This mode renders both the template and the post blocks but the template blocks are locked and can't be edited. The post blocks are editable.
|
|
268
|
+
*
|
|
269
|
+
* @param {string} mode Mode (one of 'post-only' or 'template-locked').
|
|
270
|
+
*/
|
|
271
|
+
export declare const setRenderingMode: (mode: string) => ({ dispatch, registry, select }: {
|
|
272
|
+
dispatch: any;
|
|
273
|
+
registry: any;
|
|
274
|
+
select: any;
|
|
275
|
+
}) => void;
|
|
157
276
|
/**
|
|
158
277
|
* Action that changes the width of the editing canvas.
|
|
159
278
|
*
|
|
@@ -161,7 +280,23 @@ export function updateEditorSettings(settings: any): {
|
|
|
161
280
|
*
|
|
162
281
|
* @return {Object} Action object.
|
|
163
282
|
*/
|
|
164
|
-
export function setDeviceType(deviceType: string): Object;
|
|
283
|
+
export declare function setDeviceType(deviceType: string): Object;
|
|
284
|
+
/**
|
|
285
|
+
* Returns an action object used to enable or disable a panel in the editor.
|
|
286
|
+
*
|
|
287
|
+
* @param {string} panelName A string that identifies the panel to enable or disable.
|
|
288
|
+
*
|
|
289
|
+
* @return {Object} Action object.
|
|
290
|
+
*/
|
|
291
|
+
export declare const toggleEditorPanelEnabled: (panelName: string) => Object;
|
|
292
|
+
/**
|
|
293
|
+
* Opens a closed panel and closes an open panel.
|
|
294
|
+
*
|
|
295
|
+
* @param {string} panelName A string that identifies the panel to open or close.
|
|
296
|
+
*/
|
|
297
|
+
export declare const toggleEditorPanelOpened: (panelName: string) => ({ registry }: {
|
|
298
|
+
registry: any;
|
|
299
|
+
}) => void;
|
|
165
300
|
/**
|
|
166
301
|
* Returns an action object used to remove a panel from the editor.
|
|
167
302
|
*
|
|
@@ -169,191 +304,270 @@ export function setDeviceType(deviceType: string): Object;
|
|
|
169
304
|
*
|
|
170
305
|
* @return {Object} Action object.
|
|
171
306
|
*/
|
|
172
|
-
export function removeEditorPanel(panelName: string): Object;
|
|
307
|
+
export declare function removeEditorPanel(panelName: string): Object;
|
|
308
|
+
/**
|
|
309
|
+
* Returns an action object used to open/close the inserter.
|
|
310
|
+
*
|
|
311
|
+
* @param {boolean|Object} value Whether the inserter should be
|
|
312
|
+
* opened (true) or closed (false).
|
|
313
|
+
* To specify an insertion point,
|
|
314
|
+
* use an object.
|
|
315
|
+
* @param {string} value.rootClientId The root client ID to insert at.
|
|
316
|
+
* @param {number} value.insertionIndex The index to insert at.
|
|
317
|
+
* @param {string} value.filterValue A query to filter the inserter results.
|
|
318
|
+
* @param {Function} value.onSelect A callback when an item is selected.
|
|
319
|
+
* @param {string} value.tab The tab to open in the inserter.
|
|
320
|
+
* @param {string} value.category The category to initialize in the inserter.
|
|
321
|
+
*
|
|
322
|
+
* @return {Object} Action object.
|
|
323
|
+
*/
|
|
324
|
+
export declare const setIsInserterOpened: (value: boolean | Object) => Object;
|
|
173
325
|
/**
|
|
174
326
|
* Returns an action object used to open/close the list view.
|
|
175
327
|
*
|
|
176
328
|
* @param {boolean} isOpen A boolean representing whether the list view should be opened or closed.
|
|
177
329
|
* @return {Object} Action object.
|
|
178
330
|
*/
|
|
179
|
-
export function setIsListViewOpened(isOpen: boolean): Object;
|
|
331
|
+
export declare function setIsListViewOpened(isOpen: boolean): Object;
|
|
332
|
+
/**
|
|
333
|
+
* Action that toggles Distraction free mode.
|
|
334
|
+
* Distraction free mode expects there are no sidebars, as due to the
|
|
335
|
+
* z-index values set, you can't close sidebars.
|
|
336
|
+
*
|
|
337
|
+
* @param {Object} [options={}] Optional configuration object
|
|
338
|
+
* @param {boolean} [options.createNotice=true] Whether to create a notice
|
|
339
|
+
*/
|
|
340
|
+
export declare const toggleDistractionFree: ({ createNotice }?: {
|
|
341
|
+
createNotice?: boolean;
|
|
342
|
+
}) => ({ dispatch, registry }: {
|
|
343
|
+
dispatch: any;
|
|
344
|
+
registry: any;
|
|
345
|
+
}) => void;
|
|
346
|
+
/**
|
|
347
|
+
* Action that toggles the Spotlight Mode view option.
|
|
348
|
+
*/
|
|
349
|
+
export declare const toggleSpotlightMode: () => ({ registry }: {
|
|
350
|
+
registry: any;
|
|
351
|
+
}) => void;
|
|
352
|
+
/**
|
|
353
|
+
* Action that toggles the Top Toolbar view option.
|
|
354
|
+
*/
|
|
355
|
+
export declare const toggleTopToolbar: () => ({ registry }: {
|
|
356
|
+
registry: any;
|
|
357
|
+
}) => void;
|
|
358
|
+
/**
|
|
359
|
+
* Triggers an action used to switch editor mode.
|
|
360
|
+
*
|
|
361
|
+
* @param {string} mode The editor mode.
|
|
362
|
+
*/
|
|
363
|
+
export declare const switchEditorMode: (mode: string) => ({ dispatch, registry }: {
|
|
364
|
+
dispatch: any;
|
|
365
|
+
registry: any;
|
|
366
|
+
}) => void;
|
|
180
367
|
/**
|
|
181
368
|
* Returns an action object used in signalling that the user opened the publish
|
|
182
369
|
* sidebar.
|
|
183
370
|
*
|
|
184
371
|
* @return {Object} Action object
|
|
185
372
|
*/
|
|
186
|
-
export function openPublishSidebar(): Object;
|
|
373
|
+
export declare function openPublishSidebar(): Object;
|
|
187
374
|
/**
|
|
188
375
|
* Returns an action object used in signalling that the user closed the
|
|
189
376
|
* publish sidebar.
|
|
190
377
|
*
|
|
191
378
|
* @return {Object} Action object.
|
|
192
379
|
*/
|
|
193
|
-
export function closePublishSidebar(): Object;
|
|
380
|
+
export declare function closePublishSidebar(): Object;
|
|
194
381
|
/**
|
|
195
382
|
* Returns an action object used in signalling that the user toggles the publish sidebar.
|
|
196
383
|
*
|
|
197
384
|
* @return {Object} Action object
|
|
198
385
|
*/
|
|
199
|
-
export function togglePublishSidebar(): Object;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
export
|
|
204
|
-
export function savePost(options?: Object): ({ select, dispatch, registry }: {
|
|
205
|
-
select: any;
|
|
206
|
-
dispatch: any;
|
|
207
|
-
registry: any;
|
|
208
|
-
}) => Promise<void>;
|
|
209
|
-
export function trashPost(): ({ select, dispatch, registry }: {
|
|
210
|
-
select: any;
|
|
211
|
-
dispatch: any;
|
|
212
|
-
registry: any;
|
|
213
|
-
}) => Promise<void>;
|
|
214
|
-
export function autosave({ local, ...options }?: {
|
|
215
|
-
local?: boolean | undefined;
|
|
216
|
-
}): ({ select, dispatch }: {
|
|
217
|
-
select: any;
|
|
218
|
-
dispatch: any;
|
|
219
|
-
}) => Promise<void>;
|
|
220
|
-
export function __unstableSaveForPreview({ forceIsAutosaveable }?: {
|
|
221
|
-
forceIsAutosaveable: boolean;
|
|
222
|
-
}): Function;
|
|
223
|
-
export function redo(): ({ registry }: {
|
|
224
|
-
registry: any;
|
|
225
|
-
}) => void;
|
|
226
|
-
export function undo(): ({ registry }: {
|
|
227
|
-
registry: any;
|
|
228
|
-
}) => void;
|
|
229
|
-
export function enablePublishSidebar(): ({ registry }: {
|
|
230
|
-
registry: any;
|
|
231
|
-
}) => void;
|
|
232
|
-
export function disablePublishSidebar(): ({ registry }: {
|
|
233
|
-
registry: any;
|
|
234
|
-
}) => void;
|
|
235
|
-
export function resetEditorBlocks(blocks: any[], options?: Object): ({ select, dispatch, registry }: {
|
|
236
|
-
select: any;
|
|
237
|
-
dispatch: any;
|
|
238
|
-
registry: any;
|
|
239
|
-
}) => void;
|
|
240
|
-
export function setRenderingMode(mode: string): ({ dispatch, registry, select }: {
|
|
241
|
-
dispatch: any;
|
|
242
|
-
registry: any;
|
|
243
|
-
select: any;
|
|
244
|
-
}) => void;
|
|
245
|
-
export function toggleEditorPanelEnabled(panelName: string): Object;
|
|
246
|
-
export function toggleEditorPanelOpened(panelName: string): ({ registry }: {
|
|
247
|
-
registry: any;
|
|
248
|
-
}) => void;
|
|
249
|
-
export function setIsInserterOpened(value: boolean | Object): Object;
|
|
250
|
-
export function toggleDistractionFree({ createNotice }?: {
|
|
251
|
-
createNotice?: boolean | undefined;
|
|
252
|
-
}): ({ dispatch, registry }: {
|
|
253
|
-
dispatch: any;
|
|
254
|
-
registry: any;
|
|
255
|
-
}) => void;
|
|
256
|
-
export function toggleSpotlightMode(): ({ registry }: {
|
|
257
|
-
registry: any;
|
|
258
|
-
}) => void;
|
|
259
|
-
export function toggleTopToolbar(): ({ registry }: {
|
|
260
|
-
registry: any;
|
|
261
|
-
}) => void;
|
|
262
|
-
export function switchEditorMode(mode: string): ({ dispatch, registry }: {
|
|
263
|
-
dispatch: any;
|
|
264
|
-
registry: any;
|
|
265
|
-
}) => void;
|
|
266
|
-
export function resetBlocks(...args: any[]): ({ registry }: {
|
|
386
|
+
export declare function togglePublishSidebar(): Object;
|
|
387
|
+
/**
|
|
388
|
+
* @see resetBlocks in core/block-editor store.
|
|
389
|
+
*/
|
|
390
|
+
export declare const resetBlocks: (...args: any[]) => ({ registry }: {
|
|
267
391
|
registry: any;
|
|
268
392
|
}) => void;
|
|
269
|
-
|
|
393
|
+
/**
|
|
394
|
+
* @see receiveBlocks in core/block-editor store.
|
|
395
|
+
*/
|
|
396
|
+
export declare const receiveBlocks: (...args: any[]) => ({ registry }: {
|
|
270
397
|
registry: any;
|
|
271
398
|
}) => void;
|
|
272
|
-
|
|
399
|
+
/**
|
|
400
|
+
* @see updateBlock in core/block-editor store.
|
|
401
|
+
*/
|
|
402
|
+
export declare const updateBlock: (...args: any[]) => ({ registry }: {
|
|
273
403
|
registry: any;
|
|
274
404
|
}) => void;
|
|
275
|
-
|
|
405
|
+
/**
|
|
406
|
+
* @see updateBlockAttributes in core/block-editor store.
|
|
407
|
+
*/
|
|
408
|
+
export declare const updateBlockAttributes: (...args: any[]) => ({ registry }: {
|
|
276
409
|
registry: any;
|
|
277
410
|
}) => void;
|
|
278
|
-
|
|
411
|
+
/**
|
|
412
|
+
* @see selectBlock in core/block-editor store.
|
|
413
|
+
*/
|
|
414
|
+
export declare const selectBlock: (...args: any[]) => ({ registry }: {
|
|
279
415
|
registry: any;
|
|
280
416
|
}) => void;
|
|
281
|
-
|
|
417
|
+
/**
|
|
418
|
+
* @see startMultiSelect in core/block-editor store.
|
|
419
|
+
*/
|
|
420
|
+
export declare const startMultiSelect: (...args: any[]) => ({ registry }: {
|
|
282
421
|
registry: any;
|
|
283
422
|
}) => void;
|
|
284
|
-
|
|
423
|
+
/**
|
|
424
|
+
* @see stopMultiSelect in core/block-editor store.
|
|
425
|
+
*/
|
|
426
|
+
export declare const stopMultiSelect: (...args: any[]) => ({ registry }: {
|
|
285
427
|
registry: any;
|
|
286
428
|
}) => void;
|
|
287
|
-
|
|
429
|
+
/**
|
|
430
|
+
* @see multiSelect in core/block-editor store.
|
|
431
|
+
*/
|
|
432
|
+
export declare const multiSelect: (...args: any[]) => ({ registry }: {
|
|
288
433
|
registry: any;
|
|
289
434
|
}) => void;
|
|
290
|
-
|
|
435
|
+
/**
|
|
436
|
+
* @see clearSelectedBlock in core/block-editor store.
|
|
437
|
+
*/
|
|
438
|
+
export declare const clearSelectedBlock: (...args: any[]) => ({ registry }: {
|
|
291
439
|
registry: any;
|
|
292
440
|
}) => void;
|
|
293
|
-
|
|
441
|
+
/**
|
|
442
|
+
* @see toggleSelection in core/block-editor store.
|
|
443
|
+
*/
|
|
444
|
+
export declare const toggleSelection: (...args: any[]) => ({ registry }: {
|
|
294
445
|
registry: any;
|
|
295
446
|
}) => void;
|
|
296
|
-
|
|
447
|
+
/**
|
|
448
|
+
* @see replaceBlocks in core/block-editor store.
|
|
449
|
+
*/
|
|
450
|
+
export declare const replaceBlocks: (...args: any[]) => ({ registry }: {
|
|
297
451
|
registry: any;
|
|
298
452
|
}) => void;
|
|
299
|
-
|
|
453
|
+
/**
|
|
454
|
+
* @see replaceBlock in core/block-editor store.
|
|
455
|
+
*/
|
|
456
|
+
export declare const replaceBlock: (...args: any[]) => ({ registry }: {
|
|
300
457
|
registry: any;
|
|
301
458
|
}) => void;
|
|
302
|
-
|
|
459
|
+
/**
|
|
460
|
+
* @see moveBlocksDown in core/block-editor store.
|
|
461
|
+
*/
|
|
462
|
+
export declare const moveBlocksDown: (...args: any[]) => ({ registry }: {
|
|
303
463
|
registry: any;
|
|
304
464
|
}) => void;
|
|
305
|
-
|
|
465
|
+
/**
|
|
466
|
+
* @see moveBlocksUp in core/block-editor store.
|
|
467
|
+
*/
|
|
468
|
+
export declare const moveBlocksUp: (...args: any[]) => ({ registry }: {
|
|
306
469
|
registry: any;
|
|
307
470
|
}) => void;
|
|
308
|
-
|
|
471
|
+
/**
|
|
472
|
+
* @see moveBlockToPosition in core/block-editor store.
|
|
473
|
+
*/
|
|
474
|
+
export declare const moveBlockToPosition: (...args: any[]) => ({ registry }: {
|
|
309
475
|
registry: any;
|
|
310
476
|
}) => void;
|
|
311
|
-
|
|
477
|
+
/**
|
|
478
|
+
* @see insertBlock in core/block-editor store.
|
|
479
|
+
*/
|
|
480
|
+
export declare const insertBlock: (...args: any[]) => ({ registry }: {
|
|
312
481
|
registry: any;
|
|
313
482
|
}) => void;
|
|
314
|
-
|
|
483
|
+
/**
|
|
484
|
+
* @see insertBlocks in core/block-editor store.
|
|
485
|
+
*/
|
|
486
|
+
export declare const insertBlocks: (...args: any[]) => ({ registry }: {
|
|
315
487
|
registry: any;
|
|
316
488
|
}) => void;
|
|
317
|
-
|
|
489
|
+
/**
|
|
490
|
+
* @see showInsertionPoint in core/block-editor store.
|
|
491
|
+
*/
|
|
492
|
+
export declare const showInsertionPoint: (...args: any[]) => ({ registry }: {
|
|
318
493
|
registry: any;
|
|
319
494
|
}) => void;
|
|
320
|
-
|
|
495
|
+
/**
|
|
496
|
+
* @see hideInsertionPoint in core/block-editor store.
|
|
497
|
+
*/
|
|
498
|
+
export declare const hideInsertionPoint: (...args: any[]) => ({ registry }: {
|
|
321
499
|
registry: any;
|
|
322
500
|
}) => void;
|
|
323
|
-
|
|
501
|
+
/**
|
|
502
|
+
* @see setTemplateValidity in core/block-editor store.
|
|
503
|
+
*/
|
|
504
|
+
export declare const setTemplateValidity: (...args: any[]) => ({ registry }: {
|
|
324
505
|
registry: any;
|
|
325
506
|
}) => void;
|
|
326
|
-
|
|
507
|
+
/**
|
|
508
|
+
* @see synchronizeTemplate in core/block-editor store.
|
|
509
|
+
*/
|
|
510
|
+
export declare const synchronizeTemplate: (...args: any[]) => ({ registry }: {
|
|
327
511
|
registry: any;
|
|
328
512
|
}) => void;
|
|
329
|
-
|
|
513
|
+
/**
|
|
514
|
+
* @see mergeBlocks in core/block-editor store.
|
|
515
|
+
*/
|
|
516
|
+
export declare const mergeBlocks: (...args: any[]) => ({ registry }: {
|
|
330
517
|
registry: any;
|
|
331
518
|
}) => void;
|
|
332
|
-
|
|
519
|
+
/**
|
|
520
|
+
* @see removeBlocks in core/block-editor store.
|
|
521
|
+
*/
|
|
522
|
+
export declare const removeBlocks: (...args: any[]) => ({ registry }: {
|
|
333
523
|
registry: any;
|
|
334
524
|
}) => void;
|
|
335
|
-
|
|
525
|
+
/**
|
|
526
|
+
* @see removeBlock in core/block-editor store.
|
|
527
|
+
*/
|
|
528
|
+
export declare const removeBlock: (...args: any[]) => ({ registry }: {
|
|
336
529
|
registry: any;
|
|
337
530
|
}) => void;
|
|
338
|
-
|
|
531
|
+
/**
|
|
532
|
+
* @see toggleBlockMode in core/block-editor store.
|
|
533
|
+
*/
|
|
534
|
+
export declare const toggleBlockMode: (...args: any[]) => ({ registry }: {
|
|
339
535
|
registry: any;
|
|
340
536
|
}) => void;
|
|
341
|
-
|
|
537
|
+
/**
|
|
538
|
+
* @see startTyping in core/block-editor store.
|
|
539
|
+
*/
|
|
540
|
+
export declare const startTyping: (...args: any[]) => ({ registry }: {
|
|
342
541
|
registry: any;
|
|
343
542
|
}) => void;
|
|
344
|
-
|
|
543
|
+
/**
|
|
544
|
+
* @see stopTyping in core/block-editor store.
|
|
545
|
+
*/
|
|
546
|
+
export declare const stopTyping: (...args: any[]) => ({ registry }: {
|
|
345
547
|
registry: any;
|
|
346
548
|
}) => void;
|
|
347
|
-
|
|
549
|
+
/**
|
|
550
|
+
* @see enterFormattedText in core/block-editor store.
|
|
551
|
+
*/
|
|
552
|
+
export declare const enterFormattedText: (...args: any[]) => ({ registry }: {
|
|
348
553
|
registry: any;
|
|
349
554
|
}) => void;
|
|
350
|
-
|
|
555
|
+
/**
|
|
556
|
+
* @see exitFormattedText in core/block-editor store.
|
|
557
|
+
*/
|
|
558
|
+
export declare const exitFormattedText: (...args: any[]) => ({ registry }: {
|
|
351
559
|
registry: any;
|
|
352
560
|
}) => void;
|
|
353
|
-
|
|
561
|
+
/**
|
|
562
|
+
* @see insertDefaultBlock in core/block-editor store.
|
|
563
|
+
*/
|
|
564
|
+
export declare const insertDefaultBlock: (...args: any[]) => ({ registry }: {
|
|
354
565
|
registry: any;
|
|
355
566
|
}) => void;
|
|
356
|
-
|
|
567
|
+
/**
|
|
568
|
+
* @see updateBlockListSettings in core/block-editor store.
|
|
569
|
+
*/
|
|
570
|
+
export declare const updateBlockListSettings: (...args: any[]) => ({ registry }: {
|
|
357
571
|
registry: any;
|
|
358
572
|
}) => void;
|
|
359
573
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.js"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/store/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,aAAwB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,UAAU,gBAAgB,CAAC;AAExC,eAAO,MAAM,wBAAwB,QAA4B,CAAC;AAClE,eAAO,MAAM,gBAAgB,QAAY,CAAC;AAC1C,eAAO,MAAM,mBAAmB,UAAoC,CAAC;AACrE,eAAO,MAAM,mCAAmC,kBAAkB,CAAC;AACnE,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAChD,eAAO,MAAM,uBAAuB,qBAAqB,CAAC;AAC1D,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/store/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,aAAwB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,UAAU,gBAAgB,CAAC;AAExC,eAAO,MAAM,wBAAwB,QAA4B,CAAC;AAClE,eAAO,MAAM,gBAAgB,QAAY,CAAC;AAC1C,eAAO,MAAM,mBAAmB,UAAoC,CAAC;AACrE,eAAO,MAAM,mCAAmC,kBAAkB,CAAC;AACnE,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAChD,eAAO,MAAM,uBAAuB,qBAAqB,CAAC;AAC1D,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,gBAAgB;IAC5B,MAAM;IACN,KAAK;IACL,MAAM;CACN,CAAC;AACF,eAAO,MAAM,mBAAmB,UAAwC,CAAC;AACzE,eAAO,MAAM,iBAAiB,UAI7B,CAAC;AACF,eAAO,MAAM,iBAAiB,UAK7B,CAAC"}
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
* @property {number} maxUploadFileSize Maximum upload file size
|
|
18
18
|
* @property {boolean} supportsLayout Whether the editor supports layouts.
|
|
19
19
|
*/
|
|
20
|
-
export const EDITOR_SETTINGS_DEFAULTS: any;
|
|
20
|
+
export declare const EDITOR_SETTINGS_DEFAULTS: any;
|
|
21
21
|
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/store/defaults.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/store/defaults.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,wBAAwB,KAQpC,CAAC"}
|