소스 검색

Add missing jsdoc annotations.

Maciej Gołaszewski 6 년 전
부모
커밋
ca9be048f5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/ckeditor5-font/src/utils.js

+ 2 - 0
packages/ckeditor5-font/src/utils.js

@@ -91,6 +91,7 @@ export function renderDowncastElement( styleAttr ) {
  * The object contains both the information necessary to render the UI and initialize a conversion.
  *
  * @param {module:font/fontcolor~FontColorConfig#colors|module:font/fontbackgroundcolor~FontBackgroundColorConfig#colors} options
+ * @returns {Array.<module:font/fontcolor~FontColorConfig#colors|module:font/fontbackgroundcolor~FontBackgroundColorConfig#colors>}
  */
 export function normalizeColorOptions( options ) {
 	return options
@@ -130,6 +131,7 @@ export function addColorTableToDropdown( { dropdownView, colors, columns, remove
  * when the user configuration is defined because the editor does not exist yet.
  *
  * @param {module:core/editor/editor~Editor} editor An editor instance.
+ * @param {module:font/fontcolor~FontColorConfig#colors|module:font/fontbackgroundcolor~FontBackgroundColorConfig#colors} options
  * @returns {Array.<module:ui/colorgrid/colorgrid~ColorDefinition>}.
  */
 export function getLocalizedColorOptions( editor, options ) {