Browse Source

Up for docs

pull/6360/head
Artur Arseniev 2 years ago
parent
commit
2d83f12fea
  1. 14
      packages/core/src/editor/index.ts
  2. 2
      packages/core/src/editor/model/Editor.ts

14
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.

2
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 '..';

Loading…
Cancel
Save