Transform PowerPoint slides into editable CE.SDK designs. All formatting preserved.

Prerequisites#
Before you begin, make sure you have the following:
- Node.js v22+ and npm installed locally – Download Node.js
- A supported browser – Chrome 114+, Edge 114+, Firefox 115+, Safari 15.6+
See Browser Support for the full list.
Get Started#
Start fresh with a standalone PowerPoint Template Import project. This creates a complete, ready-to-run React application built with Vite. To add the editor to your Angular project, use the Existing Project tab.
Step 1: Clone the Repository#
git clone https://github.com/imgly/starterkit-pptx-template-import-react-web.gitgit clone https://github.com/imgly/starterkit-pptx-template-import-react-web.gitnpx degit imgly/starterkit-pptx-template-import-react-web starterkit-pptx-template-import-react-webnpx degit imgly/starterkit-pptx-template-import-react-web starterkit-pptx-template-import-react-webThe src/ folder contains the application code:
src/├── app/ # Demo application├── imgly/│ ├── index.ts # Editor initialization function│ ├── demo-assets.ts # Demo asset URLs│ ├── config/│ │ ├── plugin.ts # Main configuration plugin│ │ ├── actions.ts # Export/import actions│ │ ├── features.ts # Feature toggles│ │ ├── i18n.ts # Translations│ │ ├── settings.ts # Engine settings│ │ ├── keyboard/ # Keyboard shortcuts│ │ │ ├── keyboard.ts # Shortcut registration│ │ │ └── catalogs/│ │ │ └── us-ansi.ts # Key catalog│ │ └── ui/ # UI customization│ │ ├── index.ts # Combines UI customization exports│ │ ├── canvas.ts # Canvas configuration│ │ ├── components.ts # Custom component registration│ │ ├── dock.ts # Dock layout configuration│ │ ├── inspectorBar.ts # Inspector bar layout│ │ ├── navigationBar.ts # Navigation bar layout│ │ ├── panel.ts # Panel configuration│ │ └── videoTimeline.ts # Timeline configuration│ └── plugins/│ └── pptx-importer.ts # PPTX import plugin└── index.tsx # Application entry pointStep 2: Install Dependencies#
Install the required packages:
cd starterkit-pptx-template-import-react-web
npm installcd starterkit-pptx-template-import-react-web
npm installcd starterkit-pptx-template-import-react-web
pnpm installcd starterkit-pptx-template-import-react-web
pnpm installcd starterkit-pptx-template-import-react-web
yarncd starterkit-pptx-template-import-react-web
yarnStep 3: Download Assets#
CE.SDK requires engine assets (fonts, icons, UI elements) to function. For production, serve them as static files from your project’s public/ directory.
curl -O https://cdn.img.ly/packages/imgly/cesdk-js/1.87.0-rc.3/imgly-assets.zip
unzip imgly-assets.zip -d public/
rm imgly-assets.zipcurl -O https://cdn.img.ly/packages/imgly/cesdk-js/1.87.0-rc.3/imgly-assets.zip
unzip imgly-assets.zip -d public/
rm imgly-assets.zipWithout further setup, the editor loads these assets from the IMG.LY CDN, which is for development only. To use the downloaded copy, set baseURL: '/assets' in the editor configuration in src/index.tsx. To add your license key, add one of the two license lines below to the same object, without the leading //. Option 1 puts the key in the code. Option 2 reads VITE_CESDK_LICENSE from a .env file, which you create as a copy of .env.example. Without a license key, the editor runs in evaluation mode and adds a watermark to exports.
export const editorConfig: Configuration = { // ... baseURL: '/assets', // license: 'YOUR_CESDK_LICENSE_KEY' // Option 1: the key in the code // license: import.meta.env.VITE_CESDK_LICENSE // Option 2: the key from .env // ...};Step 4: Run the Development Server#
npm run devnpm run devpnpm run devpnpm run devyarn devyarn devOpen http://localhost:5173 in your browser.
Get Started#
Integrate the PowerPoint Template Import into an existing Angular application. The steps expect an Angular project with standalone components. The project must have src/app/ and public/ folders.
Step 1: Clone#
cd your-projectcd your-projectClone the starter kit and copy the editor configuration to your project:
git clone https://github.com/imgly/starterkit-pptx-template-import-react-web.git
cp -r starterkit-pptx-template-import-react-web/src/imgly ./src/app/imgly
rm -rf starterkit-pptx-template-import-react-webgit clone https://github.com/imgly/starterkit-pptx-template-import-react-web.git
cp -r starterkit-pptx-template-import-react-web/src/imgly ./src/app/imgly
rm -rf starterkit-pptx-template-import-react-webnpx degit imgly/starterkit-pptx-template-import-react-web/src/imgly ./src/app/imglynpx degit imgly/starterkit-pptx-template-import-react-web/src/imgly ./src/app/imglyRemove the Vite Environment Variable#
The starter kit is built with Vite. demo-assets.ts reads import.meta.env, which Angular does not provide, so the build fails. Delete this line:
const configured: string = import.meta.env.VITE_DEMO_ASSETS_BASE_URL ??The kit then loads its demo assets from the IMG.LY CDN URL on the next line. To serve them from your own server, replace that URL.
The imgly/ folder contains the editor configuration:
imgly/├── index.ts # Editor initialization function├── demo-assets.ts # Demo asset URLs├── config/│ ├── plugin.ts # Main configuration plugin│ ├── actions.ts # Export/import actions│ ├── features.ts # Feature toggles│ ├── i18n.ts # Translations│ ├── settings.ts # Engine settings│ ├── keyboard/ # Keyboard shortcuts│ │ ├── keyboard.ts # Shortcut registration│ │ └── catalogs/│ │ └── us-ansi.ts # Key catalog│ └── ui/ # UI customization│ ├── index.ts # Combines UI customization exports│ ├── canvas.ts # Canvas configuration│ ├── components.ts # Custom component registration│ ├── dock.ts # Dock layout configuration│ ├── inspectorBar.ts # Inspector bar layout│ ├── navigationBar.ts # Navigation bar layout│ ├── panel.ts # Panel configuration│ └── videoTimeline.ts # Timeline configuration└── plugins/ └── pptx-importer.ts # PPTX import pluginStep 2: Install Dependencies#
Install the required packages for the editor:
Core Editor#
Install the Creative Editor SDK:
npm install @cesdk/cesdk-js@1.87.0-rc.3npm install @cesdk/cesdk-js@1.87.0-rc.3pnpm add @cesdk/cesdk-js@1.87.0-rc.3pnpm add @cesdk/cesdk-js@1.87.0-rc.3yarn add @cesdk/cesdk-js@1.87.0-rc.3yarn add @cesdk/cesdk-js@1.87.0-rc.3Engine#
The PPTX importer uses the engine package in the browser. Install it:
npm install @cesdk/engine@1.87.0-rc.3npm install @cesdk/engine@1.87.0-rc.3pnpm add @cesdk/engine@1.87.0-rc.3pnpm add @cesdk/engine@1.87.0-rc.3yarn add @cesdk/engine@1.87.0-rc.3yarn add @cesdk/engine@1.87.0-rc.3Import Plugin#
Add file format import support:
npm install @imgly/pptx-importernpm install @imgly/pptx-importerpnpm add @imgly/pptx-importerpnpm add @imgly/pptx-importeryarn add @imgly/pptx-importeryarn add @imgly/pptx-importerConfigure Bundle Budgets#
CE.SDK requires adjusting Angular’s default bundle size limits. Update the budgets array in your angular.json under architect.build.configurations.production:
"budgets": [ { "type": "initial", "maximumWarning": "3MB", "maximumError": "5MB" }, { "type": "anyComponentStyle", "maximumWarning": "4kB", "maximumError": "8kB" }]Step 3: Download Assets#
CE.SDK requires engine assets (fonts, icons, UI elements) to function. For Angular projects, place these in your public/ directory which is served automatically.
curl -O https://cdn.img.ly/packages/imgly/cesdk-js/1.87.0-rc.3/imgly-assets.zip
unzip imgly-assets.zip -d public/
rm imgly-assets.zipcurl -O https://cdn.img.ly/packages/imgly/cesdk-js/1.87.0-rc.3/imgly-assets.zip
unzip imgly-assets.zip -d public/
rm imgly-assets.zipStep 4: Create the Editor Component#
Create an Angular component using the official CE.SDK Angular wrapper (e.g., design-editor.component.ts):
import { Component } from '@angular/core';import type CreativeEditorSDK from '@cesdk/cesdk-js';import { CreativeEditor } from '@cesdk/cesdk-js/angular';import { initPptxTemplateImportEditor } from './imgly';
@Component({ selector: 'app-design-editor', standalone: true, imports: [CreativeEditor], template: ` <creative-editor [config]="{ baseURL: '/assets' }" [init]="init" width="100vw" height="100vh" /> `})export class DesignEditorComponent { init = async (cesdk: CreativeEditorSDK) => { await initPptxTemplateImportEditor(cesdk); await cesdk.actions.run('scene.create'); };}Step 5: Use the Component#
Use the component in your app:
import { Component } from '@angular/core';import { DesignEditorComponent } from './design-editor.component';
@Component({ selector: 'app-root', standalone: true, imports: [DesignEditorComponent], template: '<app-design-editor />'})export class App {}Understanding the PPTX Importer#
The PPTX importer parses Microsoft PowerPoint files and converts them to editable CE.SDK scenes. It supports:
- Slide Preservation: Maintains the original slide structure from PowerPoint
- Text Blocks: Converts text elements to editable CE.SDK text blocks
- Shapes: Imports shapes and graphics with proper positioning and transformations
- Images: Handles embedded images as image blocks
- Layouts: Preserves common layout structures and positioning
Import Result Structure#
interface PptxImportResult { imageUrl: string; // Object URL for preview image sceneArchiveUrl: string; // Object URL for CE.SDK scene archive messages: LogMessage[]; // Import warnings and info messages fileName: string; // Original file name}Handling Import Messages#
The importer logs messages for elements it couldn’t fully convert or features not supported:
const result = await importPptxFile(pptxBlob, 'presentation.pptx');
// Check for any import warningsresult.messages.forEach((msg) => { if (msg.type === 'warning') { console.warn(`Import warning: ${msg.message}`); }});Set Up a Scene#
Replace the scene.create line from Get Started with one of these calls.
CE.SDK offers multiple ways to load content into the editor. For PowerPoint import, convert the PPTX file with the bundled importer plugin, then load the result:
import { importPptxFile } from './imgly/plugins/pptx-importer';
// Import a PowerPoint file with the bundled importer pluginconst pptxBlob = await fetch('https://example.com/presentation.pptx').then(res => res.blob());const result = await importPptxFile(pptxBlob, 'presentation.pptx');await cesdk.load(result.sceneArchiveUrl);
// Create a blank design canvas - starts with an empty design sceneawait cesdk.actions.run('scene.create');
// Load from a template archive - restores a previously saved projectawait cesdk.load('https://example.com/template.zip');Customize Assets#
The editor uses asset source plugins to provide built-in libraries for templates, stickers, shapes, and fonts. The starter kit includes a curated selection—customize what’s included based on your needs.
Asset sources are added via plugins in src/app/imgly/index.ts. Enable or disable individual sources:
import { FiltersAssetSource, StickerAssetSource, TextAssetSource, VectorShapeAssetSource, EffectsAssetSource, // ...} from '@cesdk/cesdk-js/plugins';
// Add only the sources you needawait cesdk.addPlugin(new FiltersAssetSource());await cesdk.addPlugin(new StickerAssetSource());await cesdk.addPlugin(new TextAssetSource());await cesdk.addPlugin(new VectorShapeAssetSource());await cesdk.addPlugin(new EffectsAssetSource());// ...For production deployments, self-hosting assets is required—the IMG.LY CDN is intended for development only. See Serve Assets for downloading assets, configuring baseURL, and excluding unused sources to optimize load times.
Configure Actions#
Actions are functions that handle user interactions like exporting designs, saving scenes, and importing files. CE.SDK provides built-in actions that you can run directly or override with custom implementations.
Key built-in actions:
exportDesign– Export the current design to PNG, JPEG, PDF, or other formatssaveScene– Save the scene as a JSON string for later editingimportScene– Import a previously saved scene (.imglyor.scene)exportScene– Export the scene as an.imglyfile, either the scene alone or an archive with all assetsuploadFile– Handle file uploads with progress tracking
Use cesdk.actions.run() to execute any action:
// Run a built-in actionawait cesdk.actions.run('exportDesign', { mimeType: 'image/png' });Import from File Picker#
import { importPptxFile } from '../plugins/pptx-importer';
// Let users open PowerPoint files from their devicecesdk.actions.register('importImage', async () => { const pptxBlob = await cesdk.utils.loadFile({ accept: '.pptx,image/*', returnType: 'blob' }); const result = await importPptxFile(pptxBlob, 'design.pptx'); await cesdk.load(result.sceneArchiveUrl);});Export and Save#
// Register export action that downloads the edited designcesdk.actions.register('exportDesign', async (exportOptions) => { const { blobs, options } = await cesdk.utils.export(exportOptions); await cesdk.utils.downloadFile(blobs[0], options.mimeType);});Customize (Optional)#
Theming#
CE.SDK supports light and dark themes out of the box, plus automatic system preference detection. Switch between themes programmatically:
// 'light' | 'dark' | 'system' | (() => 'light' | 'dark')cesdk.ui.setTheme('dark');See Theming for custom color schemes, CSS variables, and advanced styling options.
Localization#
Customize UI labels and add support for multiple languages. The i18n system supports translation keys for all UI elements:
// Override specific labelscesdk.i18n.setTranslations({ en: { 'component.fileOperation.exportImage': 'Download Design', 'libraries.ly.img.image.label': 'Photos', 'common.done': 'Finish' }});
// Set the active localecesdk.i18n.setLocale('en');See Localization for supported languages, translation key reference, and right-to-left language support.
UI Layout#

Customize the editor interface by modifying the dock, inspector bar, navigation bar, and canvas menu. CE.SDK provides Order APIs to control which components appear and in what sequence.
// Read the current navigation bar componentsconst navOrder = cesdk.ui.getComponentOrder({ in: 'ly.img.navigation.bar' });
// Add the built-in Save button after the titlecesdk.ui.insertOrderComponent( { in: 'ly.img.navigation.bar', after: 'ly.img.title.navigationBar' }, 'ly.img.saveScene.navigationBar');See Dock, Inspector Bar, Navigation Bar, Canvas Menu, and Canvas for detailed layout customization options.
Settings & Features#
Fine-tune editor behavior through settings and features.
Settings configure core engine behavior—rendering, input handling, and page display:
engine.editor.setSetting('page/dimOutOfPageAreas', true);engine.editor.setSetting('mouse/enableZoom', true);engine.editor.setSetting('doubleClickToCropEnabled', true);Features toggle which editing tools and panels appear in the UI:
// Switch editor features oncesdk.features.configure({ 'ly.img.crop': { enabled: true }, 'ly.img.filter': { enabled: true }, 'ly.img.adjustment': { enabled: true }});See Settings and Features for the complete reference.
Key Capabilities#
The PowerPoint Template Import starter kit enables professional presentation workflows.
PPTX File Import
Import PowerPoint presentations directly into the editor with full slide support.
Slide Preservation
Maintain the original slide structure and layout from PowerPoint.
Text Editing
Edit imported text with comprehensive typography controls and font management.
Shape Support
Preserve and edit shapes, graphics, and visual elements from presentations.
Export Options
Export edited designs to PNG, JPEG, PDF, or save as CE.SDK scene files.
Presentation Workflows
Build presentation editing systems using imported PowerPoint assets.
Troubleshooting#
Editor doesn’t load#
- Check the editor size: Ensure the
widthandheightof<creative-editor>give it a visible area - Verify the baseURL: Assets must be accessible from the CDN or your self-hosted location
- Check console errors: Look for CORS or network errors in browser developer tools
PPTX file doesn’t import correctly#
- Check file format: Ensure the PPTX file is in a supported format
- Check file size: Large files may take longer to process
- Check console errors: Look for parsing or memory errors
- Review import messages: Check the
messagesarray in the import result for warnings
Assets don’t appear#
- Check network requests: Open DevTools Network tab and look for failed requests to
cdn.img.ly - Self-host assets for production: See Serve Assets to host assets on your infrastructure
Watermark appears in production#
- Add your license key: Set the
licenseproperty in your configuration - Get a license: Contact us at img.ly/forms/contact-sales/
Next Steps#
- Configuration – Complete list of initialization options
- Serve Assets – Self-host engine assets for production
- Actions – Build custom export and save workflows
- From PowerPoint – Use the PPTX importer package in your own code
- Import from Photoshop – Import Adobe Photoshop templates
- Import from InDesign – Import Adobe InDesign templates