Преглед изворни кода

Merge pull request #17 from ckeditor/t/16

Changed paths and docs to use ckeditor5-core package
Szymon Cofalik пре 9 година
родитељ
комит
f9efbb3642

+ 2 - 2
packages/ckeditor5-heading/src/headings.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import HeadingsEngine from './headingsengine.js';
 import Model from '../ui/model.js';
 import ListDropdownController from '../ui/dropdown/list/listdropdown.js';
@@ -15,7 +15,7 @@ import Collection from '../utils/collection.js';
  * to convert paragraphs into headings.
  *
  * @memberOf headings
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Headings extends Feature {
 	/**

+ 3 - 3
packages/ckeditor5-heading/src/headingscommand.js

@@ -3,20 +3,20 @@
  * For licensing, see LICENSE.md.
  */
 
-import Command from '../command/command.js';
+import Command from '../core/command/command.js';
 import RootElement from '../engine/model/rootelement.js';
 
 /**
  * The headings command. It is used by the {@link headings.Headings headings feature}.
  *
  * @memberOf headings
- * @extends ckeditor5.command.Command
+ * @extends core.command.Command
  */
 export default class HeadingsCommand extends Command {
 	/**
 	 * Creates an instance of the command.
 	 *
-	 * @param {ckeditor5.editor.Editor} editor Editor instance.
+	 * @param {core.editor.Editor} editor Editor instance.
 	 * @param {Array.<headings.HeadingsFormat>} formats Heading formats to be used by the command instance.
 	 */
 	constructor( editor, formats ) {

+ 2 - 2
packages/ckeditor5-heading/src/headingsengine.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import buildModelConverter from '../engine/conversion/buildmodelconverter.js';
 import buildViewConverter from '../engine/conversion/buildviewconverter.js';
 import Paragraph from '../paragraph/paragraph.js';
@@ -21,7 +21,7 @@ const formats = [
  * This class represents the engine part of the headings feature.
  *
  * @memberOf headings
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class HeadingsEngine extends Feature {
 	/**

+ 2 - 2
packages/ckeditor5-heading/tests/headings.js

@@ -3,11 +3,11 @@
  * For licensing, see LICENSE.md.
  */
 
-import ClassicTestEditor from '/tests/ckeditor5/_utils/classictesteditor.js';
+import ClassicTestEditor from '/tests/core/_utils/classictesteditor.js';
 import Headings from '/ckeditor5/headings/headings.js';
 import HeadingsEngine from '/ckeditor5/headings/headingsengine.js';
 import ListDropdown from '/ckeditor5/ui/dropdown/list/listdropdown.js';
-import testUtils from '/tests/ckeditor5/_utils/utils.js';
+import testUtils from '/tests/core/_utils/utils.js';
 
 testUtils.createSinonSandbox();
 

+ 1 - 1
packages/ckeditor5-heading/tests/headingscommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import HeadingsCommand from '/ckeditor5/headings/headingscommand.js';
 import Range from '/ckeditor5/engine/model/range.js';
 import { setData, getData } from '/tests/engine/_utils/model.js';

+ 1 - 1
packages/ckeditor5-heading/tests/headingsengine.js

@@ -5,7 +5,7 @@
 
 import HeadingsEngine from '/ckeditor5/headings/headingsengine.js';
 import Paragraph from '/ckeditor5/paragraph/paragraph.js';
-import VirtualTestEditor from '/tests/ckeditor5/_utils/virtualtesteditor.js';
+import VirtualTestEditor from '/tests/core/_utils/virtualtesteditor.js';
 import HeadingsCommand from '/ckeditor5/headings/headingscommand.js';
 import { getData } from '/tests/engine/_utils/model.js';