: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Document settings'),
description: (0,external_wp_i18n_namespaceObject.__)('Select what settings are shown in the document panel.'),
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_plugin_document_setting_panel.Slot, {}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_taxonomies, {
taxonomyWrapper: (content, taxonomy) => /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_panel, {
label: taxonomy.labels.menu_name,
panelName: `taxonomy-panel-${taxonomy.slug}`
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_featured_image_check, {
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_panel, {
label: (0,external_wp_i18n_namespaceObject.__)('Featured image'),
panelName: "featured-image"
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_excerpt_check, {
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_panel, {
label: (0,external_wp_i18n_namespaceObject.__)('Excerpt'),
panelName: "post-excerpt"
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(post_type_support_check, {
supportKeys: ['comments', 'trackbacks'],
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_panel, {
label: (0,external_wp_i18n_namespaceObject.__)('Discussion'),
panelName: "discussion-panel"
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(page_attributes_check, {
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_panel, {
label: (0,external_wp_i18n_namespaceObject.__)('Page attributes'),
panelName: "page-attributes"
}), isLargeViewport && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Publishing'),
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(enable_publish_sidebar, {
help: (0,external_wp_i18n_namespaceObject.__)('Review settings, such as visibility and tags.'),
label: (0,external_wp_i18n_namespaceObject.__)('Enable pre-publish checks')
}), extraSections?.general]
tabLabel: (0,external_wp_i18n_namespaceObject.__)('Appearance'),
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Appearance'),
description: (0,external_wp_i18n_namespaceObject.__)('Customize the editor interface to suit your needs.'),
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "fixedToolbar",
onToggle: () => setPreference('core', 'distractionFree', false),
help: (0,external_wp_i18n_namespaceObject.__)('Access all block and document tools in a single place.'),
label: (0,external_wp_i18n_namespaceObject.__)('Top toolbar')
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "distractionFree",
setPreference('core', 'fixedToolbar', true);
setIsInserterOpened(false);
setIsListViewOpened(false);
help: (0,external_wp_i18n_namespaceObject.__)('Reduce visual distractions by hiding the toolbar and other elements to focus on writing.'),
label: (0,external_wp_i18n_namespaceObject.__)('Distraction free')
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "focusMode",
help: (0,external_wp_i18n_namespaceObject.__)('Highlights the current block and fades other content.'),
label: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode')
}), extraSections?.appearance]
tabLabel: (0,external_wp_i18n_namespaceObject.__)('Accessibility'),
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Navigation'),
description: (0,external_wp_i18n_namespaceObject.__)('Optimize the editing experience for enhanced control.'),
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "keepCaretInsideBlock",
help: (0,external_wp_i18n_namespaceObject.__)('Keeps the text cursor within the block boundaries, aiding users with screen readers by preventing unintentional cursor movement outside the block.'),
label: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block')
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Interface'),
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "showIconLabels",
label: (0,external_wp_i18n_namespaceObject.__)('Show button text labels'),
help: (0,external_wp_i18n_namespaceObject.__)('Show text instead of icons on buttons across the interface.')
tabLabel: (0,external_wp_i18n_namespaceObject.__)('Blocks'),
content: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Inserter'),
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferenceToggleControl, {
featureName: "mostUsedBlocks",
help: (0,external_wp_i18n_namespaceObject.__)('Adds a category with the most frequently used blocks in the inserter.'),
label: (0,external_wp_i18n_namespaceObject.__)('Show most used blocks')
}), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalSection, {
title: (0,external_wp_i18n_namespaceObject.__)('Manage block visibility'),
description: (0,external_wp_i18n_namespaceObject.__)("Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later."),
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(block_manager, {})
}], [showBlockBreadcrumbsOption, extraSections, setIsInserterOpened, setIsListViewOpened, setPreference, isLargeViewport]);
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModal, {
children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PreferencesModalTabs, {
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/private-apis.js
...remainingInterfaceApis
} = build_module_namespaceObject;
CreateTemplatePartModal: CreateTemplatePartModal,
ExperimentalEditorProvider: ExperimentalEditorProvider,
EntitiesSavedStatesExtensible: EntitiesSavedStatesExtensible,
EditorInterface: EditorInterface,
EditorContentSlotFill: content_slot_fill,
GlobalStylesProvider: GlobalStylesProvider,
mergeBaseAndUserConfigs: mergeBaseAndUserConfigs,
PluginPostExcerpt: post_excerpt_plugin,
PreferencesModal: EditorPreferencesModal,
usePostActions: usePostActions,
ToolsMoreMenuGroup: tools_more_menu_group,
ViewMoreMenuGroup: view_more_menu_group,
ResizableEditor: resizable_editor,
Sidebar: components_sidebar,
// This is a temporary private API while we're updating the site editor to use EditorProvider.
useBlockEditorSettings: use_block_editor_settings,
...remainingInterfaceApis
;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/index.js
(window.wp = window.wp || {}).editor = __webpack_exports__;