Answer the question
In order to leave comments, you need to log in
How to put custom styles for CKEditor on modx revo?
Hello, how to put your own styles for the content of the editor, tags h1, h2, h3 and so on.
How to write your css file?
I try to register in the config as it is written in the documentation, but it does not work.
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.contentsCss = '/manager/assets/components/ckeditor/ckeditor/styleCKE.css';
};
/manager/assets/components/ckeditor/ckeditor/config.js
Answer the question
In order to leave comments, you need to log in
You need to specify the path in the core settings -> Visual editor -> joxi.ru/krDJX5sElxOn2p
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question