mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Allow Select all in rich editor (close #90)
This commit is contained in:
parent
fd58f4dcd5
commit
d20a6c2ddc
85 changed files with 424 additions and 418 deletions
|
|
@ -101,7 +101,7 @@ Globals.oHtmlEditorDefaultConfig = {
|
|||
],
|
||||
|
||||
'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,SelectAll',
|
||||
'removeDialogTabs': 'link:advanced;link:target;image:advanced',
|
||||
|
||||
'extraPlugins': 'plain',
|
||||
|
|
|
|||
|
|
@ -171,6 +171,9 @@ NewHtmlEditorWrapper.prototype.init = function ()
|
|||
if (self.fOnReady)
|
||||
{
|
||||
self.editor.on('instanceReady', function () {
|
||||
|
||||
self.editor.setKeystroke(window.CKEDITOR.CTRL + 65/* A */, 'selectAll');
|
||||
|
||||
self.fOnReady();
|
||||
self.resize();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue