Parcourir la source

Some final polishing after rebase.

Mateusz Samsel il y a 6 ans
Parent
commit
6d975bec8a

+ 0 - 4
packages/ckeditor5-font/docs/features/font.md

@@ -231,10 +231,6 @@ ClassicEditor
 
 It is also possible to configure in how many columns the colors in the grid are displayed. Use the {@link module:font/fontcolor~FontColorConfig#columns `fontColor.columns`} and {@link module:font/fontbackgroundcolor~FontBackgroundColorConfig#columns `fontBackgroundColor.columns`} options to do so.
 
-<info-box>
-	The configuration of the columns also affects the number of recently used colors displayed under the color grid. The less columns, the fewer recently used colors will be displayed.
-</info-box>
-
 ```js
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {

+ 4 - 0
packages/ckeditor5-font/src/ui/colorui.js

@@ -44,6 +44,7 @@ export default class ColorUI extends Plugin {
 
 		/**
 		 * The name of the command which will be executed when a color tile is clicked.
+		 *
 		 * @type {String}
 		 */
 		this.commandName = commandName;
@@ -51,6 +52,7 @@ export default class ColorUI extends Plugin {
 		/**
 		 * The name of this component in the {@link module:ui/componentfactory~ComponentFactory}.
 		 * Also the configuration scope name in `editor.config`.
+		 *
 		 * @type {String}
 		 */
 		this.componentName = componentName;
@@ -63,6 +65,7 @@ export default class ColorUI extends Plugin {
 
 		/**
 		 * Label used by the dropdown.
+		 *
 		 * @type {String}
 		 */
 		this.dropdownLabel = dropdownLabel;
@@ -76,6 +79,7 @@ export default class ColorUI extends Plugin {
 
 		/**
 		 * Keeps reference to {@link module:font/ui/colortableview~ColorTableView}.
+		 *
 		 * @type {module:font/ui/colortableview~ColorTableView}
 		 */
 		this.colorTableView;

+ 1 - 2
packages/ckeditor5-font/tests/manual/font-color.md

@@ -12,5 +12,4 @@ The format in the editor content is: `N. [font color]; [background color]`.
 
 - Change the font color and font background color on selected text.
 - Change the font color and font background color across many paragraphs.
-- Check whether the colors are added to recent colors list.
-- Try to re-apply a color from recent colors list: the color should move to the beginning of the list.
+- Check whether the colors are added to document colors list.