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

20 lines (19 loc) 477 B
import { HTMLEditor } from '../../../core/HTMLEditor.ts'; export declare class HTMLViewerModal { private editor; private popup; private highlighter; private codeElement; private editElement; private copyButton; private saveButton; private tabs; private viewTab; private editTab; constructor(editor: HTMLEditor); private createContent; private switchTab; show(html: string): void; hide(): void; destroy(): void; }