Sfoglia il codice sorgente

Changed paths and docs to use ckeditor5-core package.

Szymon Kupś 9 anni fa
parent
commit
87951dc776

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

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import EnterCommand from './entercommand.js';
 import EnterObserver from './enterobserver.js';
 
@@ -11,7 +11,7 @@ import EnterObserver from './enterobserver.js';
  * The Enter feature. Handles the <kbd>Enter</kbd> and <kbd>Shift + Enter</kbd> keys in the editor.
  *
  * @memberOf enter
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Enter extends Feature {
 	init() {

+ 2 - 2
packages/ckeditor5-enter/src/entercommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Command from '../command/command.js';
+import Command from '../core/command/command.js';
 import Element from '../engine/model/element.js';
 import LivePosition from '../engine/model/liveposition.js';
 import Position from '../engine/model/position.js';
@@ -12,7 +12,7 @@ import Position from '../engine/model/position.js';
  * The Enter command. It is used by the {@link enter.Enter Enter feature} to handle the <kbd>Enter</kbd> key.
  *
  * @member enter
- * @extends ckeditor5.command.Command
+ * @extends core.command.Command
  */
 export default class EnterCommand extends Command {
 	_doExecute() {

+ 1 - 1
packages/ckeditor5-enter/tests/enter.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 Enter from '/ckeditor5/enter/enter.js';
 import EnterCommand from '/ckeditor5/enter/entercommand.js';
 import DomEventData from '/ckeditor5/engine/view/observer/domeventdata.js';

+ 1 - 1
packages/ckeditor5-enter/tests/entercommand.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 { default as EnterCommand, enterBlock } from '/ckeditor5/enter/entercommand.js';
 import { getData, setData } from '/tests/engine/_utils/model.js';