mcpField
G
grapesjs-studio-sdk

grapesjs-studio-sdk

github.com/grapesjsDevelopment6298 installsUpdated 23w ago
Repository

About grapesjs-studio-sdk

grapesjs-studio-sdk is an embeddable visual editor SDK for developers adding website, email, or document editing to an app. It supports distinct project types and configuration for storage, components, assets, and plugins.

Key features

  1. 01Embeddable visual editor
  2. 02Website, email, and document projects
  3. 03Configure project loading and saving
  4. 04Extend components, assets, and templates
  5. 05Customize editing with plugins

Use cases

  1. 01Add website and landing-page editing to an app
  2. 02Build newsletter editing features
  3. 03Create a document layout editor

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/grapesjs/skills-studio-sdk --skill grapesjs-studio-sdk

After installing, type/grapesjs-studio-sdkin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/configuration/
blocks.md
fonts.md
global-styles.md
overview.md
pages.md
projects.md
templates.md
themes.md
rules/configuration/assets/
asset-providers.md
overview.md
rules/configuration/components/
methods.md
overview.md
properties.md
rules/configuration/datasources/
overview.md
template-engines.md
rules/configuration/layout/
components.md
overview.md
rules/overview/
licenses.md
rules/plugins/ai/
ai-backend.md
ai-chat.md
overview.md
rules/plugins/asset-providers/
google-fonts.md
youtube-asset-provider.md
rules/plugins/canvas/
absolute-mode.md
emptyState.md
full-size.md
grid-mode.md
rules/plugins/components/
accordion.md
animation.md
dialog.md

Details

From the project README

GrapesJS Studio SDK

GrapesJS Studio SDK is a fully customizable visual builder you can embed in your app to create:

  • Website and landing pages
  • Newsletters and email content
  • Document editor

Use this skill for setup, configuration, plugin integration, and project type implementation.

Installation

npm i @grapesjs/studio-sdk

Initial Editor Load

React:

import StudioEditor from "@grapesjs/studio-sdk/react";
import "@grapesjs/studio-sdk/style";
// ...
<StudioEditor
  options={{
    licenseKey: "LOCAL_LICENSE_KEY",
    project: {
      type: "web", // 'email' | 'document'
    },
  }}
/>;

JavaScript (other frameworks or vanilla):

import createStudioEditor from "@grapesjs/studio-sdk";
import "@grapesjs/studio-sdk/style";
// ...
createStudioEditor({
  licenseKey: "LOCAL_LICENSE_KEY",
  project: {
    type: "web", // 'email' | 'document'
  },
});

License Key Behavior

  • On localhost, any string is valid for local development.
  • On non-localhost domains, a valid licenseKey is required. More info: rules/overview/licenses.md

Project Types

After the initial setup and project-type choice, configure persistence next:

To make the editor fully functional, the next important step is persistence: define how projects are loaded and saved, and how uploaded assets are stored and retrieved.

Configuration

Plugins

Comments

Markdown supported