AI-Ready Plugin API for GrapesJS #6709
lexoyo
started this conversation in
Roadmap Suggestions
Replies: 2 comments 2 replies
-
|
Yes, nice idea for GrapesJS project |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
That's a good idea @lexoyo, but I think instead of creating new APIs it could be more beneficial to have a simple set of commands defined for that scope in a plugin, eg. editor.Commands.add('ai:addPage', (e, _, opts) => {
editor.Pages.add({ name: opts.name, component: opts.html });
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I think it could be useful if GrapesJS had a simple API for plugins to expose their features to AI, so website builders could hook into them and expose them through MCP or other external integrations.
It could be inspired by the WordPress Abilities API - basically one more Backbone-style collection like
editor.Abilities.I'm considering contributing code for this. Do you have any advice or ideas?
@artf would you be open to a PR in that direction?
Beta Was this translation helpful? Give feedback.
All reactions