-
Notifications
You must be signed in to change notification settings - Fork 5
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
IBX-5376: Added possibility to change config of CKE #79
Conversation
You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and validated on 4.4 Experience FF and Chrome
For QA:
To test it you can change the language of the content in CKE
paste this code into line 84 in layout.html.twig in admin-ui
window.ibexa.addConfig('richText.CKEditor.extraConfig', { language: { content: 'ar' }}, true);
Doc:
In order to add or override config the custom config object should be added to the
window.ibexa.richText.CKEditor.extraConfig
key. The easiest way is to useaddConfig
method for example:window.ibexa.addConfig('richText.CKEditor.extraConfig', {{your_custom_config_object}}, true);
CKEditor config doc: https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html
TODO:
$ composer fix-cs
).