-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Tailwind allowed character in htmlClass pattern #38235
Comments
Hi @aurmil. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @aurmil, Thanks for the report and collaboration! I agree with your point, hence confirming the issue. Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-10663 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
Close: magento#38235 discussed in magento#32004 and magento#34430 improved in magento#36452 and magento#34559
Summary
discussed in #32004 and #34430
improved in #36452 and #34559
but not complete yet
Tailwind allows custom styles (see docs here https://tailwindcss.com/docs/adding-custom-styles ) such as this sample HTML class:
text-[20%]
but % is not allowedExamples
use
text-[20%]
in htmlClass attribute of a container elementProposed solution
add % in allowed characters for htmlClassType pattern in lib/internal/Magento/Framework/View/Layout/etc/elements.xsd
Release note
Allow % in htmlClass allowed characters
Triage and priority
The text was updated successfully, but these errors were encountered: