import Bind from "@web-atoms/core/dist/core/Bind"; import { BindableProperty } from "@web-atoms/core/dist/core/BindableProperty"; import XNode from "@web-atoms/core/dist/core/XNode"; import PopupService, { PopupWindow } from "@web-atoms/core/dist/web/services/PopupService"; import FormField from "../../basic/FormField"; import type AtomHtmlEditor from "../AtomHtmlEditor"; import CommandButton, { notSet } from "./CommandButton"; import HtmlCommands from "./HtmlCommands"; class ImageDialog extends PopupWindow { @BindableProperty public link: string; @BindableProperty public alt: string; protected create(): void { this.link = ""; this.alt = ""; this.render(