primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [ • 477 B
TypeScript
import { VNode } from 'vue';
interface EditorProps {
modelValue?: string;
placeholder?: string;
readonly?: boolean;
formats?: any[];
editorStyle?: string;
}
declare class Editor {
$props: EditorProps;
$emit(eventName: 'input', event: string): this;
$emit(eventName: 'text-change', e: { htmlValue: string, textValue: any, delta: any, source: string, instance: any}): this;
$slot: {
toolbar: VNode[];
}
}
export default Editor;