Issue #4059Opened January 8, 2022by miladmeidanshahi1 reactions

BUG: selector escape function doesn't support tailwindcss classes

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome v97

Describe the bug

At line https://github.com/artf/grapesjs/blob/dev/src/selector_manager/model/Selector.js#L171 the selector escape function doesn't allow / and . because of that we can't use some tailwind classes such as basis-1/2 and inset-0.5 ... .

maybe this /([^a-z0-9\w-\/.:]+)/gi regex help.

Code of Conduct

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

Answers (1)

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.