A first version that has some working standard features.

This commit is contained in:
2025-07-06 21:49:07 +02:00
parent 2895b917fc
commit d0488e98e0
12 changed files with 1894 additions and 17564 deletions

23
tp-rtb-undo.js Normal file
View File

@@ -0,0 +1,23 @@
import { html } from 'lit';
import { TpRtbBaseExtension } from './tp-rtb-base-extension.js';
class TpRtbUndo extends TpRtbBaseExtension {
constructor() {
super();
this.label = 'Undo';
}
render() {
return html`
${super.render()}
`;
}
_handleClick() {
if (this.parentEditor) {
this.parentEditor.undo();
}
}
}
customElements.define('tp-rtb-undo', TpRtbUndo);