GrapesJS Commands
GrapesJS command plugins add custom actions, keyboard shortcuts, and toolbar buttons to the editor. Commands are the backbone of GrapesJS interaction — these plugins extend the default command set with export actions, panel toggles, undo enhancements, and workflow automations. Browse community-contributed and premium command extensions to customize the editor behavior for your specific application.
About GrapesJS Commands
GrapesJS commands are the primary way to trigger editor actions programmatically or in response to user interactions. Every toolbar button, keyboard shortcut, and context menu item in GrapesJS calls a registered command by name. Command plugins on GJS.Market extend the default GrapesJS command set in several ways. Shortcut packs register keyboard bindings for common actions — undo, redo, select all, copy component, paste in place, and move up or down in the layer hierarchy — that are not mapped by default. Export command plugins add Export HTML, Export ZIP, Copy to clipboard, and Preview in new tab actions to the toolbar. Panel toggle commands show and hide specific panels programmatically, useful for simplified editor modes. Advanced command plugins implement multi-step workflows such as a Publish command that validates, exports, and pushes to an API in sequence. All command plugins on GJS.Market include an API reference showing the command name string to use in your own GrapesJS.runCommand() calls.