Disabled CKEditor's contextmenu to use browser spellcheck (Fixed #3151).

To remove the 'contextmenu' plugin also the 'liststyle' and 'tabletools' plugins
have to removed.
This commit is contained in:
Emanuel Schütze 2017-03-27 10:09:27 +02:00
parent c8f64783bc
commit 461be41a64

View File

@ -752,8 +752,8 @@ angular.module('OpenSlidesApp.core', [
'br(os-line-break);', 'br(os-line-break);',
// there seems to be an error in CKeditor that parses spaces in extraPlugins as part of the plugin name. // 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', extraPlugins: 'colorbutton,find,sourcedialog,justify,showblocks',
removePlugins: 'wsc,scayt,a11yhelp,filebrowser,sourcearea', removePlugins: 'wsc,scayt,a11yhelp,filebrowser,sourcearea,liststyle,tabletools,contextmenu',
removeButtons: 'Scayt,Anchor,Styles,HorizontalRule', removeButtons: 'Scayt,Anchor,Styles,HorizontalRule',
toolbarGroups: [ toolbarGroups: [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },