feat: Wireframe ersellen

This commit is contained in:
Ismail Ali
2025-07-18 05:47:07 +02:00
parent 24e2de97c6
commit a7bfbe45d8
2 changed files with 85 additions and 30 deletions

View File

@@ -20,6 +20,7 @@
<button id="create-rect">Create Rectangle</button>
<button id="create-text">Create Text</button>
<button id="create-wireframe">Wireframe erstellen</button>
<textarea
id="ai-prompt"
@@ -51,6 +52,9 @@
document.getElementById("get-selection").onclick = () => {
parent.postMessage({ pluginMessage: { type: "get-selection" } }, "*");
};
document.getElementById("create-wireframe").onclick = () => {
parent.postMessage({ pluginMessage: { type: "create-wireframe" } }, "*");
};
};
document.getElementById("ai-generate").onclick = () => {