| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/umedia3/js/ckeditor/_source/plugins/pastefromword/ |
Upload File : |
/*
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;