소스 검색

Improved docs.

Szymon Kupś 7 년 전
부모
커밋
fb58014651
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-heading/src/heading.js
  2. 3 3
      packages/ckeditor5-heading/src/headingbuttonsui.js

+ 1 - 1
packages/ckeditor5-heading/src/heading.js

@@ -111,6 +111,6 @@ export default class Heading extends Plugin {
  * @property {module:engine/view/elementdefinition~ElementDefinition} view Definition of a view element to convert from/to.
  * @property {String} title The user-readable title of the option.
  * @property {String} class The class which will be added to the dropdown item representing this option.
- * @property {Sting} [icon] Icon used by {@link module:heading/headingbuttonsui~HeadingsButtonUI}. It is optional when using
+ * @property {String} [icon] Icon used by {@link module:heading/headingbuttonsui~HeadingButtonUI}. It is optional when using
  * standard configuration and can be omitted.
  */

+ 3 - 3
packages/ckeditor5-heading/src/headingbuttonsui.js

@@ -21,11 +21,11 @@ const defaultIcons = {
 
 /**
  * HeadingButtonsUI class creates set of UI buttons that can be used instead of drop down component.
- * It is not enabled by default when using {@link module:heading/heading~Heading heading plugin}, and need to be
+ * It is not enabled by default when using {@link module:heading/heading~Heading heading plugin}, and needs to be
  * added manually to the editor configuration.
  *
- * It uses `icon` config option provided in {@link module:heading/heading~HeadingOption}. For the default configuration
- * standard icons are used.
+ * It is possible to use custom icons by providing `icon` config option provided in {@link module:heading/heading~HeadingOption}.
+ * For the default configuration standard icons are used.
  *
  * @extends module:core/plugin~Plugin
  */