Best WordPress Hosting
 

Block editor styles: initiatives and goals

via make.wordpress.org => original post link

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 ambitions to output more readable, efficient and extensible frontend styles.