All Questions
Tagged with add-editor-style block-editor
4 questions
0
votes
1
answer
419
views
add_editor_style now copying html styles to .editor-styles-wrapper?
Edit: I didn't adequately research this question before posting it, so the behavior I'm describing is much older than I realized. The issue I was observing comes from elsewhere. Leaving the original ...
5
votes
1
answer
2k
views
.editor-styles-wrapper overriding my block styles in Gutenberg
I'm working on my first theme built from custom gutenberg blocks. I've managed to register blocks and enqueue their specific stylesheets, but I'm running into one issue that's kind of a pain. A lot of ...
1
vote
2
answers
891
views
Different css rules for TinyMCE and Gutenberg while using add_editor_style()
I wanted to include some CSS rules inside of my gutenberg editor (in a way that it better reflected the frontend of the website). Yet I absolutely didn't want to see the same styles applied inside of ...
0
votes
1
answer
2k
views
WP 5 how to add_editor_style for both tinyMCE and Gutenberg
Before Gutenberg blocks we used to add editor styles by using
add_editor_style( array( 'path/to/editor-style.css', 'whatever.css' ) );
Now we have Gutenberg editor whose stylesheet is also loaded by ...