another ckeditor skin added
5
include/thirdparty/ckeditor/skins/office2013/dialog.css
vendored
Normal file
5
include/thirdparty/ckeditor/skins/office2013/editor.css
vendored
Normal file
BIN
include/thirdparty/ckeditor/skins/office2013/icons.png
vendored
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
include/thirdparty/ckeditor/skins/office2013/icons_hidpi.png
vendored
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
include/thirdparty/ckeditor/skins/office2013/images/arrow.png
vendored
Normal file
After Width: | Height: | Size: 261 B |
BIN
include/thirdparty/ckeditor/skins/office2013/images/close.png
vendored
Normal file
After Width: | Height: | Size: 176 B |
BIN
include/thirdparty/ckeditor/skins/office2013/images/hidpi/close.png
vendored
Normal file
After Width: | Height: | Size: 243 B |
BIN
include/thirdparty/ckeditor/skins/office2013/images/hidpi/lock-open.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
include/thirdparty/ckeditor/skins/office2013/images/hidpi/lock.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
include/thirdparty/ckeditor/skins/office2013/images/hidpi/refresh.png
vendored
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
include/thirdparty/ckeditor/skins/office2013/images/lock-open.png
vendored
Normal file
After Width: | Height: | Size: 736 B |
BIN
include/thirdparty/ckeditor/skins/office2013/images/lock.png
vendored
Normal file
After Width: | Height: | Size: 728 B |
BIN
include/thirdparty/ckeditor/skins/office2013/images/refresh.png
vendored
Normal file
After Width: | Height: | Size: 953 B |
5
include/thirdparty/ckeditor/skins/office2013/skin.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.skin.name="office2013";CKEDITOR.skin.ua_editor="";CKEDITOR.skin.ua_dialog="";CKEDITOR.skin.chameleon=function(){return""};
|
|
@ -584,8 +584,8 @@ namespace gp\tool{
|
|||
echo 'CKEDITOR.on("instanceReady", function(evt){';
|
||||
/* echo 'console.log("triggered editor:loaded event with ", { section: evt.editor.element["$"], section_type: "other", label: evt.editor.name });'; */
|
||||
echo '$(document).trigger("editor:loaded", { editor: evt.editor, section: evt.editor.element["$"], section_type: "other", label: evt.editor.name });';
|
||||
echo '});';
|
||||
echo '});';
|
||||
echo '});';
|
||||
|
||||
echo "\n\n";
|
||||
$page->jQueryCode .= ob_get_clean();
|
||||
|
@ -617,7 +617,7 @@ namespace gp\tool{
|
|||
*
|
||||
*/
|
||||
public static function CKConfig($options = array(), $config_name = 'config', &$plugins = array()) {
|
||||
global $config;
|
||||
global $config, $cskin;
|
||||
$plugins = array();
|
||||
|
||||
// Read the skin value from config.js
|
||||
|
@ -656,13 +656,10 @@ namespace gp\tool{
|
|||
|
||||
);
|
||||
|
||||
if( $config['langeditor'] == 'inherit' ){
|
||||
$defaults['language'] = $config['language'];
|
||||
}else{
|
||||
$defaults['language'] = $config['langeditor'];
|
||||
}
|
||||
$defaults['language'] = ($config['langeditor'] == 'inherit') ? $config['language'] : $config['langeditor'];
|
||||
|
||||
// 3) $options
|
||||
$defaults['skin'] = $cskin;
|
||||
$options += $defaults;
|
||||
|
||||
|
||||
|
|