diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 4b3018a08d..aaeed4338a 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -30,12 +30,6 @@ font-size: inherit; } -.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover):not(:focus), -.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover):not(:focus) { - color: inherit; -} - - /* Fonts ------------------------------------- */ /* diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 55d1446f31..4e709dc59d 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -30,12 +30,6 @@ font-size: inherit; } -.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover):not(:focus), -.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover):not(:focus) { - color: inherit; -} - - /* Fonts ------------------------------------- */ /* diff --git a/src/wp-content/themes/twentytwenty/functions.php b/src/wp-content/themes/twentytwenty/functions.php index 5fe5f58e8a..47c950a44f 100644 --- a/src/wp-content/themes/twentytwenty/functions.php +++ b/src/wp-content/themes/twentytwenty/functions.php @@ -555,6 +555,8 @@ function twentytwenty_block_editor_settings() { ) ); + add_theme_support( 'editor-styles' ); + // If we have a dark background color then add support for dark editor style. // We can determine if the background color is dark by checking if the text-color is white. if ( '#ffffff' === strtolower( twentytwenty_get_color_for_area( 'content', 'text' ) ) ) {