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

17 lines (16 loc) 413 B
var l = Object.defineProperty; var r = (e, t, a) => t in e ? l(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a; var o = (e, t, a) => r(e, typeof t != "symbol" ? t + "" : t, a); class c { constructor(t) { o(this, "table"); this.table = t; } execute() { const t = this.table.outerHTML; navigator.clipboard.writeText(t); } } export { c as CopyTableCommand };