Zeka Posted January 21, 2019 Share Posted January 21, 2019 Hi. I have CKEditor field with the name 'wysiwyg' In config.js and config-wysiwyg.js I have such code CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: config.language = 'ru'; // config.uiColor = '#AADC6E'; }; File config-wysiwyg.js get loaded on the page edit screen, but the language is not changed. But if I put 'language:ru' to 'Custom Config Options' on the field edit page everything works as expected. What is strange, that is if I try to change UI color via config-wysiwyg.js - color get changed. CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: config.language = 'ru'; config.uiColor = '#AADC6E'; }; So it looks live there is some special case with language property. Did somebody have such behavior? I want to have all field-relative settings in the one file to not get a mess. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now