浏览代码

Move table properties classes to own namespace.

Maciej Gołaszewski 5 年之前
父节点
当前提交
be693bdd4e

+ 1 - 1
packages/ckeditor5-table/src/tableproperties.js

@@ -9,7 +9,7 @@
 
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 
-import TablePropertiesEditing from './tablepropertiesediting';
+import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
 
 /**
  * The table properties feature.

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tablealignmentcommand
+ * @module table/tableproperties/commands/tablealignmentcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor } from './utils';
+import { findAncestor } from '../../commands/utils';
 
 /**
  * The table alignment command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableAlignment'` editor command.
  *
  * To change alignment of the selected table, execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tablebackgroundcolorcommand
+ * @module table/tableproperties/commands/tablebackgroundcolorcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor } from './utils';
+import { findAncestor } from '../../commands/utils';
 
 /**
  * The table background color command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableBackgroundColor'` editor command.
  *
  * To change backgroundColor of the selected, execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tablebordercolorcommand
+ * @module table/tableproperties/commands/tablebordercolorcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor, getSingleValue } from './utils';
+import { findAncestor, getSingleValue } from '../../commands/utils';
 
 /**
  * The table border color command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableBorderColor'` editor command.
  *
  * To change border color of the selected , execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tableborderstylecommand
+ * @module table/tableproperties/commands/tableborderstylecommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor, getSingleValue } from './utils';
+import { findAncestor, getSingleValue } from '../../commands/utils';
 
 /**
  * The table style border command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableBorderStyle'` editor command.
  *
  * To change border of the selected , execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tableborderwidthcommand
+ * @module table/tableproperties/commands/tableborderwidthcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor, getSingleValue } from './utils';
+import { findAncestor, getSingleValue } from '../../commands/utils';
 
 /**
  * The table width border command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableBorderWidth'` editor command.
  *
  * To change border of the selected , execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tableheightcommand
+ * @module table/tableproperties/commands/tableheightcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor } from './utils';
+import { findAncestor } from '../../commands/utils';
 
 /**
  * The table height command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableHeight'` editor command.
  *
  * To change height of the selected table, execute the command:

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

@@ -4,17 +4,17 @@
  */
 
 /**
- * @module table/commands/tablewidthcommand
+ * @module table/tableproperties/commands/tablewidthcommand
  */
 
 import Command from '@ckeditor/ckeditor5-core/src/command';
 
-import { findAncestor } from './utils';
+import { findAncestor } from '../../commands/utils';
 
 /**
  * The table width command.
  *
- * The command is registered by {@link module:table/tablepropertiesediting~TablePropertiesEditing} as
+ * The command is registered by {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
  * `'tableWidth'` editor command.
  *
  * To change width of the selected table, execute the command:

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

@@ -4,15 +4,15 @@
  */
 
 /**
- * @module table/tablepropertiesediting
+ * @module table/tableproperties/tablepropertiesediting
  */
 
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import { addBorderRules } from '@ckeditor/ckeditor5-engine/src/view/styles/border';
 import { addBackgroundRules } from '@ckeditor/ckeditor5-engine/src/view/styles/background';
 
-import { downcastTableAttribute, upcastStyleToAttribute, upcastBorderStyles } from './converters/tableproperties';
-import TableEditing from './tableediting';
+import TableEditing from './../tableediting';
+import { downcastTableAttribute, upcastStyleToAttribute, upcastBorderStyles } from './../converters/tableproperties';
 import TableBackgroundColorCommand from './commands/tablebackgroundcolorcommand';
 import TableBorderColorCommand from './commands/tablebordercolorcommand';
 import TableBorderStyleCommand from './commands/tableborderstylecommand';