Content area colors – Gutenberg block editor compatibility
-
Hi, last week I’ve opened a support ticket through your website. Since I haven’t heard back nor even got any confirmation that you received the message, I will post it here this time.
My issue is the theme is not fully compatible with Gutenberg block editor, depending on the color schemes you choose.
My website has white font on black background.
The text color and background in editor area are the same as the website – no problem there.Problem 1: The page Title color of my website is White, but in editor area it’s black – therefore I can’t see the page title.
Problem 2: The block icons (add new, move up/down etc) are also black, therefore I can’t see them.
WORKAROUND
After reading this, I was able to “fix” my problem with this code<?php add_theme_support( 'editor-styles' ); add_theme_support( 'dark-editor-style' ); add_action( 'admin_head', function () { ?> <style> .editor-styles-wrapper .editor-post-title__block .editor-post-title__input{ color: white; } </style> <?php } );
But it’s far from ideal that I have to use custom code to fix the theme.
The page I need help with: [log in to see the link]
- The topic ‘Content area colors – Gutenberg block editor compatibility’ is closed to new replies.