import Context from "~/src/context" ; import Editor from "../editor" ; export default abstract class EditorPlug { protected editor : Editor ; protected ctx : Context ; public abstract $el : HTMLElement ; constructor ( editor ) { this . editor = editor ; this . ctx = editor . ctx ; } public static Name : string ; public static BtnHTML : string ; public abstract getEl ( ) ; public abstract onShow ( ) ; public abstract onHide ( ) ; }