Issue #5432Opened September 29, 2023by mahmudz0 reactions

BUG: TailwindCSS responsive md:w-2/3 classes gets converted to md:w-2-3

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome 117.0.5938.132

Reproducible demo link

https://jsfiddle.net/bx8rtseh/2/

Describe the bug

How to reproduce the bug?

  1. Setup remote store manager
  2. Load some html with tailwindCSS classes

Sample

<div class="p-12 md:w-1/2 flex flex-col items-start">
Hello
 </div>

What is the expected behavior? Unchanged class names

<div class="p-12 md:w-1/2 flex flex-col items-start">
Hello
 </div>

What is the current behavior? Unexpected Changed class names

<div class="p-12 md:w-1-2 flex flex-col items-start">
Hello
 </div>

image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (0)

No answers yet.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.