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

Add feature to provide styles for dropdown - only by CSS file #135

Closed
indigoxela opened this issue Oct 5, 2024 · 0 comments · Fixed by #136
Closed

Add feature to provide styles for dropdown - only by CSS file #135

indigoxela opened this issue Oct 5, 2024 · 0 comments · Fixed by #136

Comments

@indigoxela
Copy link
Member

...using the "importcss" plugin.

Themes can provide styles and additionally add those to the styles dropdown.

But it's also possible to just add the CSS file without custom theme, but that's trickier to apply when viewing content.

After some forward and back, I decided to go the easier route with a special filename: tinymce-styles-dropdown.css.

Whenever a file with this name is part of content_css options, this file also gets parsed for styles.

@indigoxela indigoxela changed the title Add feature to provide styles for dropdown only by CSS file Add feature to provide styles for dropdown - only by CSS file Oct 5, 2024
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