Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(svg-editor): multi-select pre-fill and missing CSS

WodenJayca1c051f04ec
diff --git a/skills/ppt-master/scripts/svg_editor/static/app.js b/skills/ppt-master/scripts/svg_editor/static/app.js
index 25c22d50..12216bde 100644
--- a/skills/ppt-master/scripts/svg_editor/static/app.js
+++ b/skills/ppt-master/scripts/svg_editor/static/app.js
@@ -211,7 +211,9 @@
annotationText.placeholder = count > 1
? "Describe how to modify all " + count + " elements..."
: "Describe how the AI should modify this element...";
- annotationText.value = slideAnnotations[Array.from(selectedElementIds)[0]] || "";
+ annotationText.value = count === 1
+ ? (slideAnnotations[selectedElementIds.values().next().value] || "")
+ : "";
annotationText.focus();
}
diff --git a/skills/ppt-master/scripts/svg_editor/static/style.css b/skills/ppt-master/scripts/svg_editor/static/style.css
index 2abf5139..7456fcea 100644
--- a/skills/ppt-master/scripts/svg_editor/static/style.css
+++ b/skills/ppt-master/scripts/svg_editor/static/style.css
@@ -460,6 +460,13 @@ html, body {
background: #2a2a4a;
}
+/* --- Multi-select count --- */
+.multi-count {
+ color: #4a9eff;
+ font-weight: 600;
+ font-size: 14px;
+}
+
/* ======================== UTILITY ======================== */
.visually-hidden {
position: absolute;