Explorar o código

Improve docs description.

Mateusz Samsel %!s(int64=6) %!d(string=hai) anos
pai
achega
566703e37f
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      packages/ckeditor5-font/src/ui/colorui.js

+ 6 - 2
packages/ckeditor5-font/src/ui/colorui.js

@@ -148,8 +148,12 @@ export default class ColorUI extends Plugin {
 	}
 
 	/**
-	 * Method scans through editor's content and search for text node attributes with name {@link #commandName}.
-	 * Found entries are set as document colors. Previously stored document colors are lost with that process.
+	 * Method scans through editor's content and search for text node attributes with name defined in {@link #commandName}.
+	 * Found entries are set as document colors.
+	 *
+	 * All previously stored document colors will be lost with that process.
+	 *
+	 * Method is used to determines document colors when UI dropdown is opened.
 	 *
 	 * @private
 	 */