@@ -7,8 +7,8 @@
* @module core/command/command
*/
-import ObservableMixin from 'ckeditor5-utils/src/observablemixin';
-import mix from 'ckeditor5-utils/src/mix';
+import ObservableMixin from '@ckeditor/ckeditor5-utils/src/observablemixin';
+import mix from '@ckeditor/ckeditor5-utils/src/mix';
/**
* The base class for CKEditor commands.
@@ -7,9 +7,9 @@
* @module core/command/helpers/getschemavalidranges
-import TreeWalker from 'ckeditor5-engine/src/model/treewalker';
-import Range from 'ckeditor5-engine/src/model/range';
-import Position from 'ckeditor5-engine/src/model/position';
+import TreeWalker from '@ckeditor/ckeditor5-engine/src/model/treewalker';
+import Range from '@ckeditor/ckeditor5-engine/src/model/range';
+import Position from '@ckeditor/ckeditor5-engine/src/model/position';
* Walks through given array of ranges and removes parts of them that are not allowed by passed schema to have the
@@ -7,7 +7,7 @@
* @module core/command/helpers/isattributeallowedinselection
* Checks {@link module:engine/model/document~Document#schema} if attribute is allowed in selection:
* @module core/editingkeystrokehandler
-import KeystrokeHandler from 'ckeditor5-utils/src/keystrokehandler';
+import KeystrokeHandler from '@ckeditor/ckeditor5-utils/src/keystrokehandler';
* A keystroke handler for editor editing. Its instance is available
@@ -7,15 +7,15 @@
* @module core/editor/editor
-import EmitterMixin from 'ckeditor5-utils/src/emittermixin';
-import Config from 'ckeditor5-utils/src/config';
+import EmitterMixin from '@ckeditor/ckeditor5-utils/src/emittermixin';
+import Config from '@ckeditor/ckeditor5-utils/src/config';
import PluginCollection from '../plugincollection';
-import Locale from 'ckeditor5-utils/src/locale';
-import DataController from 'ckeditor5-engine/src/controller/datacontroller';
-import Document from 'ckeditor5-engine/src/model/document';
+import Locale from '@ckeditor/ckeditor5-utils/src/locale';
+import DataController from '@ckeditor/ckeditor5-engine/src/controller/datacontroller';
+import Document from '@ckeditor/ckeditor5-engine/src/model/document';
-import CKEditorError from 'ckeditor5-utils/src/ckeditorerror';
+import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
* Class representing a basic editor. It contains a base architecture, without much additional logic.
@@ -9,10 +9,10 @@
import Editor from './editor';
import EditingKeystrokeHandler from '../editingkeystrokehandler';
-import EditingController from 'ckeditor5-engine/src/controller/editingcontroller';
+import EditingController from '@ckeditor/ckeditor5-engine/src/controller/editingcontroller';
-import getDataFromElement from 'ckeditor5-utils/src/dom/getdatafromelement';
-import setDataInElement from 'ckeditor5-utils/src/dom/setdatainelement';
+import getDataFromElement from '@ckeditor/ckeditor5-utils/src/dom/getdatafromelement';
+import setDataInElement from '@ckeditor/ckeditor5-utils/src/dom/setdatainelement';
* Class representing a typical browser-based editor. It handles a single source element and
* @module core/plugin
* The base class for CKEditor plugin classes.
@@ -8,8 +8,8 @@
import Plugin from './plugin';
-import log from 'ckeditor5-utils/src/log';
+import log from '@ckeditor/ckeditor5-utils/src/log';
* Manages a list of CKEditor plugins, including loading, resolving dependencies and initialization.
@@ -5,17 +5,17 @@
/* globals document */
-import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
-import ClassicTestEditor from 'ckeditor5-core/tests/_utils/classictesteditor';
+import StandardEditor from '../../src/editor/standardeditor';
+import ClassicTestEditor from '../../tests/_utils/classictesteditor';
-import Plugin from 'ckeditor5-core/src/plugin';
-import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
+import Plugin from '../../src/plugin';
+import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
-import ClassicTestEditorUI from 'ckeditor5-core/tests/_utils/classictesteditorui';
-import BoxedEditorUIView from 'ckeditor5-ui/src/editorui/boxed/boxededitoruiview';
+import ClassicTestEditorUI from '../../tests/_utils/classictesteditorui';
+import BoxedEditorUIView from '@ckeditor/ckeditor5-ui/src/editorui/boxed/boxededitoruiview';
-import { getData } from 'ckeditor5-engine/src/dev-utils/model';
-import testUtils from 'ckeditor5-core/tests/_utils/utils';
+import { getData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
+import testUtils from '../../tests/_utils/utils';
testUtils.createSinonSandbox();
@@ -3,10 +3,10 @@
* For licensing, see LICENSE.md.
-import ComponentFactory from 'ckeditor5-ui/src/componentfactory';
-import FocusTracker from 'ckeditor5-utils/src/focustracker';
-import View from 'ckeditor5-ui/src/view';
+import ComponentFactory from '@ckeditor/ckeditor5-ui/src/componentfactory';
+import FocusTracker from '@ckeditor/ckeditor5-utils/src/focustracker';
+import View from '@ckeditor/ckeditor5-ui/src/view';
describe( 'ClassicTestEditorUI', () => {
let editor, view, ui;
@@ -3,7 +3,7 @@
const obj = {
method() {}
@@ -3,15 +3,15 @@
-import Editor from 'ckeditor5-core/src/editor/editor';
-import ModelTestEditor from 'ckeditor5-core/tests/_utils/modeltesteditor';
+import Editor from '../../src/editor/editor';
+import ModelTestEditor from '../../tests/_utils/modeltesteditor';
-import { getData, setData } from 'ckeditor5-engine/src/dev-utils/model';
+import { getData, setData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
@@ -3,13 +3,13 @@
-import VirtualTestEditor from 'ckeditor5-core/tests/_utils/virtualtesteditor';
+import VirtualTestEditor from '../../tests/_utils/virtualtesteditor';
import ClassicTestEditorUI from './classictesteditorui';
* A simplified classic editor. Useful for testing features.
@@ -3,8 +3,8 @@
* A simplified classic editor UI class. Useful for testing features.
* A simple editor implementation with a functional model part of the engine (the document).
* A simple editor implementation useful for testing the engine part of the features.
-import Command from 'ckeditor5-core/src/command/command';
+import Command from '../../src/command/command';
describe( 'Command', () => {
let editor, command;
@@ -3,11 +3,11 @@
-import Selection from 'ckeditor5-engine/src/model/selection';
-import getSchemaValidRanges from 'ckeditor5-core/src/command/helpers/getschemavalidranges';
-import { setData, stringify } from 'ckeditor5-engine/src/dev-utils/model';
+import Selection from '@ckeditor/ckeditor5-engine/src/model/selection';
+import getSchemaValidRanges from '../../../src/command/helpers/getschemavalidranges';
+import { setData, stringify } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
describe( 'getSchemaValidRanges', () => {
const attribute = 'bold';
@@ -3,9 +3,9 @@
-import isAttributeAllowedInSelection from 'ckeditor5-core/src/command/helpers/isattributeallowedinselection';
-import { setData } from 'ckeditor5-engine/src/dev-utils/model';
+import isAttributeAllowedInSelection from '../../../src/command/helpers/isattributeallowedinselection';
+import { setData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
describe( 'isAttributeAllowedInSelection', () => {
-import Batch from 'ckeditor5-engine/src/model/batch';
-import ToggleAttributeCommand from 'ckeditor5-core/src/command/toggleattributecommand';
-import { setData, getData } from 'ckeditor5-engine/src/dev-utils/model';
+import Batch from '@ckeditor/ckeditor5-engine/src/model/batch';
+import ToggleAttributeCommand from '../../src/command/toggleattributecommand';
+import { setData, getData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
describe( 'ToggleAttributeCommand', () => {
const attrKey = 'bold';
-import EditingKeystrokeHandler from 'ckeditor5-core/src/editingkeystrokehandler';
-import { keyCodes } from 'ckeditor5-utils/src/keyboard';
+import VirtualTestEditor from '../tests/_utils/virtualtesteditor';
+import EditingKeystrokeHandler from '../src/editingkeystrokehandler';
+import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard';
describe( 'EditingKeystrokeHandler', () => {
let editor, keystrokes;
describe( 'Editor', () => {
describe( 'locale', () => {
@@ -5,10 +5,10 @@
/* globals setTimeout */
-import PluginCollection from 'ckeditor5-core/src/plugincollection';
+import PluginCollection from '../../src/plugincollection';
class PluginA extends Plugin {
constructor( editor ) {
@@ -5,14 +5,14 @@
-
+
+import EditingKeystrokeHandler from '../../src/editingkeystrokehandler';
describe( 'StandardEditor', () => {
let editorElement;
+import Plugin from '../src/plugin';
+import Editor from '../src/editor/editor';
let editor;
@@ -3,12 +3,12 @@
+import testUtils from '../tests/_utils/utils';
+import PluginCollection from '../src/plugincollection';
let PluginA, PluginB, PluginC, PluginD, PluginE, PluginF, PluginG, PluginH, PluginI, PluginX;