mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Remove ckeditor contextmenu
This commit is contained in:
parent
5a62afb17f
commit
e7eac23983
@ -13,7 +13,8 @@ CKEDITOR.editorConfig = function( config ) {
|
||||
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,liststyle';
|
||||
var isMobile = /Android|iPad|iPhone|iPod/i.test(navigator.userAgent);
|
||||
config.removePlugins= 'resize,elementspath,liststyle' + (isMobile ? ',contextmenu,tabletools,tableselection' : '');
|
||||
config.resize_enabled= false; //bottom-bar
|
||||
config.extraPlugins= 'autolink,colorbutton,colordialog,font,indentblock,justify,mediatag,print,blockbase64,mathjax,wordcount,comments';
|
||||
config.toolbarGroups= [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user