[BUG] Tailwind flex classes are not working
Question
Thanks for providing the amazing framework and making it opensource. I'm looking to use Tailwind with GrapesJS, unfortunately grapesjs replaces "/" with "-" in the selector. Is it possible to override this?
When I try to drag and drop responsive columns in canvas
<!-- Two columns -->
<div class="flex mb-4">
<div class="w-1/2 bg-gray-400 h-12"></div>
<div class="w-1/2 bg-gray-500 h-12"></div>
</div>
It replaces them to:
<div class="flex mb-4">
<div class="w-1-2 bg-gray-400 h-12">Drop Your Content
</div>
<div class="w-1-2 bg-gray-500 h-12">Drop Your Content
</div>
</div>
How can I fix this issue? Please help me.
Answers (3)
#1703 waiting for a help 😬
Thanks for providing the amazing framework and making it opensource. I'm looking to use Tailwind with GrapesJS, unfortunately grapesjs replaces "/" with "-" in the selector. Is it possible to override this?
When I try to drag and drop responsive columns in canvas
<!-- Two columns --> <div class="flex mb-4"> <div class="w-1/2 bg-gray-400 h-12"></div> <div class="w-1/2 bg-gray-500 h-12"></div> </div>It replaces them to:
<div class="flex mb-4"> <div class="w-1-2 bg-gray-400 h-12">Drop Your Content </div> <div class="w-1-2 bg-gray-500 h-12">Drop Your Content </div> </div>How can I fix this issue? Please help me.
What's your progress on making grapes work with Tailwind @inventorbit? Would love to see!
What's your progress on making grapes work with Tailwind @inventorbit? Would love to see!
@artf , I'm also curious if there is any progress on this or an available work around?
Thanks for your time developing grapes!
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4015
BUG: Drag and drop not working well in case of RTL
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v96 Reproducible demo link https://...
Issue #6348
BUG: It's possible to drag and drop literally anything inside grapesjs canvas
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grap...
Issue #5229
BUG: textnode with content "null" is rendered as "null" not whitespace
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome Version 114.0.5735.199 (Official Buil...
Issue #2069
[BUG] `allowScripts: true` still deletes <script> tags
Hi all. Thanks for creating and maintaining this amazing project. 🙏 Bug Description I have a block that inserts a script as specified here...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.