This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://sme10.lists2.roe3.org/guppy/inc/ckeditor/plugins/ckawesome/plugin.js'
/**
* CKAwesome
* =========
* http://blackdevelop.com/io/ckawesome/
*
* Copyright (C) 2017 by Blackdevelop.com
* Licence under GNU GPL v3.
*/
CKEDITOR.on('instanceReady',function () { CKEDITOR.document.appendStyleSheet(CKEDITOR.plugins.getPath('ckawesome') + 'resources/select2/select2.full.min.css'); });
CKEDITOR.on('instanceReady',function () { CKEDITOR.document.appendStyleSheet(CKEDITOR.plugins.getPath('ckawesome') + 'dialogs/ckawesome.css'); });
CKEDITOR.scriptLoader.load(CKEDITOR.plugins.getPath('ckawesome') + 'resources/select2/select2.full.min.js');
CKEDITOR.dtd.$removeEmpty.span = 0;
CKEDITOR.plugins.add('ckawesome', {
requires: 'colordialog',
icons: 'ckawesome',
init: function(editor) {
var config = editor.config;
editor.fontawesomePath = config.fontawesomePath ? config.fontawesomePath : '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css';
CKEDITOR.document.appendStyleSheet(editor.fontawesomePath);
if( editor.addContentsCss ) {
editor.addContentsCss(editor.fontawesomePath);
}
CKEDITOR.dialog.add('ckawesomeDialog', this.path + 'dialogs/ckawesome.js');
editor.addCommand( 'ckawesome', new CKEDITOR.dialogCommand( 'ckawesomeDialog', { allowedContent: 'span[class,style]{color,font-size}(*);' }));
editor.ui.addButton( 'ckawesome', {
label: 'Insert CKAwesome',
command: 'ckawesome',
toolbar: 'insert',
});
}
});