inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

19
node_modules/jodit/esm/modules/history/command.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
export class Command {
undo() {
this.history.snapshot.restore(this.oldValue);
}
redo() {
this.history.snapshot.restore(this.newValue);
}
constructor(oldValue, newValue, history, tick) {
this.oldValue = oldValue;
this.newValue = newValue;
this.history = history;
this.tick = tick;
}
}