diff --git a/packages/customize-widgets/src/components/sidebar-block-editor/index.js b/packages/customize-widgets/src/components/sidebar-block-editor/index.js index 5af9dd4065a0f..304981e56be7c 100644 --- a/packages/customize-widgets/src/components/sidebar-block-editor/index.js +++ b/packages/customize-widgets/src/components/sidebar-block-editor/index.js @@ -19,6 +19,7 @@ import { WritingFlow, BlockEditorKeyboardShortcuts, __unstableBlockSettingsMenuFirstItem, + __unstableEditorStyles as EditorStyles, } from '@wordpress/block-editor'; import { uploadMedia } from '@wordpress/media-utils'; import { store as interfaceStore } from '@wordpress/interface'; @@ -121,6 +122,7 @@ export default function SidebarBlockEditor( { + diff --git a/packages/customize-widgets/src/components/sidebar-block-editor/style.scss b/packages/customize-widgets/src/components/sidebar-block-editor/style.scss index 6884cd94eaa71..abbe6b8445410 100644 --- a/packages/customize-widgets/src/components/sidebar-block-editor/style.scss +++ b/packages/customize-widgets/src/components/sidebar-block-editor/style.scss @@ -16,16 +16,3 @@ position: fixed; z-index: z-index(".customize-widgets__block-toolbar"); } - -// Copied from block-editor/src/default-editor-styles.scss. -// Apply default styles to "editor-styles-wrapper" in the customizer block editor. -.customize-widgets__sidebar-section .editor-styles-wrapper { - font-family: $default-font; - font-size: 18px; - line-height: 1.5; - --wp--style--block-gap: 2em; - - p { - line-height: 1.8; - } -}