From aedb6521c23a81ccb889827a7ccc7b42eb93d14f Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 24 Jun 2015 21:48:37 -0400 Subject: [PATCH] vanilla ckeditor-4.3.2_full --- CHANGES.md | 36 ++ LICENSE.md | 2 +- README.md | 2 +- adapters/jquery.js | 2 +- build-config.js | 100 ++- ckeditor.js | 679 ++++++++++---------- config.js | 4 +- contents.css | 6 +- lang/af.js | 4 +- lang/ar.js | 4 +- lang/bg.js | 4 +- lang/bn.js | 4 +- lang/bs.js | 4 +- lang/ca.js | 4 +- lang/cs.js | 4 +- lang/cy.js | 4 +- lang/da.js | 4 +- lang/de.js | 4 +- lang/el.js | 4 +- lang/en-au.js | 4 +- lang/en-ca.js | 4 +- lang/en-gb.js | 4 +- lang/en.js | 4 +- lang/eo.js | 4 +- lang/es.js | 4 +- lang/et.js | 4 +- lang/eu.js | 4 +- lang/fa.js | 4 +- lang/fi.js | 4 +- lang/fo.js | 4 +- lang/fr-ca.js | 4 +- lang/fr.js | 4 +- lang/gl.js | 4 +- lang/gu.js | 4 +- lang/he.js | 4 +- lang/hi.js | 4 +- lang/hr.js | 4 +- lang/hu.js | 4 +- lang/id.js | 4 +- lang/is.js | 4 +- lang/it.js | 4 +- lang/ja.js | 4 +- lang/ka.js | 4 +- lang/km.js | 4 +- lang/ko.js | 4 +- lang/ku.js | 4 +- lang/lt.js | 4 +- lang/lv.js | 4 +- lang/mk.js | 4 +- lang/mn.js | 4 +- lang/ms.js | 4 +- lang/nb.js | 4 +- lang/nl.js | 4 +- lang/no.js | 4 +- lang/pl.js | 4 +- lang/pt-br.js | 4 +- lang/pt.js | 4 +- lang/ro.js | 4 +- lang/ru.js | 4 +- lang/si.js | 4 +- lang/sk.js | 4 +- lang/sl.js | 4 +- lang/sq.js | 4 +- lang/sr-latn.js | 4 +- lang/sr.js | 4 +- lang/sv.js | 4 +- lang/th.js | 4 +- lang/tr.js | 4 +- lang/ug.js | 4 +- lang/uk.js | 4 +- lang/vi.js | 4 +- lang/zh-cn.js | 4 +- lang/zh.js | 4 +- plugins/a11yhelp/dialogs/a11yhelp.js | 12 +- .../a11yhelp/dialogs/lang/_translationstatus.txt | 2 +- plugins/a11yhelp/dialogs/lang/ar.js | 6 +- plugins/a11yhelp/dialogs/lang/bg.js | 6 +- plugins/a11yhelp/dialogs/lang/ca.js | 6 +- plugins/a11yhelp/dialogs/lang/cs.js | 7 +- plugins/a11yhelp/dialogs/lang/cy.js | 6 +- plugins/a11yhelp/dialogs/lang/da.js | 6 +- plugins/a11yhelp/dialogs/lang/de.js | 6 +- plugins/a11yhelp/dialogs/lang/el.js | 7 +- plugins/a11yhelp/dialogs/lang/en.js | 6 +- plugins/a11yhelp/dialogs/lang/eo.js | 6 +- plugins/a11yhelp/dialogs/lang/es.js | 6 +- plugins/a11yhelp/dialogs/lang/et.js | 6 +- plugins/a11yhelp/dialogs/lang/fa.js | 6 +- plugins/a11yhelp/dialogs/lang/fi.js | 6 +- plugins/a11yhelp/dialogs/lang/fr-ca.js | 6 +- plugins/a11yhelp/dialogs/lang/fr.js | 6 +- plugins/a11yhelp/dialogs/lang/gl.js | 6 +- plugins/a11yhelp/dialogs/lang/gu.js | 6 +- plugins/a11yhelp/dialogs/lang/he.js | 6 +- plugins/a11yhelp/dialogs/lang/hi.js | 6 +- plugins/a11yhelp/dialogs/lang/hr.js | 6 +- plugins/a11yhelp/dialogs/lang/hu.js | 6 +- plugins/a11yhelp/dialogs/lang/id.js | 6 +- plugins/a11yhelp/dialogs/lang/it.js | 6 +- plugins/a11yhelp/dialogs/lang/ja.js | 5 +- plugins/a11yhelp/dialogs/lang/km.js | 12 +- plugins/a11yhelp/dialogs/lang/ko.js | 8 +- plugins/a11yhelp/dialogs/lang/ku.js | 6 +- plugins/a11yhelp/dialogs/lang/lt.js | 6 +- plugins/a11yhelp/dialogs/lang/lv.js | 6 +- plugins/a11yhelp/dialogs/lang/mk.js | 6 +- plugins/a11yhelp/dialogs/lang/mn.js | 6 +- plugins/a11yhelp/dialogs/lang/nb.js | 6 +- plugins/a11yhelp/dialogs/lang/nl.js | 8 +- plugins/a11yhelp/dialogs/lang/no.js | 6 +- plugins/a11yhelp/dialogs/lang/pl.js | 7 +- plugins/a11yhelp/dialogs/lang/pt-br.js | 6 +- plugins/a11yhelp/dialogs/lang/pt.js | 6 +- plugins/a11yhelp/dialogs/lang/ro.js | 15 +- plugins/a11yhelp/dialogs/lang/ru.js | 6 +- plugins/a11yhelp/dialogs/lang/si.js | 6 +- plugins/a11yhelp/dialogs/lang/sk.js | 6 +- plugins/a11yhelp/dialogs/lang/sl.js | 6 +- plugins/a11yhelp/dialogs/lang/sq.js | 6 +- plugins/a11yhelp/dialogs/lang/sr-latn.js | 6 +- plugins/a11yhelp/dialogs/lang/sr.js | 6 +- plugins/a11yhelp/dialogs/lang/sv.js | 6 +- plugins/a11yhelp/dialogs/lang/th.js | 6 +- plugins/a11yhelp/dialogs/lang/tr.js | 6 +- plugins/a11yhelp/dialogs/lang/ug.js | 6 +- plugins/a11yhelp/dialogs/lang/uk.js | 6 +- plugins/a11yhelp/dialogs/lang/vi.js | 6 +- plugins/a11yhelp/dialogs/lang/zh-cn.js | 6 +- plugins/a11yhelp/dialogs/lang/zh.js | 7 +- plugins/about/dialogs/about.js | 2 +- plugins/clipboard/dialogs/paste.js | 2 +- plugins/colordialog/dialogs/colordialog.js | 2 +- plugins/dialog/dialogDefinition.js | 2 +- plugins/find/dialogs/find.js | 2 +- plugins/flash/dialogs/flash.js | 2 +- plugins/forms/dialogs/button.js | 2 +- plugins/forms/dialogs/checkbox.js | 2 +- plugins/forms/dialogs/form.js | 2 +- plugins/forms/dialogs/hiddenfield.js | 2 +- plugins/forms/dialogs/radio.js | 2 +- plugins/forms/dialogs/select.js | 2 +- plugins/forms/dialogs/textarea.js | 2 +- plugins/forms/dialogs/textfield.js | 2 +- plugins/iframe/dialogs/iframe.js | 2 +- plugins/image/dialogs/image.js | 2 +- plugins/link/dialogs/anchor.js | 2 +- plugins/link/dialogs/link.js | 2 +- plugins/liststyle/dialogs/liststyle.js | 2 +- plugins/pastefromword/filter/default.js | 2 +- plugins/smiley/dialogs/smiley.js | 2 +- .../dialogs/lang/_translationstatus.txt | 2 +- plugins/specialchar/dialogs/lang/ar.js | 2 +- plugins/specialchar/dialogs/lang/bg.js | 2 +- plugins/specialchar/dialogs/lang/ca.js | 2 +- plugins/specialchar/dialogs/lang/cs.js | 2 +- plugins/specialchar/dialogs/lang/cy.js | 2 +- plugins/specialchar/dialogs/lang/de.js | 2 +- plugins/specialchar/dialogs/lang/el.js | 2 +- plugins/specialchar/dialogs/lang/en.js | 2 +- plugins/specialchar/dialogs/lang/eo.js | 2 +- plugins/specialchar/dialogs/lang/es.js | 2 +- plugins/specialchar/dialogs/lang/et.js | 2 +- plugins/specialchar/dialogs/lang/fa.js | 2 +- plugins/specialchar/dialogs/lang/fi.js | 2 +- plugins/specialchar/dialogs/lang/fr-ca.js | 2 +- plugins/specialchar/dialogs/lang/fr.js | 2 +- plugins/specialchar/dialogs/lang/gl.js | 2 +- plugins/specialchar/dialogs/lang/he.js | 2 +- plugins/specialchar/dialogs/lang/hr.js | 2 +- plugins/specialchar/dialogs/lang/hu.js | 2 +- plugins/specialchar/dialogs/lang/id.js | 2 +- plugins/specialchar/dialogs/lang/it.js | 2 +- plugins/specialchar/dialogs/lang/ja.js | 2 +- plugins/specialchar/dialogs/lang/km.js | 2 +- plugins/specialchar/dialogs/lang/ku.js | 2 +- plugins/specialchar/dialogs/lang/lv.js | 2 +- plugins/specialchar/dialogs/lang/nb.js | 2 +- plugins/specialchar/dialogs/lang/nl.js | 2 +- plugins/specialchar/dialogs/lang/no.js | 2 +- plugins/specialchar/dialogs/lang/pl.js | 2 +- plugins/specialchar/dialogs/lang/pt-br.js | 2 +- plugins/specialchar/dialogs/lang/pt.js | 2 +- plugins/specialchar/dialogs/lang/ru.js | 2 +- plugins/specialchar/dialogs/lang/si.js | 2 +- plugins/specialchar/dialogs/lang/sk.js | 2 +- plugins/specialchar/dialogs/lang/sl.js | 2 +- plugins/specialchar/dialogs/lang/sq.js | 2 +- plugins/specialchar/dialogs/lang/sv.js | 2 +- plugins/specialchar/dialogs/lang/th.js | 2 +- plugins/specialchar/dialogs/lang/tr.js | 2 +- plugins/specialchar/dialogs/lang/ug.js | 2 +- plugins/specialchar/dialogs/lang/uk.js | 2 +- plugins/specialchar/dialogs/lang/vi.js | 2 +- plugins/specialchar/dialogs/lang/zh-cn.js | 2 +- plugins/specialchar/dialogs/lang/zh.js | 2 +- plugins/specialchar/dialogs/specialchar.js | 2 +- plugins/table/dialogs/table.js | 2 +- plugins/tabletools/dialogs/tableCell.js | 2 +- plugins/templates/dialogs/templates.css | 2 +- plugins/templates/dialogs/templates.js | 2 +- plugins/templates/templates/default.js | 2 +- samples/ajax.html | 6 +- samples/api.html | 4 +- samples/appendto.html | 6 +- samples/assets/outputxhtml/outputxhtml.css | 2 +- samples/assets/posteddata.php | 4 +- samples/assets/uilanguages/languages.js | 2 +- samples/datafiltering.html | 6 +- samples/divreplace.html | 6 +- samples/index.html | 6 +- samples/inlineall.html | 12 +- samples/inlinebycode.html | 6 +- samples/inlinetextarea.html | 6 +- samples/jquery.html | 4 +- samples/plugins/dialog/assets/my_dialog.js | 4 +- samples/plugins/dialog/dialog.html | 6 +- samples/plugins/enterkey/enterkey.html | 6 +- samples/plugins/htmlwriter/outputforflash.html | 6 +- samples/plugins/htmlwriter/outputhtml.html | 6 +- samples/plugins/magicline/magicline.html | 6 +- samples/plugins/toolbar/toolbar.html | 6 +- samples/plugins/wysiwygarea/fullpage.html | 6 +- samples/readonly.html | 6 +- samples/replacebyclass.html | 6 +- samples/replacebycode.html | 6 +- samples/sample.css | 4 +- samples/sample.js | 6 +- samples/sample_posteddata.php | 2 +- samples/tabindex.html | 6 +- samples/uicolor.html | 6 +- samples/uilanguages.html | 6 +- samples/xhtmlstyle.html | 6 +- skins/moono/dialog.css | 2 +- skins/moono/dialog_ie.css | 2 +- skins/moono/dialog_ie7.css | 2 +- skins/moono/dialog_ie8.css | 2 +- skins/moono/dialog_iequirks.css | 2 +- skins/moono/dialog_opera.css | 2 +- skins/moono/editor.css | 4 +- skins/moono/editor_gecko.css | 4 +- skins/moono/editor_ie.css | 4 +- skins/moono/editor_ie7.css | 4 +- skins/moono/editor_ie8.css | 4 +- skins/moono/editor_iequirks.css | 4 +- skins/moono/readme.md | 2 +- styles.js | 4 +- 246 files changed, 978 insertions(+), 829 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1316da9..261439f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,42 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.3.2 + +* [#11331](http://dev.ckeditor.com/ticket/11331): A menu button will have a changed label when selected instead of using the `aria-pressed` attribute. +* [#11177](http://dev.ckeditor.com/ticket/11177): Widget drag handler improvements: + * [#11176](http://dev.ckeditor.com/ticket/11176): Fixed: Initial position is not updated when the widget data object is empty. + * [#11001](http://dev.ckeditor.com/ticket/11001): Fixed: Multiple synchronous layout recalculations are caused by initial drag handler positioning causing performance issues. + * [#11161](http://dev.ckeditor.com/ticket/11161): Fixed: Drag handler is not repositioned in various situations. + * [#11281](http://dev.ckeditor.com/ticket/11281): Fixed: Drag handler and mask are duplicated after widget reinitialization. +* [#11207](http://dev.ckeditor.com/ticket/11207): [Firefox] Fixed: Misplaced [Enhanced Image](http://ckeditor.com/addon/image2) resizer in the inline editor. +* [#11102](http://dev.ckeditor.com/ticket/11102): `CKEDITOR.template` improvements: + * [#11102](http://dev.ckeditor.com/ticket/11102): Added newline character support. + * [#11216](http://dev.ckeditor.com/ticket/11216): Added "\\'" substring support. +* [#11121](http://dev.ckeditor.com/ticket/11121): [Firefox] Fixed: High Contrast mode is enabled when the editor is loaded in a hidden iframe. +* [#11350](http://dev.ckeditor.com/ticket/11350): The default value of [`config.contentsCss`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss) is affected by [`CKEDITOR.getUrl`](http://docs.ckeditor.com/#!/api/CKEDITOR-method-getUrl). +* [#11097](http://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](http://ckeditor.com/addon/autogrow) plugin performance when dealing with very big tables. +* [#11290](http://dev.ckeditor.com/ticket/11290): Removed redundant code in the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin. +* [#11133](http://dev.ckeditor.com/ticket/11133): [Page Break](http://ckeditor.com/addon/pagebreak) becomes editable if pasted. +* [#11126](http://dev.ckeditor.com/ticket/11126): Fixed: Native Undo executed once the bottom of the snapshot stack is reached. +* [#11131](http://dev.ckeditor.com/ticket/11131): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Error thrown when switching to source mode if the selection was in widget's nested editable. +* [#11139](http://dev.ckeditor.com/ticket/11139): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Elements Path is not cleared after switching to source mode. +* [#10778](http://dev.ckeditor.com/ticket/10778): Fixed a bug with range enlargement. The range no longer expands to visible whitespace. +* [#11146](http://dev.ckeditor.com/ticket/11146): [IE] Fixed: Preview window switches Internet Explorer to Quirks Mode. +* [#10762](http://dev.ckeditor.com/ticket/10762): [IE] Fixed: JavaScript code displayed in preview window's URL bar. +* [#11186](http://dev.ckeditor.com/ticket/11186): Introduced the [`widgets.repository.addUpcastCallback`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-addUpcastCallback) method that allows to block upcasting given element to a widget. +* [#11307](http://dev.ckeditor.com/ticket/11307): Fixed: Paste as Plain Text conflict with the [MooTools](http://mootools.net) library. +* [#11140](http://dev.ckeditor.com/ticket/11140): [IE11] Fixed: Anchors are not draggable. +* [#11379](http://dev.ckeditor.com/ticket/11379): Changed default contents `line-height` to unitless values to avoid huge text overlapping (like in [#9696](http://dev.ckeditor.com/ticket/9696)). +* [#10787](http://dev.ckeditor.com/ticket/10787): [Firefox] Fixed: Broken replacement of text while pasting into `div`-based editor. +* [#10884](http://dev.ckeditor.com/ticket/10884): Widgets integration with the [Show Blocks](http://ckeditor.com/addon/showblocks) plugin. +* [#11021](http://dev.ckeditor.com/ticket/11021): Fixed: An error thrown when selecting entire editable contents while fake selection is on. +* [#11086](http://dev.ckeditor.com/ticket/11086): [IE8] Re-enable inline widgets drag&drop in Internet Explorer 8. +* [#11372](http://dev.ckeditor.com/ticket/11372): Widgets: Special characters encoded twice in nested editables. +* [#10068](http://dev.ckeditor.com/ticket/10068): Fixed: Support for protocol-relative URLs. +* [#11283](http://dev.ckeditor.com/ticket/11283): [Enhanced Image](http://ckeditor.com/addon/image2): A `
` element with `text-align: center` and an image inside is not recognised correctly. +* [#11196](http://dev.ckeditor.com/ticket/11196): [Accessibility Instructions](http://ckeditor.com/addon/a11yhelp): Allowed additional keyboard button labels to be translated in the dialog window. + ## CKEditor 4.3.1 **Important Notes:** diff --git a/LICENSE.md b/LICENSE.md index d447c67..b6e0b9c 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -2,7 +2,7 @@ Software License Agreement ========================== CKEditor - The text editor for Internet - http://ckeditor.com -Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. Licensed under the terms of any of the following licenses at your choice: diff --git a/README.md b/README.md index 378c267..c5a55cd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ CKEditor 4 ========== -Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. http://ckeditor.com - See LICENSE.md for license information. CKEditor is a text editor to be used inside web pages. It's not a replacement diff --git a/adapters/jquery.js b/adapters/jquery.js index 2851ea4..3ec908b 100644 --- a/adapters/jquery.js +++ b/adapters/jquery.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(a){CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;"undefined"!=typeof a&&(a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},ckeditor:function(g,d){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g))var k=d,d=g,g=k;var i=[],d=d||{};this.each(function(){var b= diff --git a/build-config.js b/build-config.js index 860ab93..68ed9fe 100644 --- a/build-config.js +++ b/build-config.js @@ -1,14 +1,25 @@ - -/** - * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.html or http://ckeditor.com/license +/** + * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. - * You may re-use it at any time at http://ckeditor.com/builder to build CKEditor again. - * - * NOTE: + * You may re-use it at any time to build CKEditor again. + * + * If you would like to build CKEditor online again + * (for example to upgrade), visit one the following links: + * + * (1) http://ckeditor.com/builder + * Visit online builder to build CKEditor from scratch. + * + * (2) http://ckeditor.com/builder/0a65b3bcdcd34789da36844fa1d0eb27 + * Visit online builder to build CKEditor, starting with the same setup as before. + * + * (3) http://ckeditor.com/builder/download/0a65b3bcdcd34789da36844fa1d0eb27 + * Straight download link to the latest version of CKEditor (Optimized) with the same setup as before. + * + * NOTE: * This file is not used by CKEditor, you may remove it. * Changing this file will not change your CKEditor configuration. */ @@ -24,20 +35,17 @@ var CKBUILDER_CONFIG = { '.mailmap' ], plugins : { - 'about' : 1, 'a11yhelp' : 1, - 'dialogadvtab' : 1, + 'about' : 1, 'basicstyles' : 1, 'bidi' : 1, 'blockquote' : 1, 'clipboard' : 1, 'colorbutton' : 1, 'colordialog' : 1, - 'templates' : 1, 'contextmenu' : 1, + 'dialogadvtab' : 1, 'div' : 1, - 'resize' : 1, - 'toolbar' : 1, 'elementspath' : 1, 'enterkey' : 1, 'entities' : 1, @@ -46,16 +54,14 @@ var CKBUILDER_CONFIG = { 'flash' : 1, 'floatingspace' : 1, 'font' : 1, - 'forms' : 1, 'format' : 1, + 'forms' : 1, 'horizontalrule' : 1, 'htmlwriter' : 1, 'iframe' : 1, - 'wysiwygarea' : 1, 'image' : 1, 'indentblock' : 1, 'indentlist' : 1, - 'smiley' : 1, 'justify' : 1, 'language' : 1, 'link' : 1, @@ -65,103 +71,95 @@ var CKBUILDER_CONFIG = { 'maximize' : 1, 'newpage' : 1, 'pagebreak' : 1, - 'pastetext' : 1, 'pastefromword' : 1, + 'pastetext' : 1, 'preview' : 1, 'print' : 1, 'removeformat' : 1, + 'resize' : 1, 'save' : 1, + 'scayt' : 1, 'selectall' : 1, 'showblocks' : 1, 'showborders' : 1, + 'smiley' : 1, 'sourcearea' : 1, 'specialchar' : 1, - 'scayt' : 1, 'stylescombo' : 1, 'tab' : 1, 'table' : 1, 'tabletools' : 1, + 'templates' : 1, + 'toolbar' : 1, 'undo' : 1, 'wsc' : 1, - 'dialog' : 1, - 'dialogui' : 1, - 'panelbutton' : 1, - 'button' : 1, - 'floatpanel' : 1, - 'panel' : 1, - 'menu' : 1, - 'popup' : 1, - 'fakeobjects' : 1, - 'richcombo' : 1, - 'listblock' : 1, - 'indent' : 1, - 'menubutton' : 1 + 'wysiwygarea' : 1 }, languages : { 'af' : 1, - 'sq' : 1, 'ar' : 1, - 'eu' : 1, + 'bg' : 1, 'bn' : 1, 'bs' : 1, - 'bg' : 1, 'ca' : 1, - 'zh-cn' : 1, - 'zh' : 1, - 'hr' : 1, 'cs' : 1, + 'cy' : 1, 'da' : 1, - 'nl' : 1, + 'de' : 1, + 'el' : 1, 'en' : 1, 'en-au' : 1, 'en-ca' : 1, 'en-gb' : 1, 'eo' : 1, + 'es' : 1, 'et' : 1, - 'fo' : 1, + 'eu' : 1, + 'fa' : 1, 'fi' : 1, + 'fo' : 1, 'fr' : 1, 'fr-ca' : 1, 'gl' : 1, - 'ka' : 1, - 'de' : 1, - 'el' : 1, 'gu' : 1, 'he' : 1, 'hi' : 1, + 'hr' : 1, 'hu' : 1, - 'is' : 1, 'id' : 1, + 'is' : 1, 'it' : 1, 'ja' : 1, + 'ka' : 1, 'km' : 1, 'ko' : 1, 'ku' : 1, - 'lv' : 1, 'lt' : 1, + 'lv' : 1, 'mk' : 1, - 'ms' : 1, 'mn' : 1, - 'no' : 1, + 'ms' : 1, 'nb' : 1, - 'fa' : 1, + 'nl' : 1, + 'no' : 1, 'pl' : 1, - 'pt-br' : 1, 'pt' : 1, + 'pt-br' : 1, 'ro' : 1, 'ru' : 1, - 'sr' : 1, - 'sr-latn' : 1, 'si' : 1, 'sk' : 1, 'sl' : 1, - 'es' : 1, + 'sq' : 1, + 'sr' : 1, + 'sr-latn' : 1, 'sv' : 1, 'th' : 1, 'tr' : 1, 'ug' : 1, 'uk' : 1, 'vi' : 1, - 'cy' : 1 + 'zh' : 1, + 'zh-cn' : 1 } }; \ No newline at end of file diff --git a/ckeditor.js b/ckeditor.js index 7aa6c2c..39e27dc 100644 --- a/ckeditor.js +++ b/ckeditor.js @@ -1,15 +1,15 @@ /* -Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ -(function(){if(window.CKEDITOR&&window.CKEDITOR.dom)return;window.CKEDITOR||(window.CKEDITOR=function(){var a={timestamp:"DBAA",version:"4.3.1",revision:"3ecd0b8",rnd:Math.floor(900*Math.random())+100,_:{pending:[]},status:"unloaded",basePath:function(){var b=window.CKEDITOR_BASEPATH||"";if(!b)for(var d=document.getElementsByTagName("script"),a=0;a=0;s--)if(o[s].priority<=n){o.splice(s+1,0,i);return{removeListener:j}}o.unshift(i)}return{removeListener:j}}, -once:function(){var b=arguments[1];arguments[1]=function(d){d.removeListener();return b.apply(this,arguments)};return this.on.apply(this,arguments)},capture:function(){CKEDITOR.event.useCapture=1;var b=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return b},fire:function(){var b=0,d=function(){b=1},a=0,g=function(){a=1};return function(n,i,j){var o=e(this)[n],n=b,q=a;b=a=0;if(o){var s=o.listeners;if(s.length)for(var s=s.slice(0),u,f=0;f=0&&a.listeners.splice(g,1)}},removeAllListeners:function(){var b=e(this),d;for(d in b)delete b[d]},hasListeners:function(b){return(b=e(this)[b])&&b.listeners.length>0}}}()); +return{define:function(b,d){var g=a.call(this,b);CKEDITOR.tools.extend(g,d,true)},on:function(b,d,g,e,m){function j(a,f,n,r){a={name:b,sender:this,editor:a,data:f,listenerData:e,stop:n,cancel:r,removeListener:i};return d.call(g,a)===false?false:a.data}function i(){r.removeListener(b,d)}var n=a.call(this,b);if(n.getListenerIndex(d)<0){n=n.listeners;g||(g=this);isNaN(m)&&(m=10);var r=this;j.fn=d;j.priority=m;for(var o=n.length-1;o>=0;o--)if(n[o].priority<=m){n.splice(o+1,0,j);return{removeListener:i}}n.unshift(j)}return{removeListener:i}}, +once:function(){var b=arguments[1];arguments[1]=function(d){d.removeListener();return b.apply(this,arguments)};return this.on.apply(this,arguments)},capture:function(){CKEDITOR.event.useCapture=1;var b=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return b},fire:function(){var b=0,d=function(){b=1},a=0,h=function(){a=1};return function(m,j,i){var n=e(this)[m],m=b,r=a;b=a=0;if(n){var o=n.listeners;if(o.length)for(var o=o.slice(0),u,f=0;f=0&&a.listeners.splice(h,1)}},removeAllListeners:function(){var b=e(this),d;for(d in b)delete b[d]},hasListeners:function(b){return(b=e(this)[b])&&b.listeners.length>0}}}()); CKEDITOR.editor||(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire=function(a,e){a in{instanceReady:1,loaded:1}&&(this[a]=true);return CKEDITOR.event.prototype.fire.call(this,a,e,this)},CKEDITOR.editor.prototype.fireOnce=function(a,e){a in{instanceReady:1,loaded:1}&&(this[a]=true);return CKEDITOR.event.prototype.fireOnce.call(this,a,e,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype)); CKEDITOR.env||(CKEDITOR.env=function(){var a=navigator.userAgent.toLowerCase(),e=window.opera,b={ie:a.indexOf("trident/")>-1,opera:!!e&&e.version,webkit:a.indexOf(" applewebkit/")>-1,air:a.indexOf(" adobeair/")>-1,mac:a.indexOf("macintosh")>-1,quirks:document.compatMode=="BackCompat"&&(!document.documentMode||document.documentMode<10),mobile:a.indexOf("mobile")>-1,iOS:/(ipad|iphone|ipod)/.test(a),isCustomDomain:function(){if(!this.ie)return false;var d=document.domain,b=window.location.hostname;return d!= b&&d!="["+b+"]"},secure:location.protocol=="https:"};b.gecko=navigator.product=="Gecko"&&!b.webkit&&!b.opera&&!b.ie;if(b.webkit)a.indexOf("chrome")>-1?b.chrome=true:b.safari=true;var c=0;if(b.ie){c=b.quirks||!document.documentMode?parseFloat(a.match(/msie (\d+)/)[1]):document.documentMode;b.ie9Compat=c==9;b.ie8Compat=c==8;b.ie7Compat=c==7;b.ie6Compat=c<7||b.quirks}if(b.gecko){var d=a.match(/rv:([\d\.]+)/);if(d){d=d[1].split(".");c=d[0]*1E4+(d[1]||0)*100+(d[2]||0)*1}}b.opera&&(c=parseFloat(e.version())); @@ -18,24 +18,24 @@ if(b.ie){b.cssClass=b.cssClass+(" cke_browser_ie"+(b.quirks||b.version<7?"6":b.v "unloaded"==CKEDITOR.status&&function(){CKEDITOR.event.implementOn(CKEDITOR);CKEDITOR.loadFullCore=function(){if(CKEDITOR.status!="basic_ready")CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var a=document.createElement("script");a.type="text/javascript";a.src=CKEDITOR.basePath+"ckeditor.js";document.getElementsByTagName("head")[0].appendChild(a)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=function(a){(this._.pending||(this._.pending=[])).push(a)};(function(){CKEDITOR.domReady(function(){var a= CKEDITOR.loadFullCore,e=CKEDITOR.loadFullCoreTimeout;if(a){CKEDITOR.status="basic_ready";a&&a._load?a():e&&setTimeout(function(){CKEDITOR.loadFullCore&&CKEDITOR.loadFullCore()},e*1E3)}})})();CKEDITOR.status="basic_loaded"}();CKEDITOR.dom={}; (function(){var a=[],e=CKEDITOR.env.gecko?"-moz-":CKEDITOR.env.webkit?"-webkit-":CKEDITOR.env.opera?"-o-":CKEDITOR.env.ie?"-ms-":"";CKEDITOR.on("reset",function(){a=[]});CKEDITOR.tools={arrayCompare:function(b,a){if(!b&&!a)return true;if(!b||!a||b.length!=a.length)return false;for(var d=0;d"+a+""):d.push('');return d.join("")},htmlEncode:function(b){return(""+b).replace(/&/g,"&").replace(/>/g,">").replace(//g,">")},htmlDecodeAttr:function(b){return b.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">")},getNextNumber:function(){var b=0;return function(){return++b}}(),getNextId:function(){return"cke_"+this.getNextNumber()},override:function(b,a){var d=a(b);d.prototype=b.prototype;return d},setTimeout:function(b,a,d,h,e){e||(e=window);d||(d=e);return e.setTimeout(function(){h?b.apply(d,[].concat(h)): -b.apply(d)},a||0)},trim:function(){var b=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(a){return a.replace(b,"")}}(),ltrim:function(){var b=/^[ \t\n\r]+/g;return function(a){return a.replace(b,"")}}(),rtrim:function(){var b=/[ \t\n\r]+$/g;return function(a){return a.replace(b,"")}}(),indexOf:function(b,a){if(typeof a=="function")for(var d=0,h=b.length;d=0?b[d]:null},bind:function(b,a){return function(){return b.apply(a,arguments)}},createClass:function(b){var a=b.$,d=b.base,h=b.privates||b._,e=b.proto,b=b.statics;!a&&(a=function(){d&&this.base.apply(this,arguments)});if(h)var n=a,a=function(){var d=this._||(this._={}),a;for(a in h){var b=h[a];d[a]=typeof b=="function"?CKEDITOR.tools.bind(b,this):b}n.apply(this,arguments)};if(d){a.prototype=this.prototypedCopy(d.prototype);a.prototype.constructor=a;a.base= +b instanceof String||b instanceof Number||b instanceof Boolean||b instanceof Date||b instanceof RegExp)return b;a=new b.constructor;for(d in b)a[d]=CKEDITOR.tools.clone(b[d]);return a},capitalize:function(b,a){return b.charAt(0).toUpperCase()+(a?b.slice(1):b.slice(1).toLowerCase())},extend:function(b){var a=arguments.length,d,g;if(typeof(d=arguments[a-1])=="boolean")a--;else if(typeof(d=arguments[a-2])=="boolean"){g=arguments[a-1];a=a-2}for(var e=1;e"+a+""):d.push('');return d.join("")},htmlEncode:function(b){return(""+b).replace(/&/g,"&").replace(/>/g,">").replace(//g,">")},htmlDecodeAttr:function(b){return b.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">")},getNextNumber:function(){var b=0;return function(){return++b}}(),getNextId:function(){return"cke_"+this.getNextNumber()},override:function(b,a){var d=a(b);d.prototype=b.prototype;return d},setTimeout:function(b,a,d,g,e){e||(e=window);d||(d=e);return e.setTimeout(function(){g?b.apply(d,[].concat(g)): +b.apply(d)},a||0)},trim:function(){var b=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(a){return a.replace(b,"")}}(),ltrim:function(){var b=/^[ \t\n\r]+/g;return function(a){return a.replace(b,"")}}(),rtrim:function(){var b=/[ \t\n\r]+$/g;return function(a){return a.replace(b,"")}}(),indexOf:function(b,a){if(typeof a=="function")for(var d=0,g=b.length;d=0?b[d]:null},bind:function(b,a){return function(){return b.apply(a,arguments)}},createClass:function(b){var a=b.$,d=b.base,g=b.privates||b._,e=b.proto,b=b.statics;!a&&(a=function(){d&&this.base.apply(this,arguments)});if(g)var m=a,a=function(){var d=this._||(this._={}),a;for(a in g){var b=g[a];d[a]=typeof b=="function"?CKEDITOR.tools.bind(b,this):b}m.apply(this,arguments)};if(d){a.prototype=this.prototypedCopy(d.prototype);a.prototype.constructor=a;a.base= d;a.baseProto=d.prototype;a.prototype.base=function(){this.base=d.prototype.base;d.apply(this,arguments);this.base=arguments.callee}}e&&this.extend(a.prototype,e,true);b&&this.extend(a,b,true);return a},addFunction:function(b,c){return a.push(function(){return b.apply(c||this,arguments)})-1},removeFunction:function(b){a[b]=null},callFunction:function(b){var c=a[b];return c&&c.apply(window,Array.prototype.slice.call(arguments,1))},cssLength:function(){var a=/^-?\d+\.?\d*px$/,c;return function(d){c= -CKEDITOR.tools.trim(d+"")+"px";return a.test(c)?c:d||""}}(),convertToPx:function(){var a;return function(c){if(!a){a=CKEDITOR.dom.element.createFromHtml('
',CKEDITOR.document);CKEDITOR.document.getBody().append(a)}if(!/%$/.test(c)){a.setStyle("width",c);return a.$.clientWidth}return c}}(),repeat:function(a,c){return Array(c+1).join(a)},tryThese:function(){for(var a,c=0,d=arguments.length;c
',CKEDITOR.document);CKEDITOR.document.getBody().append(a)}if(!/%$/.test(c)){a.setStyle("width",c);return a.$.clientWidth}return c}}(),repeat:function(a,c){return Array(c+1).join(a)},tryThese:function(){for(var a,c=0,d=arguments.length;c8)&&e)a=e+":"+a;return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(a))},getHead:function(){var a=this.$.getElementsByTagName("head")[0];return a= +0;b&&c8)&&e)a=e+":"+a;return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(a))},getHead:function(){var a=this.$.getElementsByTagName("head")[0];return a= a?new CKEDITOR.dom.element(a):this.getDocumentElement().append(new CKEDITOR.dom.element("head"),true)},getBody:function(){return new CKEDITOR.dom.element(this.$.body)},getDocumentElement:function(){return new CKEDITOR.dom.element(this.$.documentElement)},getWindow:function(){return new CKEDITOR.dom.window(this.$.parentWindow||this.$.defaultView)},write:function(a){this.$.open("text/html","replace");CKEDITOR.env.ie&&(a=a.replace(/(?:^\s*]*?>)|^/i,'$&\n @@ -49,7 +49,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license CKEditor - The text editor for the Internet - http://ckeditor.com

- Copyright © 2003-2013, CKSource - Frederico + Copyright © 2003-2014, CKSource - Frederico Knabben. All rights reserved.

diff --git a/samples/assets/outputxhtml/outputxhtml.css b/samples/assets/outputxhtml/outputxhtml.css index 9c90a2a..fa0ff37 100644 --- a/samples/assets/outputxhtml/outputxhtml.css +++ b/samples/assets/outputxhtml/outputxhtml.css @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license * * Styles used by the XHTML 1.1 sample page (xhtml.html). diff --git a/samples/assets/posteddata.php b/samples/assets/posteddata.php index 32c3a44..6b26aae 100644 --- a/samples/assets/posteddata.php +++ b/samples/assets/posteddata.php @@ -1,7 +1,7 @@ @@ -52,7 +52,7 @@ if (!empty($_POST)) CKEditor - The text editor for the Internet - http://ckeditor.com

- Copyright © 2003-2013, CKSource - Frederico Knabben. All rights reserved. + Copyright © 2003-2014, CKSource - Frederico Knabben. All rights reserved.

diff --git a/samples/assets/uilanguages/languages.js b/samples/assets/uilanguages/languages.js index 6255d91..7d2d18b 100644 --- a/samples/assets/uilanguages/languages.js +++ b/samples/assets/uilanguages/languages.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian", diff --git a/samples/datafiltering.html b/samples/datafiltering.html index 15cb671..7f2f2a7 100644 --- a/samples/datafiltering.html +++ b/samples/datafiltering.html @@ -1,12 +1,12 @@ - Data Filtering — CKEditor Sample + Data Filtering — CKEditor Sample