tav-ui
Version:
12 lines (11 loc) • 637 B
TypeScript
import { type ComputedRef } from 'vue';
import { type Editor, type EditorProps } from '../typings';
export declare function useEditorCustomToolbarButton(options: {
mergedProps: ComputedRef<EditorProps>;
}): {
createListsButton: (editor: Editor) => void;
createAlignsButton: (editor: Editor) => void;
createUploadimageButton: (editor: Editor, handleClick?: ((...args: any[]) => any) | undefined) => void;
createUploadlinkButton: (editor: Editor, handleClick?: ((...args: any[]) => any) | undefined) => void;
createUploadfileButton: (editor: Editor, handleClick?: ((...args: any[]) => any) | undefined) => void;
};