Skip to content
QuireKit
PPTX Editor docs
v0.3.1

PPTX Editor quick start

Install the package, add its styles and mount the editor on a page.

Install

bash

The editor's controls share design tokens and component styles with the other QuireKit editors; @quirekit/unocss-preset provides them. Apps without UnoCSS import the compiled quirekit.css; apps that already use UnoCSS can instead export default defineQuireKitUnoConfig() from uno.config.ts and import virtual:uno.css.

Mount

main.tsts

mount() takes a selector or an element and returns the editor. Without an initial file the editor opens a new presentation with one title slide. The editor fills its container, so give the container a real height:

css

Call editor.destroy() when the page or component goes away; it releases the deck, the slide show and every browser listener.

Interface language

The default is Simplified Chinese. Pass locale: "en" to the constructor for English. Users can switch in File → Language, and hosts can call editor.setLocale("zh-CN"). Use onLocaleChange(locale) to persist choices made in the menu. Switching keeps the open presentation and its edits.

Vue

The editor can only be created in the browser. Mount it in onMounted and destroy it in onBeforeUnmount; in Nuxt, wrap the component in <ClientOnly> or import it dynamically from a client plugin.

PptxEditor.vuevue

Next

QuireKit · © 2026 上海轻书远行信息科技有限公司QuireKit · Core, plugins, Classic, PPTX Editor and Sheets docs