浏览代码

Docs: Cross links and missing descriptions.

Piotrek Koszuliński 5 年之前
父节点
当前提交
9a0036a0a5

+ 4 - 0
packages/ckeditor5-table/docs/api/table.md

@@ -18,6 +18,10 @@ See the {@link features/table Table feature} guide and the documentation for the
 
 * {@link module:table/table~Table}
 * {@link module:table/tabletoolbar~TableToolbar}
+* {@link module:table/tableproperties~TableProperties}
+* {@link module:table/tablecellproperties~TableCellProperties}
+* {@link module:table/tableselection~TableSelection}
+* {@link module:table/tableclipboard~TableClipboard}
 * {@link module:table/tableutils~TableUtils}
 
 ## Installation

+ 4 - 1
packages/ckeditor5-table/src/tablecellproperties.js

@@ -12,7 +12,10 @@ import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
 import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
 
 /**
- * The table cell properties feature.
+ * The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
+ *
+ * Read more in the {@glink features/table#table-and-cell-styling-tools Table and cell styling tools} section.
+ * See also the {@link module:table/tableproperties~TableProperties} plugin.
  *
  * This is a "glue" plugin that loads the
  * {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing table cell properties editing feature} and

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

@@ -11,9 +11,8 @@ import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import TableSelection from './tableselection';
 
 /**
- * The table clipboard integration plugin.
- *
- * It introduces the ability to copy selected table cells.
+ * This plugin adds support for copying/cutting/pasting fragments of tables.
+ * It is loaded automatically by the {@link module:table/table~Table} plugin.
  *
  * @extends module:core/plugin~Plugin
  */
@@ -46,9 +45,9 @@ export default class TableClipboard extends Plugin {
 	/**
 	 * Copies table content to a clipboard on "copy" & "cut" events.
 	 *
+	 * @private
 	 * @param {module:utils/eventinfo~EventInfo} evt An object containing information about the handled event.
 	 * @param {Object} data Clipboard event data.
-	 * @private
 	 */
 	_onCopyCut( evt, data ) {
 		const tableSelection = this.editor.plugins.get( 'TableSelection' );

+ 5 - 2
packages/ckeditor5-table/src/tableproperties.js

@@ -13,10 +13,13 @@ import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
 import TablePropertiesUI from './tableproperties/tablepropertiesui';
 
 /**
- * The table properties feature.
+ * The table properties feature. Enables support for setting properties of tables (size, border, background, etc.).
+ *
+ * Read more in the {@glink features/table#table-and-cell-styling-tools Table and cell styling tools} section.
+ * See also the {@link module:table/tablecellproperties~TableCellProperties} plugin.
  *
  * This is a "glue" plugin that loads the
- * {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing table editing feature} and
+ * {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing table properties editing feature} and
  * the {@link module:table/tableproperties/tablepropertiesui~TablePropertiesUI table properties UI feature}.
  *
  * @extends module:core/plugin~Plugin

+ 2 - 1
packages/ckeditor5-table/src/tableselection.js

@@ -22,7 +22,8 @@ import cropTable from './tableselection/croptable';
 import '../theme/tableselection.css';
 
 /**
- * TODO
+ * This plugin enables the advanced table cells/rows/columns selection.
+ * It is loaded automatically by the {@link module:table/table~Table} plugin.
  *
  * @extends module:core/plugin~Plugin
  */