UNPKG

on-codemerge

Version:

A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product

22 lines (21 loc) 543 B
import { HTMLEditor } from '../../../core/HTMLEditor.ts'; export declare class LinkMenu { private popup; private callback; private url; private anchor; private title; private nofollowCheckbox; private targetBlankCheckbox; constructor(editor: HTMLEditor); private handleSubmit; show(callback: (linkData: LinkData) => void, initialData?: Partial<LinkData>): void; } interface LinkData { url: string; anchor: string; title: string; nofollow: boolean; targetBlank: boolean; } export {};