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(confirm-ui): bound custom direction editor auto-sizing
hugohe3dc72aa918045
diff --git a/skills/ppt-master/scripts/confirm_ui/static/app.js b/skills/ppt-master/scripts/confirm_ui/static/app.jsindex 5fe759a6..ebebdb9b 100644--- a/skills/ppt-master/scripts/confirm_ui/static/app.js+++ b/skills/ppt-master/scripts/confirm_ui/static/app.js@@ -727,6 +727,16 @@return node;}+ function fitTextareaToContent(input) {+ if (!input) return;+ window.requestAnimationFrame(function () {+ if (!input.isConnected || input.offsetParent === null) return;+ input.style.height = "auto";+ var borderHeight = input.offsetHeight - input.clientHeight;+ input.style.height = (input.scrollHeight + borderHeight) + "px";+ });+ }+function previewNode(kind, id) {var node = el("div", "option-preview option-preview-" + kind);node.setAttribute("aria-hidden", "true");@@ -2302,6 +2312,7 @@((STATE.image_strategy || {}).behavior || ""));entry.editor.value = current;}+ if (selected) fitTextareaToContent(entry.editor);}if (entry.note) entry.note.style.display = selected ? "none" : "block";});diff --git a/skills/ppt-master/scripts/confirm_ui/static/style.css b/skills/ppt-master/scripts/confirm_ui/static/style.cssindex de38dcbe..dd6c1514 100644--- a/skills/ppt-master/scripts/confirm_ui/static/style.css+++ b/skills/ppt-master/scripts/confirm_ui/static/style.css@@ -520,7 +520,11 @@ textarea.text-input { resize: vertical; line-height: 1.5; }.scheme-component-editor {margin-top: 8px;min-height: 84px;- resize: vertical;+ max-height: 380px;+ overflow-y: auto;+ font-size: 12px;+ line-height: 1.5;+ resize: none;cursor: text;}.scheme-component-card .design-direction-preview { margin-top: 8px; }