Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#46224 new enhancement

The additional CSS is not reflected in the editor

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

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 8 years ago.
I added .red class to the addicional CSS.
visual-editor.png (291.8 KB ) - added by inc2734 8 years ago.
Classic Editor
block-editor.png (258.2 KB ) - added by inc2734 8 years ago.
Block Editor
patch.diff (6.7 KB ) - added by inc2734 7 years ago.

Download all attachments as: .zip

Change History (8)

@inc2734
8 years ago

I added .red class to the addicional CSS.

@inc2734
8 years ago

Classic Editor

@inc2734
8 years ago

Block Editor

@inc2734
7 years ago

#1 @inc2734
7 years ago

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

I created a patch !

#2 @iandunn
6 years ago

  • Milestone Awaiting ReviewFuture Release

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

#3 @inc2734
6 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.


5 years ago

Note: See TracTickets for help on using tickets.