element-tiptap-vue3-niyuta
Version:
Rich-text editor build by baidu api and tiptap
15 lines (14 loc) • 328 B
TypeScript
type ImageResult = {
complete: boolean;
width: number;
height: number;
src: string;
};
export declare function resolveImg(src: string): Promise<ImageResult>;
export declare const enum ImageDisplay {
INLINE = "inline",
BREAK_TEXT = "block",
FLOAT_LEFT = "left",
FLOAT_RIGHT = "right"
}
export {};