Allow Select all in rich editor (close #90)

This commit is contained in:
RainLoop Team 2014-02-18 18:20:42 +04:00
parent fd58f4dcd5
commit d20a6c2ddc
85 changed files with 424 additions and 418 deletions

View file

@ -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',

View file

@ -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();
});