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

24 lines (23 loc) 686 B
import { HTMLEditor } from '../../../core/HTMLEditor'; import { Command } from '../../../core/commands/Command'; export interface TableStyleOptions { style?: string; theme?: string; width?: string; cellPadding?: string; borderStyle?: string; borderWidth?: string; borderColor?: string; headerBackground?: string; headerColor?: string; zebraStripe?: boolean; hoverEffect?: boolean; } export declare class ApplyTableStyleCommand implements Command { private table; private options; private previousState; constructor(_editor: HTMLEditor, table: HTMLElement, options: TableStyleOptions); execute(): void; undo(): void; }