import {VDITOR_VERSION} from "../constants"; import {getEventName} from "../util/compatibility"; import {MenuItem} from "./MenuItem"; export class Info extends MenuItem { constructor(vditor: IVditor, menuItem: IMenuItem) { super(vditor, menuItem); this.element.children[0].addEventListener(getEventName(), (event) => { event.preventDefault(); vditor.tip.show(`
下一代的 Markdown 编辑器,为未来而构建