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): persist annotation deletions to disk on save-all
hugohe3ab9d55fc60c9
diff --git a/skills/ppt-master/scripts/svg_editor/server.py b/skills/ppt-master/scripts/svg_editor/server.pyindex 743bd351..0787dc89 100644--- a/skills/ppt-master/scripts/svg_editor/server.py+++ b/skills/ppt-master/scripts/svg_editor/server.py@@ -300,7 +300,11 @@ def create_app(project_dir: str, idle_timeout: int = 900, live: bool = False) ->@app.route('/api/slide/<name>/annotate/<element_id>', methods=['DELETE'])def delete_annotate(name: str, element_id: str):annotations = app.config['ANNOTATIONS']- if name in annotations and element_id in annotations[name]:+ # Ensure the file key exists so save-all knows to rewrite this file+ # even if no new annotations were added (pure delete path).+ if name not in annotations:+ annotations[name] = {}+ if element_id in annotations[name]:del annotations[name][element_id]return jsonify({@@ -315,8 +319,8 @@ def create_app(project_dir: str, idle_timeout: int = 900, live: bool = False) ->modified = []for filename, anns in annotations.items():- if not anns:- continue+ # anns may be empty when the user deleted all annotations — still+ # need to write so the on-disk data-edit-* attributes are cleared.svg_file = _safe_svg_path(filename)if svg_file is None or not svg_file.exists():