| 1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- /**
- * @fileOverview Rich code snippets for CKEditor.
- */
- (function() {
- CKEDITOR.plugins.add( 'abisignet', {
- icons: 'abisignet', // %REMOVE_LINE_CORE%
- hidpi: true, // %REMOVE_LINE_CORE%
- isSupportedEnvironment: function() {
- return !CKEDITOR.env.ie || CKEDITOR.env.version > 8;
- },
- onLoad: function() {},
- init: function( editor ) {
- editor.addCommand('abisignet', {
- exec: function( editor ) {
- editor.focus();
- editor.fire( 'saveSnapshot' );
- editor.insertHtml('abi»');
- editor.fire( 'saveSnapshot' );
- }
- });
- editor.ui.addButton && editor.ui.addButton( 'AbiSignet', {
- label: 'Abi Signet hinzufügen',
- command: 'abisignet',
- toolbar: 'insert,10'
- });
- }
- });
- })();
|