mirror of https://github.com/xwiki-labs/cryptpad
Fix ckedit context menu and paste dialog #631,#453
This commit is contained in:
parent
442d7655dc
commit
7f358408af
|
@ -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= [
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue