mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Right mouse click in rich text editor (fixed #86)
This commit is contained in:
parent
8768b343a5
commit
004f0ed4dc
6 changed files with 6 additions and 5 deletions
|
|
@ -100,7 +100,7 @@ Globals.oHtmlEditorDefaultConfig = {
|
||||||
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
||||||
],
|
],
|
||||||
|
|
||||||
'removePlugins': 'blockquote',
|
'removePlugins': 'blockquote,contextmenu',
|
||||||
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
||||||
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -166,6 +166,7 @@
|
||||||
|
|
||||||
editor.on('mode', function() {
|
editor.on('mode', function() {
|
||||||
editor.getCommand('plain').setState(editor.mode === 'plain' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF);
|
editor.getCommand('plain').setState(editor.mode === 'plain' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF);
|
||||||
|
editor.editable().addClass('cke_enable_context_menu');
|
||||||
});
|
});
|
||||||
|
|
||||||
function onResize() {
|
function onResize() {
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ Globals.oHtmlEditorDefaultConfig = {
|
||||||
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
||||||
],
|
],
|
||||||
|
|
||||||
'removePlugins': 'blockquote',
|
'removePlugins': 'blockquote,contextmenu',
|
||||||
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
||||||
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
||||||
|
|
||||||
|
|
|
||||||
2
rainloop/v/0.0.0/static/js/admin.min.js
vendored
2
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -178,7 +178,7 @@ Globals.oHtmlEditorDefaultConfig = {
|
||||||
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
// {name: 'document', groups: ['mode', 'document', 'doctools']}
|
||||||
],
|
],
|
||||||
|
|
||||||
'removePlugins': 'blockquote',
|
'removePlugins': 'blockquote,contextmenu',
|
||||||
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image',
|
||||||
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
||||||
|
|
||||||
|
|
|
||||||
2
rainloop/v/0.0.0/static/js/app.min.js
vendored
2
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue