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

Version Path
browsercms-3.3.4 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.4.0.rc2 vendor/assets/javascripts/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.4.0.rc1 vendor/assets/javascripts/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.3.3 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.5 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.4 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.3.2 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.3.1 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.3.0 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.3 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.3.0.beta public/bcms/ckeditor/plugins/pastefromword/plugin.js
bcms_content_syncing-1.0.0 public/bcms/ckeditor/plugins/pastefromword/plugin.js
drujensen-browsercms-3.2.0 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercmsi-3.1.2 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.2 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.1 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercmsi-3.1.1 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercmsi-3.1.0 public/bcms/ckeditor/plugins/pastefromword/plugin.js
browsercms-3.1.0 public/bcms/ckeditor/plugins/pastefromword/plugin.js
bcms_fckeditor-1.0.1 public/bcms/ckeditor/plugins/pastefromword/plugin.js