N°2847 * Update CKeditor to 4.15.1
* Add iTop default languages to ckeditor * Change CKeditor skin from flat to Moono-Lisa
5
js/ckeditor/lang/cs.js
Normal file
5
js/ckeditor/lang/da.js
Normal file
5
js/ckeditor/lang/hu.js
Normal file
5
js/ckeditor/lang/ja.js
Normal file
5
js/ckeditor/lang/nl.js
Normal file
5
js/ckeditor/lang/ru.js
Normal file
5
js/ckeditor/lang/sk.js
Normal file
5
js/ckeditor/lang/tr.js
Normal file
5
js/ckeditor/lang/zh-cn.js
Normal file
6
js/ckeditor/plugins/pastetools/filter/image.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
(function(){function f(b){var c=[],a=/(\{\\pict[^{}]+?|\{\\\*\\shppict\{\\pict\{\\\*[^*]+?)\\(?:jpeg|png)blip/,d;b=b.match(new RegExp("(?:("+a.source+"))([\\da-fA-F\\s]+)\\}","g"));if(!b)return c;for(var e=0;e<b.length;e++)if(a.test(b[e])){if(-1!==b[e].indexOf("\\pngblip"))d="image/png";else if(-1!==b[e].indexOf("\\jpegblip"))d="image/jpeg";else continue;c.push({hex:d?b[e].replace(a,"").replace(/[^\da-fA-F]/g,""):null,type:d})}return c}function g(b){for(var c=/<img[^>]+src="([^"]+)[^>]+/g,a=[],d;d=
|
||||
c.exec(b);)a.push(d[1]);return a}CKEDITOR.pasteFilters.image=function(b,c,a){var d=[];if(!a)return b;c=g(b);if(0===c.length)return b;a=f(a);if(0===a.length)return b;CKEDITOR.tools.array.forEach(a,function(a){d.push(a.type?"data:"+a.type+";base64,"+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this);if(c.length===d.length)for(a=0;a<c.length;a++)0===c[a].indexOf("file://")&&d[a]&&(b=b.replace(c[a],d[a]));return b}})();
|
||||
5
js/ckeditor/skins/moono-lisa/dialog.css
Normal file
5
js/ckeditor/skins/moono-lisa/dialog_ie.css
Normal file
5
js/ckeditor/skins/moono-lisa/dialog_ie8.css
Normal file
5
js/ckeditor/skins/moono-lisa/dialog_iequirks.css
Normal file
5
js/ckeditor/skins/moono-lisa/editor.css
Normal file
5
js/ckeditor/skins/moono-lisa/editor_gecko.css
Normal file
5
js/ckeditor/skins/moono-lisa/editor_ie.css
Normal file
5
js/ckeditor/skins/moono-lisa/editor_ie8.css
Normal file
5
js/ckeditor/skins/moono-lisa/editor_iequirks.css
Normal file
BIN
js/ckeditor/skins/moono-lisa/icons.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
js/ckeditor/skins/moono-lisa/icons_hidpi.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
js/ckeditor/skins/moono-lisa/images/arrow.png
Normal file
|
After Width: | Height: | Size: 191 B |
BIN
js/ckeditor/skins/moono-lisa/images/close.png
Normal file
|
After Width: | Height: | Size: 615 B |
BIN
js/ckeditor/skins/moono-lisa/images/hidpi/close.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
js/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
js/ckeditor/skins/moono-lisa/images/hidpi/lock.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
js/ckeditor/skins/moono-lisa/images/hidpi/refresh.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
js/ckeditor/skins/moono-lisa/images/lock-open.png
Normal file
|
After Width: | Height: | Size: 511 B |
BIN
js/ckeditor/skins/moono-lisa/images/lock.png
Normal file
|
After Width: | Height: | Size: 506 B |
BIN
js/ckeditor/skins/moono-lisa/images/refresh.png
Normal file
|
After Width: | Height: | Size: 757 B |
BIN
js/ckeditor/skins/moono-lisa/images/spinner.gif
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
46
js/ckeditor/skins/moono-lisa/readme.md
Normal file
@@ -0,0 +1,46 @@
|
||||
"Moono-lisa" Skin
|
||||
=================
|
||||
|
||||
This skin has been made a **default skin** starting from CKEditor 4.6.0 and is maintained by the core developers.
|
||||
|
||||
For more information about skins, please check the [CKEditor Skin SDK](https://ckeditor.com/docs/ckeditor4/latest/guide/skin_sdk_intro.html)
|
||||
documentation.
|
||||
|
||||
Features
|
||||
-------------------
|
||||
"Moono-lisa" is a monochromatic skin, which offers a modern, flat and minimalistic look which blends very well in modern design.
|
||||
It comes with the following features:
|
||||
|
||||
- Chameleon feature with brightness.
|
||||
- High-contrast compatibility.
|
||||
- Graphics source provided in SVG.
|
||||
|
||||
Directory Structure
|
||||
-------------------
|
||||
|
||||
CSS parts:
|
||||
- **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance,
|
||||
- **mainui.css**: the file contains styles of entire editor outline structures,
|
||||
- **toolbar.css**: the file contains styles of the editor toolbar space (top),
|
||||
- **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar,
|
||||
- **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded
|
||||
until the first panel open up,
|
||||
- **elementspath.css**: the file contains styles of the editor elements path bar (bottom),
|
||||
- **menu.css**: the file contains styles of all editor menus including context menu and button drop-down,
|
||||
it's not loaded until the first menu open up,
|
||||
- **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open,
|
||||
- **reset.css**: the file defines the basis of style resets among all editor UI spaces,
|
||||
- **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference,
|
||||
- **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks.
|
||||
|
||||
Other parts:
|
||||
- **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature,
|
||||
- **images/**: contains a fill general used images,
|
||||
- **dev/**: contains SVG and PNG source of the skin icons.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
|
||||
|
||||
For licensing, see LICENSE.md or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license)
|
||||