Answer the question
In order to leave comments, you need to log in
How to set up CKeditor?
People, please help me set up CKeditor.
I initialize like this:
CKEDITOR.replace('editor', {
uiColor: '#14B8C4'
});
CKEDITOR.replace('editor', {
uiColor: '#14B8C4'
});
CKEDITOR.editorConfig = function (config) {
config.extraPlugins = 'seimage',
config.height = 500,
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar = [
['Bold', 'Italic', '-', 'Strike', 'Subscript', 'Superscript', 'RemoveFormat', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
['TextColor', 'BGColor'],
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
'/',
['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak', 'seimage', 'videoDialog', 'removeformat', 'Maximize', 'ShowBlocks', 'Source','Preview'],
'/',
['Styles', 'Format', 'Font', 'FontSize'],
'/',
['seimage']
]
};
config.extraPlugins = 'seimage,html5video',
['html5video']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question