Explorar el Código

Merge branch 'no-compilation'

Piotrek Koszuliński hace 9 años
padre
commit
bc3f792e48
Se han modificado 37 ficheros con 226 adiciones y 106 borrados
  1. 2 2
      packages/ckeditor5-core/src/command/command.js
  2. 3 3
      packages/ckeditor5-core/src/command/helpers/getschemavalidranges.js
  3. 1 1
      packages/ckeditor5-core/src/command/helpers/isattributeallowedinselection.js
  4. 3 3
      packages/ckeditor5-core/src/command/toggleattributecommand.js
  5. 9 9
      packages/ckeditor5-core/src/editor/editor.js
  6. 5 5
      packages/ckeditor5-core/src/editor/standardeditor.js
  7. 2 2
      packages/ckeditor5-core/src/keystrokehandler.js
  8. 2 2
      packages/ckeditor5-core/src/plugin.js
  9. 3 3
      packages/ckeditor5-core/src/plugincollection.js
  10. 8 8
      packages/ckeditor5-core/tests/_utils-tests/classictesteditor.js
  11. 4 4
      packages/ckeditor5-core/tests/_utils-tests/classictesteditorui.js
  12. 1 1
      packages/ckeditor5-core/tests/_utils-tests/createsinonsandbox.js
  13. 6 6
      packages/ckeditor5-core/tests/_utils-tests/modeltesteditor.js
  14. 5 5
      packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js
  15. 4 4
      packages/ckeditor5-core/tests/_utils/classictesteditor.js
  16. 2 2
      packages/ckeditor5-core/tests/_utils/classictesteditorui.js
  17. 2 2
      packages/ckeditor5-core/tests/_utils/modeltesteditor.js
  18. 2 2
      packages/ckeditor5-core/tests/_utils/virtualtesteditor.js
  19. 2 2
      packages/ckeditor5-core/tests/command/command.js
  20. 5 5
      packages/ckeditor5-core/tests/command/helpers/getschemavalidranges.js
  21. 3 3
      packages/ckeditor5-core/tests/command/helpers/isattributeallowedinselection.js
  22. 7 7
      packages/ckeditor5-core/tests/command/toggleattributecommand.js
  23. 4 4
      packages/ckeditor5-core/tests/editor/editor-base.js
  24. 4 4
      packages/ckeditor5-core/tests/editor/editor.js
  25. 6 6
      packages/ckeditor5-core/tests/editor/standardeditor.js
  26. 3 3
      packages/ckeditor5-core/tests/keystrokehandler.js
  27. 2 2
      packages/ckeditor5-core/tests/plugin.js
  28. 6 6
      packages/ckeditor5-core/tests/plugincollection.js
  29. 14 0
      packages/ckeditor5-core/theme/icons/align-center.svg
  30. 14 0
      packages/ckeditor5-core/theme/icons/align-left.svg
  31. 14 0
      packages/ckeditor5-core/theme/icons/align-right.svg
  32. 14 0
      packages/ckeditor5-core/theme/icons/image.svg
  33. 16 0
      packages/ckeditor5-core/theme/icons/picker.svg
  34. 9 0
      packages/ckeditor5-core/theme/icons/quote.svg
  35. 16 0
      packages/ckeditor5-core/theme/icons/source.svg
  36. 14 0
      packages/ckeditor5-core/theme/icons/table.svg
  37. 9 0
      packages/ckeditor5-core/theme/icons/underline.svg

+ 2 - 2
packages/ckeditor5-core/src/command/command.js

@@ -7,8 +7,8 @@
  * @module core/command/command
  */
 
-import ObservableMixin from '../../utils/observablemixin.js';
-import mix from '../../utils/mix.js';
+import ObservableMixin from 'ckeditor5-utils/src/observablemixin';
+import mix from 'ckeditor5-utils/src/mix';
 
 /**
  * The base class for CKEditor commands.

+ 3 - 3
packages/ckeditor5-core/src/command/helpers/getschemavalidranges.js

@@ -7,9 +7,9 @@
  * @module core/command/helpers/getschemavalidranges
  */
 
-import TreeWalker from '../../../engine/model/treewalker.js';
-import Range from '../../../engine/model/range.js';
-import Position from '../../../engine/model/position.js';
+import TreeWalker from 'ckeditor5-engine/src/model/treewalker';
+import Range from 'ckeditor5-engine/src/model/range';
+import Position from '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

+ 1 - 1
packages/ckeditor5-core/src/command/helpers/isattributeallowedinselection.js

@@ -7,7 +7,7 @@
  * @module core/command/helpers/isattributeallowedinselection
  */
 
-import TreeWalker from '../../../engine/model/treewalker.js';
+import TreeWalker from 'ckeditor5-engine/src/model/treewalker';
 
 /**
  * Checks {@link module:engine/model/document~Document#schema} if attribute is allowed in selection:

+ 3 - 3
packages/ckeditor5-core/src/command/toggleattributecommand.js

@@ -7,9 +7,9 @@
  * @module core/command/toggleattributecommand
  */
 
-import Command from './command.js';
-import getSchemaValidRanges from './helpers/getschemavalidranges.js';
-import isAttributeAllowedInSelection from './helpers/isattributeallowedinselection.js';
+import Command from './command';
+import getSchemaValidRanges from './helpers/getschemavalidranges';
+import isAttributeAllowedInSelection from './helpers/isattributeallowedinselection';
 
 /**
  * An extension of the base {@link module:core/command/command~Command} class, which provides utilities for a command which toggles a single

+ 9 - 9
packages/ckeditor5-core/src/editor/editor.js

@@ -7,15 +7,15 @@
  * @module core/editor/editor
  */
 
-import EmitterMixin from '../../utils/emittermixin.js';
-import Config from '../../utils/config.js';
-import PluginCollection from '../plugincollection.js';
-import Locale from '../../utils/locale.js';
-import DataController from '../../engine/controller/datacontroller.js';
-import Document from '../../engine/model/document.js';
-
-import CKEditorError from '../../utils/ckeditorerror.js';
-import mix from '../../utils/mix.js';
+import EmitterMixin from 'ckeditor5-utils/src/emittermixin';
+import Config from '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 CKEditorError from 'ckeditor5-utils/src/ckeditorerror';
+import mix from 'ckeditor5-utils/src/mix';
 
 /**
  * Class representing a basic editor. It contains a base architecture, without much additional logic.

+ 5 - 5
packages/ckeditor5-core/src/editor/standardeditor.js

@@ -7,12 +7,12 @@
  * @module core/editor/standardeditor
  */
 
-import Editor from './editor.js';
-import KeystrokeHandler from '../keystrokehandler.js';
-import EditingController from '../../engine/controller/editingcontroller.js';
+import Editor from './editor';
+import KeystrokeHandler from '../keystrokehandler';
+import EditingController from 'ckeditor5-engine/src/controller/editingcontroller';
 
-import getDataFromElement from '../../utils/dom/getdatafromelement.js';
-import setDataInElement from '../../utils/dom/setdatainelement.js';
+import getDataFromElement from 'ckeditor5-utils/src/dom/getdatafromelement';
+import setDataInElement from 'ckeditor5-utils/src/dom/setdatainelement';
 
 /**
  * Class representing a typical browser-based editor. It handles a single source element and

+ 2 - 2
packages/ckeditor5-core/src/keystrokehandler.js

@@ -7,8 +7,8 @@
  * @module core/keystrokehandler
  */
 
-import EmitterMixin from '../utils/emittermixin.js';
-import { getCode, parseKeystroke } from '../utils/keyboard.js';
+import EmitterMixin from 'ckeditor5-utils/src/emittermixin';
+import { getCode, parseKeystroke } from 'ckeditor5-utils/src/keyboard';
 
 /**
  * Keystroke handler. Its instance is available in {@link module:core/editor/standardeditor~StandardEditor#keystrokes} so plugins

+ 2 - 2
packages/ckeditor5-core/src/plugin.js

@@ -7,8 +7,8 @@
  * @module core/plugin
  */
 
-import ObservableMixin from '../utils/observablemixin.js';
-import mix from '../utils/mix.js';
+import ObservableMixin from 'ckeditor5-utils/src/observablemixin';
+import mix from 'ckeditor5-utils/src/mix';
 
 /**
  * The base class for CKEditor plugin classes.

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

@@ -7,9 +7,9 @@
  * @module core/plugincollection
  */
 
-import Plugin from './plugin.js';
-import CKEditorError from '../utils/ckeditorerror.js';
-import log from '../utils/log.js';
+import Plugin from './plugin';
+import CKEditorError from 'ckeditor5-utils/src/ckeditorerror';
+import log from 'ckeditor5-utils/src/log';
 
 /**
  * Manages a list of CKEditor plugins, including loading, resolving dependencies and initialization.

+ 8 - 8
packages/ckeditor5-core/tests/_utils-tests/classictesteditor.js

@@ -5,17 +5,17 @@
 
 /* globals document */
 
-import StandardEditor from 'ckeditor5/core/editor/standardeditor.js';
-import ClassicTestEditor from 'tests/core/_utils/classictesteditor.js';
+import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
+import ClassicTestEditor from 'ckeditor5-core/tests/_utils/classictesteditor';
 
-import Plugin from 'ckeditor5/core/plugin.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
+import Plugin from 'ckeditor5-core/src/plugin';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
-import ClassicTestEditorUI from 'tests/core/_utils/classictesteditorui.js';
-import BoxedEditorUIView from 'ckeditor5/ui/editorui/boxed/boxededitoruiview.js';
+import ClassicTestEditorUI from 'ckeditor5-core/tests/_utils/classictesteditorui';
+import BoxedEditorUIView from 'ckeditor5-ui/src/editorui/boxed/boxededitoruiview';
 
-import { getData } from 'ckeditor5/engine/dev-utils/model.js';
-import testUtils from 'tests/core/_utils/utils.js';
+import { getData } from 'ckeditor5-engine/src/dev-utils/model';
+import testUtils from 'ckeditor5-core/tests/_utils/utils';
 
 testUtils.createSinonSandbox();
 

+ 4 - 4
packages/ckeditor5-core/tests/_utils-tests/classictesteditorui.js

@@ -5,10 +5,10 @@
 
 /* bender-tags: editor, browser-only */
 
-import ComponentFactory from 'ckeditor5/ui/componentfactory.js';
-import FocusTracker from 'ckeditor5/utils/focustracker.js';
-import ClassicTestEditorUI from 'tests/core/_utils/classictesteditorui.js';
-import View from 'ckeditor5/ui/view.js';
+import ComponentFactory from 'ckeditor5-ui/src/componentfactory';
+import FocusTracker from 'ckeditor5-utils/src/focustracker';
+import ClassicTestEditorUI from 'ckeditor5-core/tests/_utils/classictesteditorui';
+import View from 'ckeditor5-ui/src/view';
 
 describe( 'ClassicTestEditorUI', () => {
 	let editor, view, ui;

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/createsinonsandbox.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import testUtils from 'tests/core/_utils/utils.js';
+import testUtils from 'ckeditor5-core/tests/_utils/utils';
 
 const obj = {
 	method() {}

+ 6 - 6
packages/ckeditor5-core/tests/_utils-tests/modeltesteditor.js

@@ -3,15 +3,15 @@
  * For licensing, see LICENSE.md.
  */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import ModelTestEditor from 'tests/core/_utils/modeltesteditor.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import ModelTestEditor from 'ckeditor5-core/tests/_utils/modeltesteditor';
 
-import Plugin from 'ckeditor5/core/plugin.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
+import Plugin from 'ckeditor5-core/src/plugin';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
-import { getData, setData } from 'ckeditor5/engine/dev-utils/model.js';
+import { getData, setData } from 'ckeditor5-engine/src/dev-utils/model';
 
-import testUtils from 'tests/core/_utils/utils.js';
+import testUtils from 'ckeditor5-core/tests/_utils/utils';
 
 testUtils.createSinonSandbox();
 

+ 5 - 5
packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js

@@ -3,13 +3,13 @@
  * For licensing, see LICENSE.md.
  */
 
-import StandardEditor from 'ckeditor5/core/editor/standardeditor.js';
-import VirtualTestEditor from 'tests/core/_utils/virtualtesteditor.js';
+import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
+import VirtualTestEditor from 'ckeditor5-core/tests/_utils/virtualtesteditor';
 
-import Plugin from 'ckeditor5/core/plugin.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
+import Plugin from 'ckeditor5-core/src/plugin';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
-import testUtils from 'tests/core/_utils/utils.js';
+import testUtils from 'ckeditor5-core/tests/_utils/utils';
 
 testUtils.createSinonSandbox();
 

+ 4 - 4
packages/ckeditor5-core/tests/_utils/classictesteditor.js

@@ -3,10 +3,10 @@
  * For licensing, see LICENSE.md.
  */
 
-import StandardEditor from 'ckeditor5/core/editor/standardeditor.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
-import ClassicTestEditorUI from './classictesteditorui.js';
-import BoxedEditorUIView from 'ckeditor5/ui/editorui/boxed/boxededitoruiview.js';
+import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
+import ClassicTestEditorUI from './classictesteditorui';
+import BoxedEditorUIView from 'ckeditor5-ui/src/editorui/boxed/boxededitoruiview';
 
 /**
  * A simplified classic editor. Useful for testing features.

+ 2 - 2
packages/ckeditor5-core/tests/_utils/classictesteditorui.js

@@ -3,8 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
-import ComponentFactory from 'ckeditor5/ui/componentfactory.js';
-import FocusTracker from 'ckeditor5/utils/focustracker.js';
+import ComponentFactory from 'ckeditor5-ui/src/componentfactory';
+import FocusTracker from 'ckeditor5-utils/src/focustracker';
 
 /**
  * A simplified classic editor UI class. Useful for testing features.

+ 2 - 2
packages/ckeditor5-core/tests/_utils/modeltesteditor.js

@@ -3,8 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
 /**
  * A simple editor implementation with a functional model part of the engine (the document).

+ 2 - 2
packages/ckeditor5-core/tests/_utils/virtualtesteditor.js

@@ -3,8 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
-import StandardEditor from 'ckeditor5/core/editor/standardeditor.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
+import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
 /**
  * A simple editor implementation useful for testing the engine part of the features.

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

@@ -3,8 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import Command from 'ckeditor5/core/command/command.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import Command from 'ckeditor5-core/src/command/command';
 
 describe( 'Command', () => {
 	let editor, command;

+ 5 - 5
packages/ckeditor5-core/tests/command/helpers/getschemavalidranges.js

@@ -3,11 +3,11 @@
  * For licensing, see LICENSE.md.
  */
 
-import Document from 'ckeditor5/engine/model/document.js';
-import Range from 'ckeditor5/engine/model/range.js';
-import Selection from 'ckeditor5/engine/model/selection.js';
-import getSchemaValidRanges from 'ckeditor5/core/command/helpers/getschemavalidranges.js';
-import { setData, stringify } from 'ckeditor5/engine/dev-utils/model.js';
+import Document from 'ckeditor5-engine/src/model/document';
+import Range from 'ckeditor5-engine/src/model/range';
+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';
 
 describe( 'getSchemaValidRanges', () => {
 	const attribute = 'bold';

+ 3 - 3
packages/ckeditor5-core/tests/command/helpers/isattributeallowedinselection.js

@@ -3,9 +3,9 @@
  * For licensing, see LICENSE.md.
  */
 
-import Document from 'ckeditor5/engine/model/document.js';
-import isAttributeAllowedInSelection from 'ckeditor5/core/command/helpers/isattributeallowedinselection.js';
-import { setData } from 'ckeditor5/engine/dev-utils/model.js';
+import Document from 'ckeditor5-engine/src/model/document';
+import isAttributeAllowedInSelection from 'ckeditor5-core/src/command/helpers/isattributeallowedinselection';
+import { setData } from 'ckeditor5-engine/src/dev-utils/model';
 
 describe( 'isAttributeAllowedInSelection', () => {
 	const attribute = 'bold';

+ 7 - 7
packages/ckeditor5-core/tests/command/toggleattributecommand.js

@@ -3,13 +3,13 @@
  * For licensing, see LICENSE.md.
  */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import Document from 'ckeditor5/engine/model/document.js';
-import Batch from 'ckeditor5/engine/model/batch.js';
-import ToggleAttributeCommand from 'ckeditor5/core/command/toggleattributecommand.js';
-import Range from 'ckeditor5/engine/model/range.js';
-import Position from 'ckeditor5/engine/model/position.js';
-import { setData, getData } from 'ckeditor5/engine/dev-utils/model.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import Document from 'ckeditor5-engine/src/model/document';
+import Batch from 'ckeditor5-engine/src/model/batch';
+import ToggleAttributeCommand from 'ckeditor5-core/src/command/toggleattributecommand';
+import Range from 'ckeditor5-engine/src/model/range';
+import Position from 'ckeditor5-engine/src/model/position';
+import { setData, getData } from 'ckeditor5-engine/src/dev-utils/model';
 
 describe( 'ToggleAttributeCommand', () => {
 	const attrKey = 'bold';

+ 4 - 4
packages/ckeditor5-core/tests/editor/editor-base.js

@@ -5,10 +5,10 @@
 
 /* bender-tags: editor */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import Command from 'ckeditor5/core/command/command.js';
-import Locale from 'ckeditor5/utils/locale.js';
-import CKEditorError from 'ckeditor5/utils/ckeditorerror.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import Command from 'ckeditor5-core/src/command/command';
+import Locale from 'ckeditor5-utils/src/locale';
+import CKEditorError from 'ckeditor5-utils/src/ckeditorerror';
 
 describe( 'Editor', () => {
 	describe( 'locale', () => {

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

@@ -6,10 +6,10 @@
 /* globals setTimeout */
 /* bender-tags: editor, browser-only */
 
-import Editor from 'ckeditor5/core/editor/editor.js';
-import Plugin from 'ckeditor5/core/plugin.js';
-import Config from 'ckeditor5/utils/config.js';
-import PluginCollection from 'ckeditor5/core/plugincollection.js';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import Plugin from 'ckeditor5-core/src/plugin';
+import Config from 'ckeditor5-utils/src/config';
+import PluginCollection from 'ckeditor5-core/src/plugincollection';
 
 class PluginA extends Plugin {
 	constructor( editor ) {

+ 6 - 6
packages/ckeditor5-core/tests/editor/standardeditor.js

@@ -6,13 +6,13 @@
 /* globals document */
 /* bender-tags: editor, browser-only */
 
-import StandardEditor from 'ckeditor5/core/editor/standardeditor.js';
-import HtmlDataProcessor from 'ckeditor5/engine/dataprocessor/htmldataprocessor.js';
-import { getData, setData } from 'ckeditor5/engine/dev-utils/model.js';
+import StandardEditor from 'ckeditor5-core/src/editor/standardeditor';
+import HtmlDataProcessor from 'ckeditor5-engine/src/dataprocessor/htmldataprocessor';
+import { getData, setData } from 'ckeditor5-engine/src/dev-utils/model';
 
-import EditingController from 'ckeditor5/engine/controller/editingcontroller.js';
-import KeystrokeHandler from 'ckeditor5/core/keystrokehandler.js';
-import Plugin from 'ckeditor5/core/plugin.js';
+import EditingController from 'ckeditor5-engine/src/controller/editingcontroller';
+import KeystrokeHandler from 'ckeditor5-core/src/keystrokehandler';
+import Plugin from 'ckeditor5-core/src/plugin';
 
 describe( 'StandardEditor', () => {
 	let editorElement;

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

@@ -5,9 +5,9 @@
 
 /* bender-tags: browser-only */
 
-import VirtualTestEditor from 'tests/core/_utils/virtualtesteditor.js';
-import KeystrokeHandler from 'ckeditor5/core/keystrokehandler.js';
-import { keyCodes } from 'ckeditor5/utils/keyboard.js';
+import VirtualTestEditor from 'ckeditor5-core/tests/_utils/virtualtesteditor';
+import KeystrokeHandler from 'ckeditor5-core/src/keystrokehandler';
+import { keyCodes } from 'ckeditor5-utils/src/keyboard';
 
 describe( 'KeystrokeHandler', () => {
 	let editor;

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

@@ -3,8 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
-import Plugin from 'ckeditor5/core/plugin.js';
-import Editor from 'ckeditor5/core/editor/editor.js';
+import Plugin from 'ckeditor5-core/src/plugin';
+import Editor from 'ckeditor5-core/src/editor/editor';
 
 let editor;
 

+ 6 - 6
packages/ckeditor5-core/tests/plugincollection.js

@@ -5,12 +5,12 @@
 
 /* bender-tags: browser-only */
 
-import testUtils from 'tests/core/_utils/utils.js';
-import Editor from 'ckeditor5/core/editor/editor.js';
-import PluginCollection from 'ckeditor5/core/plugincollection.js';
-import Plugin from 'ckeditor5/core/plugin.js';
-import CKEditorError from 'ckeditor5/utils/ckeditorerror.js';
-import log from 'ckeditor5/utils/log.js';
+import testUtils from 'ckeditor5-core/tests/_utils/utils';
+import Editor from 'ckeditor5-core/src/editor/editor';
+import PluginCollection from 'ckeditor5-core/src/plugincollection';
+import Plugin from 'ckeditor5-core/src/plugin';
+import CKEditorError from 'ckeditor5-utils/src/ckeditorerror';
+import log from 'ckeditor5-utils/src/log';
 
 let editor;
 let PluginA, PluginB, PluginC, PluginD, PluginE, PluginF, PluginG, PluginH, PluginI, PluginX;

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-center.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-center</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-center" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-center" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M2,6 L2,7 L14,7 L14,6 L2,6 L2,6 Z M3,12 L3,13 L13,13 L13,12 L3,12 L3,12 Z M0,9 L0,10 L16,10 L16,9 L0,9 L0,9 Z M2,0 L2,1 L14,1 L14,0 L2,0 L2,0 Z M0,3 L0,4 L16,4 L16,3 L0,3 L0,3 Z" id="path4634-copy-3" sketch:type="MSShapeGroup" transform="translate(8.000000, 6.500000) scale(-1, 1) translate(-8.000000, -6.500000) "></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-left.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-left</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-left" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-left" sketch:type="MSLayerGroup" transform="translate(3.000000, 4.000000)">
+                <path d="M0,6 L0,7 L12,7 L12,6 L0,6 L0,6 Z M0,12 L0,13 L10,13 L10,12 L0,12 L0,12 Z M0,9 L0,10 L15,10 L15,9 L0,9 L0,9 Z M0,0 L0,1 L12,1 L12,0 L0,0 L0,0 Z M0,3 L0,4 L15,4 L15,3 L0,3 L0,3 Z" id="path4634" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/align-right.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>align-right</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="align-right" sketch:type="MSArtboardGroup" fill="#444444">
+            <g id="icon:align-right" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M0,6 L0,7 L12,7 L12,6 L0,6 L0,6 Z M0,12 L0,13 L10,13 L10,12 L0,12 L0,12 Z M0,9 L0,10 L15,10 L15,9 L0,9 L0,9 Z M0,0 L0,1 L12,1 L12,0 L0,0 L0,0 Z M0,3 L0,4 L15,4 L15,3 L0,3 L0,3 Z" id="path4634-copy" sketch:type="MSShapeGroup" transform="translate(7.500000, 6.500000) scale(-1, 1) translate(-7.500000, -6.500000) "></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/image.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>image</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="image" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:image" sketch:type="MSLayerGroup" transform="translate(2.000000, 3.000000)">
+                <path d="M0,11.9941413 C0,13.1019465 0.894513756,14 1.99406028,14 L14.0059397,14 C15.1072288,14 16,13.1029399 16,11.9941413 L16,2.00585866 C16,0.898053512 15.1054862,0 14.0059397,0 L1.99406028,0 C0.892771196,0 0,0.897060126 0,2.00585866 L0,11.9941413 Z M1,2.00247329 C1,1.44882258 1.44994876,1 2.00684547,1 L13.9931545,1 C14.5492199,1 15,1.45576096 15,2.00247329 L15,11.9975267 C15,12.5511774 14.5500512,13 13.9931545,13 L2.00684547,13 C1.45078007,13 1,12.544239 1,11.9975267 L1,2.00247329 Z M2.0237314,12.0028573 L14,12.0028573 L14,8.90598928 L11.1099289,4.64285714 L8.01350775,9.9000001 L5.01091767,7.79714291 L2,10.9601769 L2.0237314,12.0028573 Z M4.40625001,3 C3.62959688,3 3,3.62360071 3,4.39285714 C3,5.16210429 3.62959688,5.78571429 4.40625001,5.78571429 C5.18289376,5.78571429 5.81250002,5.16210429 5.81250002,4.39285714 C5.81250002,3.62360071 5.18289376,3 4.40625001,3 L4.40625001,3 Z" id="path4700" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 16 - 0
packages/ckeditor5-core/theme/icons/picker.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>picker</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="picker" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:picker" sketch:type="MSLayerGroup" transform="translate(0.000000, 1.000000)">
+                <g id="Rectangle-230-+-Oval-3-+-Rectangle-229" transform="translate(9.683996, 9.356877) rotate(-316.000000) translate(-9.683996, -9.356877) translate(5.683996, 0.356877)" sketch:type="MSShapeGroup">
+                    <path d="M2,7 L2,15.9996343 C2,17.1039635 2.89543351,18 4,18 C5.10776926,18 6,17.1050627 6,15.9996343 L6,7 L5,7 L5,15.9996343 C5,16.552121 4.55613518,17 4,17 C3.44771525,17 3,16.5516755 3,15.9996343 L3,7 L2,7 Z M6.20527682,3.97573974 C6.22184549,3.82738584 6.23044302,3.66006568 6.23044302,3.47140644 C6.23044302,1.5542016 5.3238196,8.8817842e-15 4.20544292,8.8817842e-15 C3.08706625,8.8817842e-15 2.18044283,1.5542016 2.18044283,3.47140644 C2.18044283,3.66006568 2.18940334,3.82738584 2.20662653,3.97573974 L6.20527682,3.97573974 Z M0.513009559,4.92759357 L7.1496054,4.92759357 L7.1496054,5.8794474 L0.513009559,5.8794474 L0.513009559,4.92759357 Z" id="Oval-3"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 9 - 0
packages/ckeditor5-core/theme/icons/quote.svg


+ 16 - 0
packages/ckeditor5-core/theme/icons/source.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>source</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="source" sketch:type="MSArtboardGroup" fill="#232323">
+            <g id="icon:source" sketch:type="MSLayerGroup" transform="translate(2.000000, 2.000000)">
+                <g id="Path-199-+-Path-199-Copy-2" sketch:type="MSShapeGroup">
+                    <path d="M13.1155362,5.96137107 L15.5420842,8.16727971 C15.5420842,8.16727971 15.5359174,7.88896426 15.532834,7.74980653 C15.5289593,7.57493346 15.5212098,7.22518734 15.5212098,7.22518734 L9.65170429,13.0562511 L10.567918,13.978505 L16.4374236,8.1474413 L16.9226298,7.66541293 L16.4165492,7.20534892 L13.9982879,5.00697343 L13.1155362,5.96137107 Z M10.1556393,3.27060948 L9.67257863,2.83147214 L10.5470437,1.86954136 L11.038391,2.31621184 L10.1556393,3.27060948 Z M3.11490302,10.8827864 L0.672578629,8.66253589 L0.166498111,8.20247188 L0.651704292,7.72044352 L6.52120984,1.88937977 L7.43742358,2.81163373 L1.56791804,8.64269748 L1.5470437,7.7006051 L3.99765471,9.9283888 L3.11490302,10.8827864 Z M6.07479988,13.573548 L6.54208418,13.9983435 L7.41654925,13.0364127 L6.95755158,12.6191504 L6.07479988,13.573548 Z M2.51844088,15.4303731 L15.4749228,1.4223165 L14.5205606,0.539597559 L1.56407865,14.5476542 L2.51844088,15.4303731 Z" id="Shape"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
packages/ckeditor5-core/theme/icons/table.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
+    <title>table</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="table" sketch:type="MSArtboardGroup" fill="#454545">
+            <g id="icon:table" sketch:type="MSLayerGroup" transform="translate(2.000000, 4.000000)">
+                <path d="M1.99406028,0 C0.892771196,0 0,0.897060126 0,2.00585866 L0,11.9941413 C0,13.1019465 0.894513756,14 1.99406028,14 L14.0059397,14 C15.1072288,14 16,13.1029399 16,11.9941413 L16,2.00585866 C16,0.898053512 15.1054862,0 14.0059397,0 L1.99406028,0 Z M1,2.01750603 L5,2.01750603 L5,5.01750603 L1,5.01750603 L1,2.01750603 Z M6,2.01750603 L10,2.01750603 L10,5.01750603 L6,5.01750603 L6,2.01750603 Z M11,2.01750603 L15,2.01750603 L15,5.01750603 L11,5.01750603 L11,2.01750603 Z M1,6.01750603 L5,6.01750603 L5,9.01750603 L1,9.01750603 L1,6.01750603 Z M6,6.01750603 L10,6.01750603 L10,9.01750603 L6,9.01750603 L6,6.01750603 Z M11,6.01750603 L15,6.01750603 L15,9.01750603 L11,9.01750603 L11,6.01750603 Z M1,10.017506 L5,10.017506 L5,13.017506 L1,13.017506 L1,10.017506 Z M6,10.017506 L10,10.017506 L10,13.017506 L6,13.017506 L6,10.017506 Z M11,10.017506 L15,10.017506 L15,13.017506 L11,13.017506 L11,10.017506 Z" id="path4770" sketch:type="MSShapeGroup"></path>
+            </g>
+        </g>
+    </g>
+</svg>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 9 - 0
packages/ckeditor5-core/theme/icons/underline.svg


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio