瀏覽代碼

Changed basicStyles name to basic-styles. Added `<kbd>` tag around keystrokes in comments.

Szymon Kupś 9 年之前
父節點
當前提交
12ce8b7187

+ 3 - 3
packages/ckeditor5-basic-styles/src/bold.js

@@ -10,10 +10,10 @@ import ButtonView from '../ui/button/buttonview.js';
 import Model from '../ui/model.js';
 
 /**
- * Bold feature. It requires {@link basicStyles.BoldEngine BoldEngine feature}.
- * This feature creates also a UI component (`bold` button) and registers `CTRL+B` keystroke.
+ * Bold feature. It requires {@link basic-styles.BoldEngine BoldEngine feature}.
+ * This feature creates also a UI component (`bold` button) and registers <kbd>CTRL+B</kbd> keystroke.
  *
- * @memberOf basicStyles
+ * @memberOf basic-styles
  * @extends ckeditor5.Feature
  */
 export default class Bold extends Feature {

+ 1 - 1
packages/ckeditor5-basic-styles/src/boldengine.js

@@ -14,7 +14,7 @@ const BOLD = 'bold';
  * Bold feature. It registers `bold` command and introduces `bold` attribute in the model, which renders to the view
  * as `<strong>` element.
  *
- * @memberOf basicStyles
+ * @memberOf basic-styles
  * @extends ckeditor5.Feature
  */
 export default class BoldEngine extends Feature {

+ 3 - 3
packages/ckeditor5-basic-styles/src/italic.js

@@ -10,10 +10,10 @@ import ButtonView from '../ui/button/buttonview.js';
 import Model from '../ui/model.js';
 
 /**
- * Italic feature. It requires {@link basicStyles.ItalicEngine ItalicEngine feature}.
- * This feature creates also a UI component (`italic` button) and registers `CTRL+I` keystroke.
+ * Italic feature. It requires {@link basic-styles.ItalicEngine ItalicEngine feature}.
+ * This feature creates also a UI component (`italic` button) and registers <kbd>CTRL+I</kbd> keystroke.
  *
- * @memberOf basicStyles
+ * @memberOf basic-styles
  * @extends ckeditor5.Feature
  */
 export default class Italic extends Feature {

+ 1 - 1
packages/ckeditor5-basic-styles/src/italicengine.js

@@ -14,7 +14,7 @@ const ITALIC = 'italic';
  * Italic feature. It registers `italic` command and introduces `italic` attribute in the model, which renders to the view
  * as `<em>` element.
  *
- * @memberOf basicStyles
+ * @memberOf basic-styles
  * @extends ckeditor5.Feature
  */
 export default class ItalicEngine extends Feature {