Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#46224 new enhancement

The additional CSS is not reflected in the editor

Reported by: inc2734's profile inc2734 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: ui, administration Cc:

Description

I think that the additional CSS should be reflected to the editor. What do you think?

I did not know which file to write the code, so I made a sample plugin.
https://github.com/inc2734/additional-css

Attachments (4)

additional CSS.png (349.1 KB) - added by inc2734 5 years ago.
I added .red class to the addicional CSS.
visual-editor.png (291.8 KB) - added by inc2734 5 years ago.
Classic Editor
block-editor.png (258.2 KB) - added by inc2734 5 years ago.
Block Editor
patch.diff (6.7 KB) - added by inc2734 5 years ago.

Download all attachments as: .zip

Change History (8)

@inc2734
5 years ago

I added .red class to the addicional CSS.

@inc2734
5 years ago

Classic Editor

@inc2734
5 years ago

Block Editor

@inc2734
5 years ago

#1 @inc2734
5 years ago

  • Focuses ui administration added
  • Keywords has-patch added
  • Version 5.0.3 deleted

I created a patch !

#2 @iandunn
4 years ago

  • Milestone changed from Awaiting Review to Future Release

+1, I've run into this several times.

#3 @inc2734
4 years ago

After making the previous patch, I made the code simpler and published it as a composer package.

https://packagist.org/packages/inc2734/wp-custom-css-to-editor

This ticket was mentioned in Slack in #core-themes by zebulan. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.