@ckeditor/ckeditor5-vue
Version:
Official Vue.js 3+ component for CKEditor 5 – the best browser-based rich text editor.
25 lines (24 loc) • 839 B
TypeScript
import type { Editor } from 'ckeditor5';
type UIElementName = 'menuBar' | 'toolbar';
type EditorWithUIView = Editor & {
ui: {
view: EditorUIViewWithElements;
};
};
type EditorUIViewWithElements = {
menuBarView?: {
element?: HTMLElement | null;
};
toolbar?: {
element?: HTMLElement | null;
};
};
type __VLS_Props = {
editor?: EditorWithUIView | null;
element?: UIElementName;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
editor: EditorWithUIView | null;
element: UIElementName;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;