Преглед изворни кода

Docs: Added documentation for the [`fontColor`](https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html#member-fontColor) and [`fontBackgroundColor`](https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html#member-fontBackgroundColor) configuration options in [`EditorConfig`](https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html) interface. Closes #40.

Marek Lewandowski пре 6 година
родитељ
комит
3ad25227c6

+ 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.
  * The configuration of the font background color feature.
  * This option is used by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} 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.
  * The configuration of the font color feature.
  * This option is used by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.
  * This option is used by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.