%%tb-image-alt-text%%

Block editor styles: initiatives and goals

Block editor styles: initiatives and goals

Author: WordPress.org

Date: June 24, 2022 

Category: Make WordPress Core

The CSS rendered by the block editor needs improvement.

The challenges are many and they have been documented. There are, nevertheless, several recurring themes:

An overabundance of rendered inline style tags and duplicated CSS rules. For example, see #41434.Confusing or meaningless classnames, or the lack of semantic and utility classes. See the proposals in #38719 and #38998Difficulty extending and customizing styles for themes due to high specificity. Touched upon in this post, and demonstrated in issues such as #40159, #36135 and #37590.

The purpose of this post is to highlight ongoing initiatives targeted at addressing these issues, and to outline longer-term

This is the first part of the article “Block editor styles: initiatives and goals“
written by WordPress.org.

World of WP