mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Updated ckeditor
This commit is contained in:
parent
aa84077ac4
commit
965ea317e4
514 changed files with 3679 additions and 7678 deletions
|
|
@ -185,9 +185,9 @@
|
|||
bBiti = !!Settings.settingsGet('AllowHtmlEditorBitiButtons')
|
||||
;
|
||||
|
||||
if ((bSource || !bBiti) && !oConfig.toolbarGroups.__SourceInited)
|
||||
if ((bSource || !bBiti) && !oConfig.toolbarGroups.__cfgInited)
|
||||
{
|
||||
oConfig.toolbarGroups.__SourceInited = true;
|
||||
oConfig.toolbarGroups.__cfgInited = true;
|
||||
|
||||
if (bSource)
|
||||
{
|
||||
|
|
@ -198,10 +198,6 @@
|
|||
{
|
||||
oConfig.removePlugins += (oConfig.removePlugins ? ',' : '') + 'bidi';
|
||||
}
|
||||
else
|
||||
{
|
||||
oConfig.removeButtons = oConfig.removeButtons.replace(',bidi', '');
|
||||
}
|
||||
}
|
||||
|
||||
oConfig.enterMode = window.CKEDITOR.ENTER_BR;
|
||||
|
|
@ -244,6 +240,13 @@
|
|||
{
|
||||
self.editor.on('instanceReady', function () {
|
||||
|
||||
if (self.editor.removeMenuItem)
|
||||
{
|
||||
self.editor.removeMenuItem('cut');
|
||||
self.editor.removeMenuItem('copy');
|
||||
self.editor.removeMenuItem('paste');
|
||||
}
|
||||
|
||||
self.editor.setKeystroke(window.CKEDITOR.CTRL + 65 /* A */, 'selectAll');
|
||||
self.editor.editable().addClass('cke_enable_context_menu');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue