Przeglądaj źródła

Changed paths and docs to use ckeditor5-core package.

Szymon Kupś 9 lat temu
rodzic
commit
b65f1503df

+ 2 - 2
packages/ckeditor5-typing/src/delete.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import DeleteCommand from './deletecommand.js';
 import DeleteObserver from './deleteobserver.js';
 
@@ -11,7 +11,7 @@ import DeleteObserver from './deleteobserver.js';
  * The delete and backspace feature. Handles the <kbd>Delete</kbd> and <kbd>Backspace</kbd> keys in the editor.
  *
  * @memberOf typing
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Delete extends Feature {
 	init() {

+ 3 - 3
packages/ckeditor5-typing/src/deletecommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Command from '../command/command.js';
+import Command from '../core/command/command.js';
 import Selection from '../engine/model/selection.js';
 import ChangeBuffer from './changebuffer.js';
 import count from '../utils/count.js';
@@ -13,13 +13,13 @@ import count from '../utils/count.js';
  * <kbd>Backspace</kbd> keys.
  *
  * @member typing
- * @extends ckeditor5.command.Command
+ * @extends core.command.Command
  */
 export default class DeleteCommand extends Command {
 	/**
 	 * Creates an instance of the command.
 	 *
-	 * @param {ckeditor5.Editor} editor
+	 * @param {core.editor.Editor} editor
 	 * @param {'forward'|'backward'} direction The directionality of the delete describing in what direction it
 	 * should consume the content when the selection is collapsed.
 	 */

+ 2 - 2
packages/ckeditor5-typing/src/input.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import ChangeBuffer from './changebuffer.js';
 import ModelPosition from '../engine/model/position.js';
 import ModelRange from '../engine/model/range.js';
@@ -17,7 +17,7 @@ import { getCode } from '../utils/keyboard.js';
  * Handles text input coming from the keyboard or other input methods.
  *
  * @memberOf typing
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Input extends Feature {
 	/**

+ 2 - 2
packages/ckeditor5-typing/src/typing.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import Input from './input';
 import Delete from './delete';
 
@@ -11,7 +11,7 @@ import Delete from './delete';
  * The typing feature. Handles typing.
  *
  * @memberOf typing
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Typing extends Feature {
 	static get requires() {

+ 1 - 1
packages/ckeditor5-typing/tests/delete.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import VirtualTestEditor from '/tests/ckeditor5/_utils/virtualtesteditor.js';
+import VirtualTestEditor from '/tests/core/_utils/virtualtesteditor.js';
 import Delete from '/ckeditor5/typing/delete.js';
 import DomEventData from '/ckeditor5/engine/view/observer/domeventdata.js';
 

+ 1 - 1
packages/ckeditor5-typing/tests/deletecommand-integration.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 DeleteCommand from '/ckeditor5/typing/deletecommand.js';
 import UndoEngine from '/ckeditor5/undo/undoengine.js';
 import { getData, setData } from '/tests/engine/_utils/model.js';

+ 1 - 1
packages/ckeditor5-typing/tests/deletecommand.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 DeleteCommand from '/ckeditor5/typing/deletecommand.js';
 import { getData, setData } from '/tests/engine/_utils/model.js';
 

+ 1 - 1
packages/ckeditor5-typing/tests/input.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import VirtualTestEditor from '/tests/ckeditor5/_utils/virtualtesteditor.js';
+import VirtualTestEditor from '/tests/core/_utils/virtualtesteditor.js';
 import Input from '/ckeditor5/typing/input.js';
 import Paragraph from '/ckeditor5/paragraph/paragraph.js';