From 461be41a6491d8e4b46bd9a27780e3555d21c2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Mon, 27 Mar 2017 10:09:27 +0200 Subject: [PATCH] Disabled CKEditor's contextmenu to use browser spellcheck (Fixed #3151). To remove the 'contextmenu' plugin also the 'liststyle' and 'tabletools' plugins have to removed. --- openslides/core/static/js/core/base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/core/static/js/core/base.js b/openslides/core/static/js/core/base.js index bb4edfbfe..f0fdebcca 100644 --- a/openslides/core/static/js/core/base.js +++ b/openslides/core/static/js/core/base.js @@ -752,8 +752,8 @@ angular.module('OpenSlidesApp.core', [ 'br(os-line-break);', // there seems to be an error in CKeditor that parses spaces in extraPlugins as part of the plugin name. - extraPlugins: 'colorbutton,find,liststyle,sourcedialog,justify,showblocks', - removePlugins: 'wsc,scayt,a11yhelp,filebrowser,sourcearea', + extraPlugins: 'colorbutton,find,sourcedialog,justify,showblocks', + removePlugins: 'wsc,scayt,a11yhelp,filebrowser,sourcearea,liststyle,tabletools,contextmenu', removeButtons: 'Scayt,Anchor,Styles,HorizontalRule', toolbarGroups: [ { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },