Right mouse click in rich text editor (fixed #86)

This commit is contained in:
RainLoop Team 2014-02-17 13:05:29 +04:00
parent 8768b343a5
commit 004f0ed4dc
6 changed files with 6 additions and 5 deletions

View file

@ -100,7 +100,7 @@ Globals.oHtmlEditorDefaultConfig = {
// {name: 'document', groups: ['mode', 'document', 'doctools']}
],
'removePlugins': 'blockquote',
'removePlugins': 'blockquote,contextmenu',
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
'removeDialogTabs': 'link:advanced;link:target;image:advanced',

View file

@ -166,6 +166,7 @@
editor.on('mode', function() {
editor.getCommand('plain').setState(editor.mode === 'plain' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF);
editor.editable().addClass('cke_enable_context_menu');
});
function onResize() {

View file

@ -178,7 +178,7 @@ Globals.oHtmlEditorDefaultConfig = {
// {name: 'document', groups: ['mode', 'document', 'doctools']}
],
'removePlugins': 'blockquote',
'removePlugins': 'blockquote,contextmenu',
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
'removeDialogTabs': 'link:advanced;link:target;image:advanced',

File diff suppressed because one or more lines are too long

View file

@ -178,7 +178,7 @@ Globals.oHtmlEditorDefaultConfig = {
// {name: 'document', groups: ['mode', 'document', 'doctools']}
],
'removePlugins': 'blockquote',
'removePlugins': 'blockquote,contextmenu',
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
'removeDialogTabs': 'link:advanced;link:target;image:advanced',

File diff suppressed because one or more lines are too long