1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
483 B
TypeScript

import { EmbedBlot } from 'parchment';
declare class Image extends EmbedBlot {
static blotName: string;
static tagName: string;
static create(value: string): Element;
static formats(domNode: Element): Record<string, string | null>;
static match(url: string): boolean;
static sanitize(url: string): string;
static value(domNode: Element): string | null;
domNode: HTMLImageElement;
format(name: string, value: string): void;
}
export default Image;