Hi,
how can I customize the ckEditor in vbulletin 5.4.0.
I want to disable the Word filters?
See picture attachment, marked red.
For this purpose I made the following adjustment in the file /var/www/die_seite/forum/js/ckeditor/config.js:
What I found on the net, unfortunately it doesn't work.
The black marked part, code, HTML and PHP I could read in the file /var/www/die_seite/forum/js/ckeditor-rollup-533.js, from line:
Just comment it out.
If someone knows I can disable the section Code, HTML and PHP via the config file, I would like to do that.
how can I customize the ckEditor in vbulletin 5.4.0.
I want to disable the Word filters?
See picture attachment, marked red.
For this purpose I made the following adjustment in the file /var/www/die_seite/forum/js/ckeditor/config.js:
Code:
// config.pasteFromWordRemoveFontStyles = true; // config.pasteFromWordCleanupFile = true; // config.pasteFromWord = true; // config.pasteFromWordRemoveFontStyles = true; // config.pasteFromWordNumberedHeadingToList = true; // config.forcePasteAsPlainText = true; // config.pasteFromWordPromptCleanup = true; config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordCleanupFile = false; config.pasteFromWord = false; config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordNumberedHeadingToList = false; config.forcePasteAsPlainText = false; config.pasteFromWordPromptCleanup = false;
The black marked part, code, HTML and PHP I could read in the file /var/www/die_seite/forum/js/ckeditor-rollup-533.js, from line:
Code:
// addButtonCommand('Code', vBulletin.phrase.get('wrap_x_tags', 'CODE'), 'CODE', 0, window.pageData.baseurl + '/core/images/editor/code.png'); // addButtonCommand('Html', vBulletin.phrase.get('wrap_x_tags', 'HTML'), 'HTML', 0, window.pageData.baseurl + '/core/images/editor/html.png'); // addButtonCommand('Php', vBulletin.phrase.get('wrap_x_tags', 'PHP'), 'PHP', 0, window.pageData.baseurl + '/core/images/editor/php.png');
If someone knows I can disable the section Code, HTML and PHP via the config file, I would like to do that.
Comment