8
0
Просмотр исходного кода

Docs: Improved links between API and guides. See ckeditor/ckeditor5#1090.

Piotrek Koszuliński 7 лет назад
Родитель
Сommit
385fee93a2

+ 1 - 1
packages/ckeditor5-table/docs/features/table.md

@@ -19,7 +19,7 @@ To add this feature to your editor, install the [`@ckeditor/ckeditor5-table`](ht
 npm install --save @ckeditor/ckeditor5-table
 ```
 
-Then add `'Table'` and `'TableToolbar'` to your plugin list and configure the table toolbar:
+Then add `Table` and `TableToolbar` plugins to your plugin list and configure the table toolbar:
 
 ```js
 import Table from '@ckeditor/ckeditor5-table/src/table';

+ 3 - 3
packages/ckeditor5-table/src/table.js

@@ -18,11 +18,11 @@ import '../theme/table.css';
 /**
  * The table plugin.
  *
- * It loads the {@link module:table/tableediting~TableEditing table editing feature}
- * and {@link module:table/tableui~TableUI table UI feature}.
- *
  * For a detailed overview, check the {@glink features/table Table feature documentation}.
  *
+ * This is a "glue" plugin which loads the {@link module:table/tableediting~TableEditing table editing feature}
+ * and {@link module:table/tableui~TableUI table UI feature}.
+ *
  * @extends module:core/plugin~Plugin
  */
 export default class Table extends Plugin {

+ 4 - 3
packages/ckeditor5-table/src/tabletoolbar.js

@@ -18,10 +18,11 @@ const balloonClassName = 'ck-toolbar-container';
 /**
  * The table toolbar class. It creates a table toolbar that shows up when the table widget is selected.
  *
- * Toolbar components are created using the editor {@link module:ui/componentfactory~ComponentFactory ComponentFactory}
- * based on the {@link module:core/editor/editor~Editor#config configuration} stored under `table.toolbar`.
+ * Instanecs of toolbar components (e.g. buttons) are created using the editor's
+ * {@link module:ui/componentfactory~ComponentFactory component factory}
+ * based on the {@link module:table/table~TableConfig#toolbar `table.toolbar` configuration option}.
  *
- * The toolbar uses the {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon}.
+ * The toolbar uses the {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon} plugin.
  *
  * @extends module:core/plugin~Plugin
  */