Fix ckedit context menu and paste dialog #631,#453

This commit is contained in:
DianaXWiki 2023-11-06 17:58:27 +02:00
parent 442d7655dc
commit 7f358408af
2 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ CKEDITOR.editorConfig = function( config ) {
// https://dev.ckeditor.com/ticket/10907
config.needsBrFiller= fixThings;
config.needsNbspFiller= fixThings;
config.removeButtons= 'Source,Maximize';
// magicline plugin inserts html crap into the document which is not part of the
// document itself and causes problems when it's sent across the wire and reflected back
config.removePlugins= 'resize,elementspath';
config.removePlugins= 'resize,elementspath,contextmenu,liststyle,tabletools,tableselection';
config.forcePasteAsPlainText = true;
config.resize_enabled= false; //bottom-bar
config.extraPlugins= 'autolink,colorbutton,colordialog,font,indentblock,justify,mediatag,print,blockbase64,mathjax,wordcount,comments';
config.toolbarGroups= [

View File

@ -1422,7 +1422,7 @@ define([
};
module.ckeditor = editor = Ckeditor.replace('editor1', {
customConfig: '/customize/ckeditor-config.js',
customConfig: '/customize.dist/ckeditor-config.js',
});
editor.on('instanceReady', waitFor());