Remove dummy concept in favor of editor group and editors
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { WebDirective } from './../../types';
|
||||
import { WebApplication } from '@/application';
|
||||
import { WebApplication } from '@/ui_models/application';
|
||||
import { SNComponent, SNItem, ComponentArea } from 'snjs';
|
||||
import { isDesktopApplication } from '@/utils';
|
||||
import template from '%/directives/editor-menu.pug';
|
||||
import { PureCtrl } from '@Controllers/abstract/pure_ctrl';
|
||||
import { PureViewCtrl } from '@Views/abstract/pure_view_ctrl';
|
||||
import { ComponentMutator } from '@/../../../../snjs/dist/@types/models';
|
||||
|
||||
interface EditorMenuScope {
|
||||
@@ -13,7 +13,7 @@ interface EditorMenuScope {
|
||||
application: WebApplication
|
||||
}
|
||||
|
||||
class EditorMenuCtrl extends PureCtrl implements EditorMenuScope {
|
||||
class EditorMenuCtrl extends PureViewCtrl implements EditorMenuScope {
|
||||
|
||||
callback!: (component: SNComponent) => void
|
||||
selectedEditor!: SNComponent
|
||||
|
||||
Reference in New Issue
Block a user