GrapesJS TailwindCSS v4 Plugin #6434
Replies: 2 comments 12 replies
-
That's awesome @fasenderos 💜 My only suggestion would be around your editor.on('canvas:frame:load:body', ({ window }) => {
// ...
// window of the iframe
window.document.head.appendChild(...)
}); |
Beta Was this translation helpful? Give feedback.
-
@artf thanks you 😄
Good catch. I created a PR to support the Page Manager, would you like to take a look at it? fasenderos/grapesjs-tailwindcss-plugin#1 Thanks in advance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I’m happy to share a plugin I’ve created to integrate TailwindCSS v4 into GrapesJS! This plugin dynamically builds the Tailwind CSS on-the-fly and makes it available in the export.
Link: https://github.com/fasenderos/grapesjs-tailwindcss-plugin
Demo: https://codesandbox.io/p/sandbox/grapesjs-tailwindcss-4-plugin-demo-d24p68
Any feedback is greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions