diff --git a/packages/core/src/editor/index.ts b/packages/core/src/editor/index.ts index b5174084f..942254c38 100644 --- a/packages/core/src/editor/index.ts +++ b/packages/core/src/editor/index.ts @@ -8,19 +8,7 @@ * }); * ``` * - * ## Available Events - * - * You can make use of available events in this way - * ```js - * editor.on('EVENT-NAME', (some, argument) => { - * // do something - * }) - * ``` - * - * * `update` - The structure of the template is updated (its HTML/CSS) - * * `undo` - Undo executed - * * `redo` - Redo executed - * * `load` - Editor is loaded + * {REPLACE_EVENTS} * * ### Components * Check the [Components](/api/components.html) module. diff --git a/packages/core/src/editor/model/Editor.ts b/packages/core/src/editor/model/Editor.ts index 034b1522b..88bd27369 100644 --- a/packages/core/src/editor/model/Editor.ts +++ b/packages/core/src/editor/model/Editor.ts @@ -3,7 +3,7 @@ import Backbone from 'backbone'; import $ from '../../utils/cash-dom'; import Extender from '../../utils/extender'; import { hasWin, isEmptyObj, wait } from '../../utils/mixins'; -import { AddOptions, Model, Collection, ObjectAny } from '../../common'; +import { Model, Collection, ObjectAny } from '../../common'; import Selected from './Selected'; import FrameView from '../../canvas/view/FrameView'; import Editor from '..';