Browse Source

Docs: Add documentation for configuration options of fontcolor and fontbackgroundcolor. Close #40. [skip ci]

Mateusz Samsel 6 năm trước cách đây
mục cha
commit
e7be0bb887

+ 9 - 0
packages/ckeditor5-font/src/fontbackgroundcolor.js

@@ -39,6 +39,15 @@ export default class FontBackgroundColor extends Plugin {
 	}
 }
 
+/**
+ * The configuration of the font background color feature.
+ * It is introduced by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} feature.
+ *
+ * Read more in {@link module:font/fontbackgroundcolor~FontBackgroundColorConfig}.
+ *
+ * @member {module:font/fontbackgroundcolor~FontBackgroundColorConfig} module:core/editor/editorconfig~EditorConfig#fontBackgroundColor
+ */
+
 /**
  * The configuration of the font background color feature.
  * This option is used by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} feature.

+ 9 - 0
packages/ckeditor5-font/src/fontcolor.js

@@ -38,6 +38,15 @@ export default class FontColor extends Plugin {
 	}
 }
 
+/**
+ * The configuration of the font color feature.
+ * It is introduced by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.
+ *
+ * Read more in {@link module:font/fontcolor~FontColorConfig}.
+ *
+ * @member {module:font/fontcolor~FontColorConfig} module:core/editor/editorconfig~EditorConfig#fontColor
+ */
+
 /**
  * The configuration of the font color feature.
  * This option is used by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.