Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline style for add_editor_style( 'style-editor.css' );? #13008

Closed
manake opened this issue Dec 19, 2018 · 1 comment
Closed

Inline style for add_editor_style( 'style-editor.css' );? #13008

manake opened this issue Dec 19, 2018 · 1 comment
Labels
[Feature] Custom Editor Styles Functionality for adding custom editor styles [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@manake
Copy link

manake commented Dec 19, 2018

Can add_editor_style( 'style-editor.css' ); have inline style added?

The problem is that I want .wp-block { max-width: 500px; } for post and .wp-block { max-width: 1000px; } for page but that's currently not doable with just style-editor.css.

There may be other use cases for this as well.

@designsimply designsimply added [Type] Help Request Help with setup, implementation, or "How do I?" questions. Needs Technical Feedback Needs testing from a developer perspective. [Feature] Custom Editor Styles Functionality for adding custom editor styles labels Dec 19, 2018
@designsimply
Copy link
Member

Closing this as a duplicate of #12874 and noting there is a workaround at #12874 (comment). Sorry for not catching this as a duplicate before!

@designsimply designsimply added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed and removed Needs Technical Feedback Needs testing from a developer perspective. labels Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Custom Editor Styles Functionality for adding custom editor styles [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

2 participants