Sha256: 74f3fc65c00401c25857892981b0fec68a2738126a26aa7e11fc0cb42a743720
Contents?: true
Size: 1.53 KB
Versions: 22
Compression:
Stored size: 1.53 KB
Contents
/* Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'pastefromword', { init : function( editor ) { // Register the command. editor.addCommand( 'pastefromword', new CKEDITOR.dialogCommand( 'pastefromword' ) ); // Register the toolbar button. editor.ui.addButton( 'PasteFromWord', { label : editor.lang.pastefromword.toolbar, command : 'pastefromword' } ); // Register the dialog. CKEDITOR.dialog.add( 'pastefromword', this.path + 'dialogs/pastefromword.js' ); } } ); /** * Whether the "Ignore font face definitions" checkbox is enabled by default in * the Paste from Word dialog. * @type Boolean * @default true * @example * config.pasteFromWordIgnoreFontFace = false; */ CKEDITOR.config.pasteFromWordIgnoreFontFace = true; /** * Whether the "Remove styles definitions" checkbox is enabled by default in * the Paste from Word dialog. * @type Boolean * @default false * @example * config.pasteFromWordRemoveStyle = true; */ CKEDITOR.config.pasteFromWordRemoveStyle = false; /** * Whether to keep structure markup (<h1>, <h2>, etc.) or replace * it with elements that create more similar pasting results when pasting * content from Microsoft Word into the Paste from Word dialog. * @type Boolean * @default false * @example * config.pasteFromWordKeepsStructure = true; */ CKEDITOR.config.pasteFromWordKeepsStructure = false;
Version data entries
22 entries across 22 versions & 6 rubygems