mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Updated ckeditor
This commit is contained in:
parent
aa84077ac4
commit
965ea317e4
514 changed files with 3679 additions and 7678 deletions
|
|
@ -131,11 +131,11 @@
|
|||
{name: 'others'}
|
||||
],
|
||||
|
||||
'removePlugins': 'liststyle,tabletools,contextmenu', //blockquote
|
||||
'removePlugins': 'liststyle,table,quicktable,tableresize,tabletools,contextmenu', //blockquote
|
||||
'removeButtons': 'Format,Undo,Redo,Cut,Copy,Paste,Anchor,Strike,Subscript,Superscript,Image,SelectAll,Source',
|
||||
'removeDialogTabs': 'link:advanced;link:target;image:advanced;images:advanced',
|
||||
|
||||
'extraPlugins': 'plain,bidi', // signature
|
||||
'extraPlugins': 'plain', // signature
|
||||
'allowedContent': true,
|
||||
|
||||
'font_defaultLabel': 'Arial',
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
|
||||
.cke_combo_button {
|
||||
/*background: #FBFBFB !important;*/
|
||||
background: #FBFBFB !important;
|
||||
}
|
||||
|
||||
.cke_source {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue