vue-mce
Version:
VueJS component for TinyMCE
22 lines (16 loc) • 447 B
TypeScript
import Vue, { ComponentOptions, PluginFunction } from 'vue'
export interface VueMceComponent extends ComponentOptions<Vue> {
content: string
instance: any
error: Error
handleError(err: Error): void
handleSuccess(editor: any): void
setContent(content: string): void
handleInput(): void
handleChange(): void
}
export interface VueMce {
install: PluginFunction<never>
component: VueMceComponent
}
export const VueMce: VueMce