interface Config { containerSelector : string ; } interface QuillInstance { getSelection : ( focus ? : boolean ) => { index : number ; length : number ; } ; } export class Output { container : HTMLElement ; constructor ( private quill , options ) { this . container = < HTMLElement > document . querySelector ( options . containerSelector ) ; this . container . innerHTML = '<span class="text-button-text">Component Output</span>' ; this . container . addEventListener ( 'click' , ( e ) => { e . preventDefault ( ) ; } ) ; } }