Skip to main content
Use Doconda’s editor plugin, @doconda/editor, and pass the .pptx in src. The slides show inside your site, where users can edit and present them full screen; with readOnly they only view them. Everything runs in the browser: the file isn’t uploaded anywhere to be edited.

Add a PowerPoint viewer or editor

  1. Get the plugin in the dashboard, under Editor, with a 7-day free trial. See licence and domains.
  2. Install it with the command the dashboard gives you (it needs React 19 or later):
  1. Put the editor in a container with a height and pass it the .pptx link:
  1. For a viewer only, add readOnly:
src must be a file the browser can download: from your site, or from a server that allows it with CORS. If the link has no extension, pass format="slide".

What it does with a PowerPoint file

  • Slides: new, duplicate, hide, layout, background and sections; master, layouts and themes.
  • Content: text with its styles, shapes, connectors, images, tables and charts.
  • Motion: transitions, animations and speaker notes.
  • View: zoom, present full screen and print.
In readOnly mode the toolbars disappear, but users can still move between slides, copy text and present. Whatever the editor can’t edit, charts included, is saved as it was.

Remove what you don’t need

toolbar takes a function that filters the default groups (the ones for a selection start with @), and false removes the bottom bar or the right-click menu:
See remove parts.

Save the edited file

Get the file through a ref:

FAQ

Yes. It opens .pptx, .ppsx, .ppt, .pps and .pot, plus .odp, which it converts first. Saving gives a .pptx.
Yes. readOnly can change at any time without reopening the file. See DOCX viewer for React.
Yes. locale takes "es" or "en"; without it, the browser’s language is used. labels changes any text.
To make the deck itself with an API call, see generate a PowerPoint from a prompt.