Skip to main content
Set up Grunt for CKEditor 5, wire your API pipeline, and verify production runtime assets.

Step 1: install and register Grunt

Start from the sample project:
The Grunt npm package is private and must be downloaded from the Azure Artifacts registry:
Configure .npmrc:
[GRUNT_PACKAGE_TOKEN] is the package token value provided by Grunt. Install dependencies:
Register Grunt in your CKEditor configuration:

Step 2: connect your API storage pipeline

Do not use local storage in production. Implement your own GruntObjectStoragePipeline and register it with:
Your custom pipeline should handle:
  • saveCommit(key, commit)
  • saveSvg(key, svg)
  • getCommit(key)
  • getSvg(key)
Use your backend API for authentication, tenancy, and persistence rules.

Step 3: serve runtime assets

Ensure these files are publicly accessible:
When you use npm, runtime assets are under:
Make sure your build pipeline copies these assets and serves correct MIME types.

Next steps

Architecture overview

Understand the three-layer design before expanding the integration.

Theme configuration

Apply your product theme automatically to inserted Grunt objects.

Storage pipeline guide

Implement a production-ready pipeline with your backend API.

Runtime assets guide

Validate hosting and runtime file delivery for WASM.

Production checklist

Verify toolbar actions and production readiness.