chore(npm): update CKEditor to version 4.15.1
|
@ -13,10 +13,10 @@
|
||||||
* (1) https://ckeditor.com/cke4/builder
|
* (1) https://ckeditor.com/cke4/builder
|
||||||
* Visit online builder to build CKEditor from scratch.
|
* Visit online builder to build CKEditor from scratch.
|
||||||
*
|
*
|
||||||
* (2) https://ckeditor.com/cke4/builder/c46c1afcec832ab957dafc25b60c4ab2
|
* (2) https://ckeditor.com/cke4/builder/ee9c7686fb78e4800d3347e1450be0a2
|
||||||
* Visit online builder to build CKEditor, starting with the same setup as before.
|
* Visit online builder to build CKEditor, starting with the same setup as before.
|
||||||
*
|
*
|
||||||
* (3) https://ckeditor.com/cke4/builder/download/c46c1afcec832ab957dafc25b60c4ab2
|
* (3) https://ckeditor.com/cke4/builder/download/ee9c7686fb78e4800d3347e1450be0a2
|
||||||
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
||||||
*
|
*
|
||||||
* NOTE:
|
* NOTE:
|
||||||
|
@ -28,114 +28,116 @@ var CKBUILDER_CONFIG = {
|
||||||
skin: 'n1theme',
|
skin: 'n1theme',
|
||||||
preset: 'basic',
|
preset: 'basic',
|
||||||
ignore: [
|
ignore: [
|
||||||
'.DS_Store',
|
'.DS_Store',
|
||||||
'.bender',
|
'.bender',
|
||||||
'.editorconfig',
|
'.editorconfig',
|
||||||
'.gitattributes',
|
'.gitattributes',
|
||||||
'.gitignore',
|
'.gitignore',
|
||||||
'.idea',
|
'.idea',
|
||||||
'.jscsrc',
|
'.jscsrc',
|
||||||
'.jshintignore',
|
'.jshintignore',
|
||||||
'.jshintrc',
|
'.jshintrc',
|
||||||
'.mailmap',
|
'.mailmap',
|
||||||
'.npm',
|
'.npm',
|
||||||
'.travis.yml',
|
'.nvmrc',
|
||||||
'README.md',
|
'.travis.yml',
|
||||||
'bender-err.log',
|
'README.md',
|
||||||
'bender-out.log',
|
'bender-err.log',
|
||||||
'bender.ci.js',
|
'bender-out.log',
|
||||||
'bender.js',
|
'bender.ci.js',
|
||||||
'dev',
|
'bender.js',
|
||||||
'gruntfile.js',
|
'dev',
|
||||||
'less',
|
'gruntfile.js',
|
||||||
'node_modules',
|
'less',
|
||||||
'package.json',
|
'node_modules',
|
||||||
'tests'
|
'package-lock.json',
|
||||||
|
'package.json',
|
||||||
|
'tests'
|
||||||
],
|
],
|
||||||
plugins : {
|
plugins : {
|
||||||
'about' : 1,
|
'about' : 1,
|
||||||
'autogrow' : 1,
|
'autogrow' : 1,
|
||||||
'base64image' : 1,
|
'base64image' : 1,
|
||||||
'basicstyles' : 1,
|
'basicstyles' : 1,
|
||||||
'blockquote' : 1,
|
'blockquote' : 1,
|
||||||
'button' : 1,
|
'button' : 1,
|
||||||
'clipboard' : 1,
|
'clipboard' : 1,
|
||||||
'colorbutton' : 1,
|
'colorbutton' : 1,
|
||||||
'colordialog' : 1,
|
'colordialog' : 1,
|
||||||
'contextmenu' : 1,
|
'contextmenu' : 1,
|
||||||
'dialog' : 1,
|
'dialog' : 1,
|
||||||
'dialogui' : 1,
|
'dialogui' : 1,
|
||||||
'div' : 1,
|
'div' : 1,
|
||||||
'enterkey' : 1,
|
'enterkey' : 1,
|
||||||
'entities' : 1,
|
'entities' : 1,
|
||||||
'fakeobjects' : 1,
|
'fakeobjects' : 1,
|
||||||
'floatingspace' : 1,
|
'floatingspace' : 1,
|
||||||
'floatpanel' : 1,
|
'floatpanel' : 1,
|
||||||
'font' : 1,
|
'font' : 1,
|
||||||
'format' : 1,
|
'format' : 1,
|
||||||
'image' : 1,
|
'image' : 1,
|
||||||
'indentlist' : 1,
|
'indentlist' : 1,
|
||||||
'justify' : 1,
|
'justify' : 1,
|
||||||
'link' : 1,
|
'link' : 1,
|
||||||
'list' : 1,
|
'list' : 1,
|
||||||
'listblock' : 1,
|
'listblock' : 1,
|
||||||
'menu' : 1,
|
'menu' : 1,
|
||||||
'menubutton' : 1,
|
'menubutton' : 1,
|
||||||
'onchange' : 1,
|
'onchange' : 1,
|
||||||
'panel' : 1,
|
'panel' : 1,
|
||||||
'panelbutton' : 1,
|
'panelbutton' : 1,
|
||||||
'pastefromexcel' : 1,
|
'pastefromexcel' : 1,
|
||||||
'pastefromword' : 1,
|
'pastefromword' : 1,
|
||||||
'pastetext' : 1,
|
'pastetext' : 1,
|
||||||
'richcombo' : 1,
|
'richcombo' : 1,
|
||||||
'scayt' : 1,
|
'scayt' : 1,
|
||||||
'sourcearea' : 1,
|
'sourcearea' : 1,
|
||||||
'tab' : 1,
|
'tab' : 1,
|
||||||
'table' : 1,
|
'table' : 1,
|
||||||
'tableresize' : 1,
|
'tableresize' : 1,
|
||||||
'tabletools' : 1,
|
'tabletools' : 1,
|
||||||
'toolbar' : 1,
|
'toolbar' : 1,
|
||||||
'undo' : 1,
|
'undo' : 1,
|
||||||
'uploadimage' : 1,
|
'uploadimage' : 1,
|
||||||
'wsc' : 1,
|
'wsc' : 1,
|
||||||
'wysiwygarea' : 1
|
'wysiwygarea' : 1
|
||||||
},
|
},
|
||||||
languages : {
|
languages : {
|
||||||
'ar' : 1,
|
'ar' : 1,
|
||||||
'ca' : 1,
|
'ca' : 1,
|
||||||
'cs' : 1,
|
'cs' : 1,
|
||||||
'cy' : 1,
|
'cy' : 1,
|
||||||
'da' : 1,
|
'da' : 1,
|
||||||
'de' : 1,
|
'de' : 1,
|
||||||
'en' : 1,
|
'en' : 1,
|
||||||
'es' : 1,
|
'es' : 1,
|
||||||
'eu' : 1,
|
'eu' : 1,
|
||||||
'fi' : 1,
|
'fi' : 1,
|
||||||
'fr' : 1,
|
'fr' : 1,
|
||||||
'he' : 1,
|
'he' : 1,
|
||||||
'hr' : 1,
|
'hr' : 1,
|
||||||
'hu' : 1,
|
'hu' : 1,
|
||||||
'is' : 1,
|
'is' : 1,
|
||||||
'it' : 1,
|
'it' : 1,
|
||||||
'ja' : 1,
|
'ja' : 1,
|
||||||
'lt' : 1,
|
'lt' : 1,
|
||||||
'lv' : 1,
|
'lv' : 1,
|
||||||
'mk' : 1,
|
'mk' : 1,
|
||||||
'nb' : 1,
|
'nb' : 1,
|
||||||
'nl' : 1,
|
'nl' : 1,
|
||||||
'no' : 1,
|
'no' : 1,
|
||||||
'pl' : 1,
|
'pl' : 1,
|
||||||
'pt' : 1,
|
'pt' : 1,
|
||||||
'pt-br' : 1,
|
'pt-br' : 1,
|
||||||
'ro' : 1,
|
'ro' : 1,
|
||||||
'ru' : 1,
|
'ru' : 1,
|
||||||
'sk' : 1,
|
'sk' : 1,
|
||||||
'sl' : 1,
|
'sl' : 1,
|
||||||
'sr' : 1,
|
'sr' : 1,
|
||||||
'sv' : 1,
|
'sv' : 1,
|
||||||
'tr' : 1,
|
'tr' : 1,
|
||||||
'uk' : 1,
|
'uk' : 1,
|
||||||
'zh' : 1,
|
'zh' : 1,
|
||||||
'zh-cn' : 1
|
'zh-cn' : 1
|
||||||
}
|
}
|
||||||
};
|
};
|
|
@ -10,19 +10,19 @@ CKEDITOR.editorConfig = function( config ) {
|
||||||
|
|
||||||
// The toolbar groups arrangement, optimized for a single toolbar row.
|
// The toolbar groups arrangement, optimized for a single toolbar row.
|
||||||
config.toolbarGroups = [
|
config.toolbarGroups = [
|
||||||
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
||||||
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
||||||
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
|
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
|
||||||
{ name: 'forms' },
|
{ name: 'forms' },
|
||||||
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
||||||
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
|
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
|
||||||
{ name: 'links' },
|
{ name: 'links' },
|
||||||
{ name: 'insert' },
|
{ name: 'insert' },
|
||||||
{ name: 'styles' },
|
{ name: 'styles' },
|
||||||
{ name: 'colors' },
|
{ name: 'colors' },
|
||||||
{ name: 'tools' },
|
{ name: 'tools' },
|
||||||
{ name: 'others' },
|
{ name: 'others' },
|
||||||
{ name: 'about' }
|
{ name: 'about' }
|
||||||
];
|
];
|
||||||
|
|
||||||
// The default plugins included in the basic setup define some buttons that
|
// The default plugins included in the basic setup define some buttons that
|
||||||
|
|
|
@ -12,7 +12,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
function doLoadScript( url )
|
function doLoadScript( url )
|
||||||
{
|
{
|
||||||
if ( !url || typeof url !== 'string' )
|
if ( !url || typeof url !== 'string' )
|
||||||
return false ;
|
return false ;
|
||||||
|
|
||||||
var s = document.createElement( "script" ) ;
|
var s = document.createElement( "script" ) ;
|
||||||
s.type = "text/javascript" ;
|
s.type = "text/javascript" ;
|
||||||
|
|
|
@ -1,82 +1,82 @@
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
||||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html, body
|
html, body
|
||||||
{
|
{
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, td, input, select, textarea
|
body, td, input, select, textarea
|
||||||
{
|
{
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
|
||||||
}
|
}
|
||||||
|
|
||||||
.midtext
|
.midtext
|
||||||
{
|
{
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.midtext p
|
.midtext p
|
||||||
{
|
{
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Button
|
.Button
|
||||||
{
|
{
|
||||||
border: #737357 1px solid;
|
border: #737357 1px solid;
|
||||||
color: #3b3b1f;
|
color: #3b3b1f;
|
||||||
background-color: #c7c78f;
|
background-color: #c7c78f;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PopupTabArea
|
.PopupTabArea
|
||||||
{
|
{
|
||||||
color: #737357;
|
color: #737357;
|
||||||
background-color: #e3e3c7;
|
background-color: #e3e3c7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PopupTitleBorder
|
.PopupTitleBorder
|
||||||
{
|
{
|
||||||
border-bottom: #d5d59d 1px solid;
|
border-bottom: #d5d59d 1px solid;
|
||||||
}
|
}
|
||||||
.PopupTabEmptyArea
|
.PopupTabEmptyArea
|
||||||
{
|
{
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
border-bottom: #d5d59d 1px solid;
|
border-bottom: #d5d59d 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PopupTab, .PopupTabSelected
|
.PopupTab, .PopupTabSelected
|
||||||
{
|
{
|
||||||
border-right: #d5d59d 1px solid;
|
border-right: #d5d59d 1px solid;
|
||||||
border-top: #d5d59d 1px solid;
|
border-top: #d5d59d 1px solid;
|
||||||
border-left: #d5d59d 1px solid;
|
border-left: #d5d59d 1px solid;
|
||||||
padding: 3px 5px 3px 5px;
|
padding: 3px 5px 3px 5px;
|
||||||
color: #737357;
|
color: #737357;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PopupTab
|
.PopupTab
|
||||||
{
|
{
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
border-bottom: #d5d59d 1px solid;
|
border-bottom: #d5d59d 1px solid;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PopupTabSelected
|
.PopupTabSelected
|
||||||
{
|
{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
border-bottom: #f1f1e3 1px solid;
|
border-bottom: #f1f1e3 1px solid;
|
||||||
background-color: #f1f1e3;
|
background-color: #f1f1e3;
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 615 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B |
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -36,13 +36,13 @@ CKEDITOR.stylesSet.add( 'default', [
|
||||||
{ name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
|
{ name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
|
||||||
{ name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
|
{ name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
|
||||||
{
|
{
|
||||||
name: 'Special Container',
|
name: 'Special Container',
|
||||||
element: 'div',
|
element: 'div',
|
||||||
styles: {
|
styles: {
|
||||||
padding: '5px 10px',
|
padding: '5px 10px',
|
||||||
background: '#eee',
|
background: '#eee',
|
||||||
border: '1px solid #ccc'
|
border: '1px solid #ccc'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Inline styles */
|
/* Inline styles */
|
||||||
|
@ -82,29 +82,29 @@ CKEDITOR.stylesSet.add( 'default', [
|
||||||
/* Object styles */
|
/* Object styles */
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'Styled Image (left)',
|
name: 'Styled Image (left)',
|
||||||
element: 'img',
|
element: 'img',
|
||||||
attributes: { 'class': 'left' }
|
attributes: { 'class': 'left' }
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'Styled Image (right)',
|
name: 'Styled Image (right)',
|
||||||
element: 'img',
|
element: 'img',
|
||||||
attributes: { 'class': 'right' }
|
attributes: { 'class': 'right' }
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'Compact Table',
|
name: 'Compact Table',
|
||||||
element: 'table',
|
element: 'table',
|
||||||
attributes: {
|
attributes: {
|
||||||
cellpadding: '5',
|
cellpadding: '5',
|
||||||
cellspacing: '0',
|
cellspacing: '0',
|
||||||
border: '1',
|
border: '1',
|
||||||
bordercolor: '#ccc'
|
bordercolor: '#ccc'
|
||||||
},
|
},
|
||||||
styles: {
|
styles: {
|
||||||
'border-collapse': 'collapse'
|
'border-collapse': 'collapse'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
|
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
|
||||||
|
|