-
Notifications
You must be signed in to change notification settings - Fork 65
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
StylesSet for images #278
Comments
Unfortunally, I have the same problem. Is there any mistake in the notation above or is handling completly changed in TYPO3 V12? Any help is welcome. Thanks. |
I tried this new syntax for ckeditor5 but it also doesn't work: Anyone any idea whats wrong? |
I started debugging this issue, as I ran into it. The root problem seems to be, that the CKEditor registers image stuff, even thought the CKEditor image plugin is not loaded. The style definitions are parsed and "compiled" directly, when the style plugin is initialized. This leads to, that the registration of the When the style is checked against the selected element, the registered model names are checked. The CKEditor core registers I created an extra branch (#300) and made is so far, that the styles are enabled, when an image is selected and the correct style is displayed as active. However I can't get it change the class, when choosing another one. Feel free to use my branch and give it a try. |
@jblechinger @wwenzel It just finished my PR (#300) and the style dropdown now works again. Would you mind testing my branch? @Gitsko Would you take a look at the PR? |
Is there any way to use RTE StylesSet's with images?
I already tried:
- { name: "Image special style", element: "img", attributes: { 'class': 'img-style' } }
Thanks 😊
The text was updated successfully, but these errors were encountered: