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

12 lines (11 loc) 390 B
import { HTMLEditor } from '../../../core/HTMLEditor.ts'; export declare class CodeBlockModal { private popup; private callback; private languageSelect; private codeInput; constructor(editor: HTMLEditor); private handleSubmit; show(callback: (code: string, language: string) => void, initialCode?: string, initialLanguage?: string): void; destroy(): void; }