|
|
|
@ -32,6 +32,7 @@ import CodeManagerModule from '../../code_manager'; |
|
|
|
import UndoManagerModule from '../../undo_manager'; |
|
|
|
import RichTextEditorModule from '../../rich_text_editor'; |
|
|
|
import CommandsModule from '../../commands'; |
|
|
|
import StyleManager from '../../style_manager'; |
|
|
|
|
|
|
|
//@ts-ignore
|
|
|
|
Backbone.$ = $; |
|
|
|
@ -211,6 +212,10 @@ export default class EditorModel extends Model { |
|
|
|
return this.get('PageManager'); |
|
|
|
} |
|
|
|
|
|
|
|
get Styles(): StyleManager { |
|
|
|
return this.get('StyleManager'); |
|
|
|
} |
|
|
|
|
|
|
|
constructor(conf: EditorConfig = {}) { |
|
|
|
super(); |
|
|
|
this._config = conf; |
|
|
|
|