Permalink
Browse files

CKEditor 4.6.2 API docs and changelog fixes.

  • Loading branch information...
1 parent 35cb196 commit 1721ac2f26ef3ea8ef58457a608a6cf206298e9d @AnnaTomanek AnnaTomanek committed Jan 10, 2017
View
@@ -5,18 +5,18 @@
New Features:
-* [#16733](http://dev.ckeditor.com/ticket/16733): Added new color palette for [Color Button](http://ckeditor.com/addon/colorbutton) plugin and added [`config.colorButton_colorsPerRow`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-colorButton_colorsPerRow) option.
+* [#16733](http://dev.ckeditor.com/ticket/16733): Added a new pastel color palette for the [Color Button](http://ckeditor.com/addon/colorbutton) plugin and a new [`config.colorButton_colorsPerRow`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-colorButton_colorsPerRow) configuration option for setting the number of rows in the color selector.
Fixed Issues:
* [#13446](http://dev.ckeditor.com/ticket/13446): [Chrome] Fixed: It is possible to type in an unfocused inline editor.
* [#14856](http://dev.ckeditor.com/ticket/14856): Fixed: Font size and font family reset each other when modified at certain positions.
* [#13818](http://dev.ckeditor.com/ticket/13818): Fixed: Allow to group [Widget](http://ckeditor.com/addon/widget) [style definitions](http://docs.ckeditor.com/#!/guide/dev_styles-section-widget-styles), so applying one style disables the other.
-* [#16745](http://dev.ckeditor.com/ticket/16745): [Edge] Fixed: List items are lost when pasted from word.
-* [#16682](http://dev.ckeditor.com/ticket/16682): [Edge] Fixed: List gets pasted as a set of paragraphs. Added [`config.pasteFromWord_heuristicsEdgeList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWord_heuristicsEdgeList) option.
+* [#16745](http://dev.ckeditor.com/ticket/16745): [Edge] Fixed: List items are lost when [pasted from Word](http://ckeditor.com/addon/pastefromword).
+* [#16682](http://dev.ckeditor.com/ticket/16682): [Edge] Fixed: A list gets [pasted from Word](http://ckeditor.com/addon/pastefromword) as a set of paragraphs. Added the [`config.pasteFromWord_heuristicsEdgeList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWord_heuristicsEdgeList) configuration option.
* [#10373](http://dev.ckeditor.com/ticket/10373): Fixed: Context menu items can be dragged into the editor.
-* [#16728](http://dev.ckeditor.com/ticket/16728): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks editor in Quirks Mode.
-* [#16753](http://dev.ckeditor.com/ticket/16753): Fixed: `element.setSize` sets wrong editor's dimensions if border's width is in fraction of pixels.
+* [#16728](http://dev.ckeditor.com/ticket/16728): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks the editor in Quirks Mode.
+* [#16753](http://dev.ckeditor.com/ticket/16753): Fixed: `element.setSize` sets wrong editor dimensions if the border width is represented as a fraction of pixels.
* [#16705](http://dev.ckeditor.com/ticket/16705): [Firefox] Fixed: Unable to paste images as Base64 strings when using [Clipboard](http://ckeditor.com/addon/clipboard).
## CKEditor 4.6.1
View
@@ -1812,10 +1812,10 @@
* Applies a function to each element of an array and returns the array of results in the same order.
* Note the order of the parameters.
*
- * @param {Array} array Array over elements of which `fn` is applied.
+ * @param {Array} array An array of elements that `fn` is applied on.
* @param {Function} fn A function with the signature `a -> b`.
* @param {Mixed} [thisArg=undefined] The context object for `fn`.
- * @returns {Array} Array of mapped elements.
+ * @returns {Array} An array of mapped elements.
* @member CKEDITOR.tools.array
* @since 4.6.2
*/
@@ -1831,11 +1831,11 @@
* Applies a function against each value in an array storing the result in an accumulator passed to the next iteration.
* Note the order of the parameters.
*
- * @param {Array} array Array over elements of which `fn` is applied.
+ * @param {Array} array An array of elements that `fn` is applied on.
* @param {Function} fn A function with the signature `(accumulator, a, index, array) -> b`.
* @param {Mixed} initial Initial value of the accumulator.
* @param {Mixed} [thisArg=undefined] The context object for `fn`.
- * @returns {Mixed} Final value of the accumulator.
+ * @returns {Mixed} The final value of the accumulator.
* @member CKEDITOR.tools.array
* @since 4.6.2
*/
@@ -1,8 +1,8 @@
# Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.md or http://ckeditor.com/license
-auto =
-bgColorTitle =
+auto = Label for the Automatic button of the color dialog
+bgColorTitle = Tooltip for the Background Color toolbar button.
colors.000 = Tooltip with a human-readable name for the #000 color.
colors.800000 = Tooltip with a human-readable name for the #800000 color.
colors.8B4513 = Tooltip with a human-readable name for the #8B4513 color.
@@ -43,28 +43,28 @@ colors.F0FFFF = Tooltip with a human-readable name for the #F0FFFF color.
colors.F0F8FF = Tooltip with a human-readable name for the #F0F8FF color.
colors.E6E6FA = Tooltip with a human-readable name for the #E6E6FA color.
colors.FFF = Tooltip with a human-readable name for the #FFF color.
-colors.1ABC9C = Tooltip with a human-readable name for Strong Cyan (#1ABC9C) color.
-colors.2ECC71 = Tooltip with a human-readable name for Emerald (#2ECC71) color.
-colors.3498DB = Tooltip with a human-readable name for Bright Blue (#3498DB) color.
-colors.9B59B6 = Tooltip with a human-readable name for Amethyst (#9B59B6) color.
-colors.4E5F70 = Tooltip with a human-readable name for Grayish Blue (#4E5F70) color.
-colors.F1C40F = Tooltip with a human-readable name for Vivid Yellow (#F1C40F) color.
-colors.16A085 = Tooltip with a human-readable name for Dark Cyan (#16A085) color.
-colors.27AE60 = Tooltip with a human-readable name for Dark Emerald (#27AE60) color.
-colors.2980B9 = Tooltip with a human-readable name for Strong Blue (#2980B9) color.
-colors.8E44AD = Tooltip with a human-readable name for Dark Violet (#8E44AD) color.
-colors.2C3E50 = Tooltip with a human-readable name for Desaturated Blue (#2C3E50) color.
-colors.F39C12 = Tooltip with a human-readable name for Orange (#F39C12) color.
-colors.E67E22 = Tooltip with a human-readable name for Carrot (#E67E22) color.
-colors.E74C3C = Tooltip with a human-readable name for Pale Red (#E74C3C) color.
-colors.ECF0F1 = Tooltip with a human-readable name for Bright Silver (#ECF0F1) color.
-colors.95A5A6 = Tooltip with a human-readable name for Light Grayish Cyan (#95A5A6) color.
-colors.DDD = Tooltip with a human-readable name for Light Gray (#DDD) color.
-colors.D35400 = Tooltip with a human-readable name for Pumpkin (#D35400) color.
-colors.C0392B = Tooltip with a human-readable name for Strong Red (#C0392B) color.
-colors.BDC3C7 = Tooltip with a human-readable name for Silver (#BDC3C7) color.
-colors.7F8C8D = Tooltip with a human-readable name for Grayish Cyan (#7F8C8D) color.
-colors.999 = Tooltip with a human-readable name for Dark Gray (#999) color.
-more =
-panelTitle =
-textColorTitle =
+colors.1ABC9C = Tooltip with a human-readable name for the Strong Cyan (#1ABC9C) color.
+colors.2ECC71 = Tooltip with a human-readable name for the Emerald (#2ECC71) color.
+colors.3498DB = Tooltip with a human-readable name for the Bright Blue (#3498DB) color.
+colors.9B59B6 = Tooltip with a human-readable name for the Amethyst (#9B59B6) color.
+colors.4E5F70 = Tooltip with a human-readable name for the Grayish Blue (#4E5F70) color.
+colors.F1C40F = Tooltip with a human-readable name for the Vivid Yellow (#F1C40F) color.
+colors.16A085 = Tooltip with a human-readable name for the Dark Cyan (#16A085) color.
+colors.27AE60 = Tooltip with a human-readable name for the Dark Emerald (#27AE60) color.
+colors.2980B9 = Tooltip with a human-readable name for the Strong Blue (#2980B9) color.
+colors.8E44AD = Tooltip with a human-readable name for the Dark Violet (#8E44AD) color.
+colors.2C3E50 = Tooltip with a human-readable name for the Desaturated Blue (#2C3E50) color.
+colors.F39C12 = Tooltip with a human-readable name for the Orange (#F39C12) color.
+colors.E67E22 = Tooltip with a human-readable name for the Carrot (#E67E22) color.
+colors.E74C3C = Tooltip with a human-readable name for the Pale Red (#E74C3C) color.
+colors.ECF0F1 = Tooltip with a human-readable name for the Bright Silver (#ECF0F1) color.
+colors.95A5A6 = Tooltip with a human-readable name for the Light Grayish Cyan (#95A5A6) color.
+colors.DDD = Tooltip with a human-readable name for the Light Gray (#DDD) color.
+colors.D35400 = Tooltip with a human-readable name for the Pumpkin (#D35400) color.
+colors.C0392B = Tooltip with a human-readable name for the Strong Red (#C0392B) color.
+colors.BDC3C7 = Tooltip with a human-readable name for the Silver (#BDC3C7) color.
+colors.7F8C8D = Tooltip with a human-readable name for the Grayish Cyan (#7F8C8D) color.
+colors.999 = Tooltip with a human-readable name for the Dark Gray (#999) color.
+more = Label for the More Colors... button of the color dialog.
+panelTitle = ARIA label for the Colors panel.
+textColorTitle = Tooltip for the Text Color toolbar button.
@@ -304,7 +304,7 @@ CKEDITOR.plugins.add( 'colorbutton', {
* a name and the slash character. For example, `'FontColor1/FF9900'` will be
* displayed as the color `#FF9900` in the selector, but will be output as `'FontColor1'`.
*
- * **Since 4.6.2:** The default color palette has change. It contains less colors and in more
+ * **Since 4.6.2:** The default color palette has changed. It contains fewer colors in more
* pastel shades than the previous one.
*
* Read more in the [documentation](#!/guide/dev_colorbutton)
@@ -315,7 +315,7 @@ CKEDITOR.plugins.add( 'colorbutton', {
*
* config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00';
*
- * // CKEditor color palette available before 4.6.2 version.
+ * // CKEditor color palette available before version 4.6.2.
* config.colorButton_colors =
* '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' +
* 'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' +
@@ -1620,9 +1620,9 @@
*/
CKEDITOR.plugins.pastefromword.heuristics = {
/**
- * Tells if `item` looks like list item in Microsoft Edge.
+ * Decides if an `item` looks like a list item in Microsoft Edge.
*
- * Note: It will return `false` when run on browser other than Microsoft Edge, despite the configuration.
+ * Note: It will return `false` when run in a browser other than Microsoft Edge, despite the configuration.
*
* @param {CKEDITOR.editor} item
* @param {CKEDITOR.htmlParser.element} item
@@ -1650,13 +1650,13 @@
},
/**
- * Assigns list levels to `item` and all directly subsequent nodes for which {@link #isEdgeListItem} returns `true`.
+ * Assigns list levels to the `item` and all directly subsequent nodes for which {@link #isEdgeListItem} returns `true`.
*
* The algorithm determines list item level based on the lowest common non-zero difference in indentation
* of two or more subsequent list-like elements.
*
* @param {CKEDITOR.editor} editor
- * @param {CKEDITOR.htmlParser.element} item First item of the list.
+ * @param {CKEDITOR.htmlParser.element} item The first item of the list.
* @returns {Object/null} `null` if list levels were already applied, or an object used to verify results in tests.
* @returns {Number[]} return.indents
* @returns {Number[]} return.levels
@@ -1718,8 +1718,8 @@
},
/**
- * Given array of list indentations, tries tu guess what is the indentation difference per list level. E.g. assuming that we
- * have something like:
+ * Given an array of list indentations, this method tries to guess what the indentation difference per list level is.
+ * E.g. assuming that you have something like:
*
* * foo (indentation 30px)
* * bar (indentation 90px)
@@ -1729,8 +1729,8 @@
*
* The method will return `30`.
*
- * @param {Number[]} indentations Array of indentation sizes.
- * @returns {Number/null} Number or `null` if empty `indentations` was given.
+ * @param {Number[]} indentations An array of indentation sizes.
+ * @returns {Number/null} A number or `null` if empty `indentations` was given.
* @member CKEDITOR.plugins.pastefromword.heuristics
* @private
*/
@@ -1854,9 +1854,9 @@
*/
/**
- * Activates a heuristic that helps detecting lists pasted to editor in Microsoft Edge.
+ * Activates a heuristic that helps detect lists pasted into the editor in Microsoft Edge.
*
- * The reason why this heuristic is needed is that when pasting Microsoft Edge will remove any Word-specific
+ * The reason why this heuristic is needed is that on pasting Microsoft Edge removes any Word-specific
* metadata allowing to identify lists.
*
* // Disables list heuristics for Edge.
@@ -3491,7 +3491,7 @@
this.widget = styleDefinition.widget;
/**
- * Array of the groups that this style belongs to.
+ * An array of groups that this style belongs to.
* Styles assigned to the same group cannot be combined.
*
* @since 4.6.2
@@ -3542,8 +3542,8 @@
/**
* Removes all styles that belong to the same group as this style. This method will neither add nor remove
- * current style.
- * Returns true if any style was removed, otherwise returns false.
+ * the current style.
+ * Returns `true` if any style was removed, otherwise returns `false`.
*
* @since 4.6.2
* @param {CKEDITOR.editor} editor

0 comments on commit 1721ac2

Please sign in to comment.