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

Provide CSS class to better style content based on form type #152

Closed
indigoxela opened this issue Jan 18, 2025 · 0 comments · Fixed by #153
Closed

Provide CSS class to better style content based on form type #152

indigoxela opened this issue Jan 18, 2025 · 0 comments · Fixed by #153

Comments

@indigoxela
Copy link
Member

indigoxela commented Jan 18, 2025

The same format can be used on very different form types, like node form or block form or comment form.

Sometimes it would be beneficial to be able to apply specific styles on those. Like a different font size if it's a node, a different background color if it's a comment...

Tiny allows to set a class to the editor content body via body_class.

@indigoxela indigoxela changed the title Provide class to better style content based on form type Provide CSS class to better style content based on form type Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant