瀏覽代碼

Move Indent* plugins to indent/Indent.

Maciej Gołaszewski 6 年之前
父節點
當前提交
ed34806706

+ 4 - 4
packages/ckeditor5-core/src/indent.js

@@ -4,10 +4,10 @@
  */
 
 /**
- * @module core/indent
+ * @module core/indent/indent
  */
 
-import Plugin from './plugin';
+import Plugin from '../plugin';
 
 import IndentEditing from './indentediting';
 import IndentUI from './indentui';
@@ -23,8 +23,8 @@ import IndentUI from './indentui';
  *
  * This is a "glue" plugin which loads the following plugins:
  *
- * * The {@link module:core/indentediting~IndentEditing indent editing feature} and
- * * The {@link module:core/indentui~IndentUI indent UI feature}.
+ * * The {@link module:core/indent/indentediting~IndentEditing indent editing feature} and
+ * * The {@link module:core/indent/indentui~IndentUI indent UI feature}.
  *
  * The dependent plugins registers the `'indent'` and `'outdent'` commands and it introduces the `'indent'` and `'outdent'` buttons
  * that allow to increase or decrease text indentation of supported elements.

+ 4 - 4
packages/ckeditor5-core/src/indentediting.js

@@ -4,11 +4,11 @@
  */
 
 /**
- * @module core/indentediting
+ * @module core/indent/indentediting
  */
 
-import Plugin from './plugin';
-import MultiCommand from './multicommand';
+import Plugin from '../plugin';
+import MultiCommand from '../multicommand';
 
 /**
  * The indent editing feature.
@@ -16,7 +16,7 @@ import MultiCommand from './multicommand';
  * This plugin registers the `'indent'` and `'outdent'` commands.
  *
  * **Note**: In order the commands to work at least one of compatible features is required. Read more in
- * {@link module:core/indent~Indent indent feature} api docs.
+ * {@link module:core/indent/indent~Indent indent feature} api docs.
  *
  * @extends module:core/plugin~Plugin
  */

+ 3 - 3
packages/ckeditor5-core/src/indentui.js

@@ -4,11 +4,11 @@
  */
 
 /**
- * @module core/indentui
+ * @module core/indent/indentui
  */
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
 
-import Plugin from './plugin';
+import Plugin from '../plugin';
 
 /**
  * The indent feature.
@@ -16,7 +16,7 @@ import Plugin from './plugin';
  * This plugin registers the `'indent'` and `'outdent'` buttons.
  *
  * **Note**: In order the commands to work at least one of compatible features is required. Read more in
- * {@link module:core/indent~Indent indent feature} api docs.
+ * {@link module:core/indent/indent~Indent indent feature} api docs.
  *
  * @extends module:core/plugin~Plugin
  */

+ 3 - 3
packages/ckeditor5-core/tests/indent.js

@@ -8,9 +8,9 @@
 import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictesteditor';
 import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
 
-import Indent from '../src/indent';
-import IndentEditing from '../src/indentediting';
-import IndentUI from '../src/indentui';
+import Indent from '../../src/indent/indent';
+import IndentEditing from '../../src/indent/indentediting';
+import IndentUI from '../../src/indent/indentui';
 
 describe( 'Indent', () => {
 	let editor, element;

+ 4 - 4
packages/ckeditor5-core/tests/indentediting.js

@@ -3,11 +3,11 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-import VirtualTestEditor from './_utils/virtualtesteditor';
-import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
+import VirtualTestEditor from '../_utils/virtualtesteditor';
+import testUtils from '../_utils/utils';
 
-import MultiCommand from '../src/multicommand';
-import IndentEditing from '../src/indentediting';
+import MultiCommand from '../../src/multicommand';
+import IndentEditing from '../../src/indent/indentediting';
 
 describe( 'IndentEditing', () => {
 	let editor;

+ 2 - 2
packages/ckeditor5-core/tests/indentui.js

@@ -9,8 +9,8 @@ import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictest
 import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
 
-import IndentEditing from '../src/indentediting';
-import IndentUI from '../src/indentui';
+import IndentEditing from '../../src/indent/indentediting';
+import IndentUI from '../../src/indent/indentui';
 
 describe( 'IndentUI', () => {
 	let editor, element;