From 1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 4 Apr 2016 23:55:13 +0200 Subject: Upgrade to 4.5.8 --- sources/CHANGES.md | 20 ++++++++++++++++---- sources/README.md | 2 +- sources/config.js | 4 ++-- sources/contents.css | 3 +++ sources/core/dom/iterator.js | 2 +- sources/plugins/button/lang/ast.js | 8 ++++++++ sources/plugins/floatpanel/plugin.js | 4 ++-- 7 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 sources/plugins/button/lang/ast.js (limited to 'sources') diff --git a/sources/CHANGES.md b/sources/CHANGES.md index a11b9aa..f751de9 100644 --- a/sources/CHANGES.md +++ b/sources/CHANGES.md @@ -1,21 +1,33 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.5.8 + +New Features: + +* [#12440](http://dev.ckeditor.com/ticket/12440): Added the [`config.colorButton_enableAutomatic`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-colorButton_enableAutomatic) option to allow hiding the "Automatic" option in the [color picker](http://ckeditor.com/addon/colorbutton). + +Fixed Issues: + +* [#10448](http://dev.ckeditor.com/ticket/10448): Fixed: Lack of scrollbar in the [right-to-left text direction](http://ckeditor.com/addon/bidi). +* [#12707](http://dev.ckeditor.com/ticket/12707): Fixed: The order of table elements does not comply with the HTML specification. +* [#13756](http://dev.ckeditor.com/ticket/13756): [Edge] Fixed: Context menus are cut-off. + ## CKEditor 4.5.7 New Features: -* [#14327](http://dev.ckeditor.com/ticket/14327): Added Swiss German localization. +* [#14327](http://dev.ckeditor.com/ticket/14327): Added Swiss German localization. Thanks to [Miro Grenda](https://twitter.com/mirogrenda)! -Other Changes: +Fixed Issues: * [#13816](http://dev.ckeditor.com/ticket/13816): Introduced a new strategy for Filling Character handling to avoid changes in DOM. This fixes the following issues: * [#12727](http://dev.ckeditor.com/ticket/12727): [Blink] `IndexSizeError` when using the [Div Editing Area](http://ckeditor.com/addon/divarea) and [Content Templates](http://ckeditor.com/addon/templates) plugins. * [#13377](http://dev.ckeditor.com/ticket/13377): [Widget](http://ckeditor.com/addon/widget) plugin issue when typing in Korean. * [#13389](http://dev.ckeditor.com/ticket/13389): [Blink] [`editor.getData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData) fails when the cursor is next to an `
` tag. * [#13513](http://dev.ckeditor.com/ticket/13513): [Blink, WebKit] [Div Editing Area](http://ckeditor.com/addon/divarea) and [`editor.getData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData) throw an error when an image is the only data in the editor. -* [#13884](http://dev.ckeditor.com/ticket/13884): Fixed: Copy/paste table in Firefox results in just first cell being pasted. -* [#14234](http://dev.ckeditor.com/ticket/14234): Fixed: URL input field is not marked as required in the [Embed](http://ckeditor.com/addon/embed) dialog. +* [#13884](http://dev.ckeditor.com/ticket/13884): [Firefox] Fixed: Copying and pasting a table results in just the first cell being pasted. +* [#14234](http://dev.ckeditor.com/ticket/14234): Fixed: URL input field is not marked as required in the [Media Embed](http://ckeditor.com/addon/embed) dialog. ## CKEditor 4.5.6 diff --git a/sources/README.md b/sources/README.md index 57b331f..5257b29 100644 --- a/sources/README.md +++ b/sources/README.md @@ -1,7 +1,7 @@ CKEditor 4 ========== -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2015, 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/sources/config.js b/sources/config.js index e80a583..3653a22 100644 --- a/sources/config.js +++ b/sources/config.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -7,7 +7,7 @@ CKEDITOR.editorConfig = function( config ) { // %REMOVE_START% // The configuration options below are needed when running CKEditor from source files. - config.plugins = 'dialogui,dialog,a11yhelp,dialogadvtab,basicstyles,panel,floatpanel,menu,contextmenu,resize,button,toolbar,elementspath,enterkey,entities,popup,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,fakeobjects,iframe,wysiwygarea,image,indent,indentblock,indentlist,justify,link,list,liststyle,magicline,maximize,removeformat,showborders,sourcearea,tab'; + config.plugins = 'dialogui,dialog,a11yhelp,basicstyles,panel,floatpanel,menu,contextmenu,dialogadvtab,elementspath,enterkey,entities,popup,filebrowser,floatingspace,listblock,button,richcombo,format,horizontalrule,htmlwriter,fakeobjects,iframe,image,indent,indentblock,indentlist,justify,link,list,liststyle,magicline,maximize,removeformat,resize,showborders,sourcearea,tab,toolbar,wysiwygarea'; config.skin = 'moono'; // %REMOVE_END% diff --git a/sources/contents.css b/sources/contents.css index 88f34fe..bef3ebc 100644 --- a/sources/contents.css +++ b/sources/contents.css @@ -22,6 +22,9 @@ body { font-size: 13px; line-height: 1.6; + + /* Fix for missing scrollbars with RTL texts. (#10488) */ + word-wrap: break-word; } blockquote diff --git a/sources/core/dom/iterator.js b/sources/core/dom/iterator.js index 41a823c..1e1b180 100644 --- a/sources/core/dom/iterator.js +++ b/sources/core/dom/iterator.js @@ -554,7 +554,7 @@ } /** - * Creates a {CKEDITOR.dom.iterator} instance for this range. + * Creates a {@link CKEDITOR.dom.iterator} instance for this range. * * @member CKEDITOR.dom.range * @returns {CKEDITOR.dom.iterator} diff --git a/sources/plugins/button/lang/ast.js b/sources/plugins/button/lang/ast.js new file mode 100644 index 0000000..5ab7bf6 --- /dev/null +++ b/sources/plugins/button/lang/ast.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.plugins.setLang( 'button', 'ast', { + selectedLabel: '%1 (Seleicionáu)' +} ); diff --git a/sources/plugins/floatpanel/plugin.js b/sources/plugins/floatpanel/plugin.js index 0de3e5e..c104037 100644 --- a/sources/plugins/floatpanel/plugin.js +++ b/sources/plugins/floatpanel/plugin.js @@ -270,8 +270,8 @@ CKEDITOR.plugins.add( 'floatpanel', { target.removeStyle( 'width' ); if ( block.autoSize ) { - var panelDoc = block.element.getDocument(); - var width = ( CKEDITOR.env.webkit ? block.element : panelDoc.getBody() ).$.scrollWidth; + var panelDoc = block.element.getDocument(), + width = ( ( CKEDITOR.env.webkit || CKEDITOR.env.edge ) ? block.element : panelDoc.getBody() ).$.scrollWidth; // Account for extra height needed due to IE quirks box model bug: // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug -- cgit v1.2.3