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
21 lines (20 loc) • 829 B
JavaScript
/*! on-codemerge v1.3.1 @author Pavel Kuzmin @license MIT @homepage https://s00d.github.io/on-codemerge/ @repository git+https://github.com/s00d/on-codemerge.git Copyright (c) 2026 Pavel Kuzmin - Built on 2026-07-02T13:39:17.947Z */
var l = Object.defineProperty;
var a = (t, e, o) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
var i = (t, e, o) => a(t, typeof e != "symbol" ? e + "" : e, o);
import { TableOperations as d } from "../services/TableOperations.mjs";
class c {
constructor(e, o, r, s) {
i(this, "table");
i(this, "cell");
i(this, "before");
i(this, "editor");
this.table = e, this.cell = o, this.before = r, this.editor = s;
}
execute() {
d.addRow(this.table, this.cell, this.before, this.editor);
}
}
export {
c as AddRowCommand
};