-
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
tailwindui css layout support - colon is not accepted by the pattern #34430
Comments
Hi @in-session. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
vendor\magento\framework\View\Layout\etc\elements.xsd
|
It's really annoying that you can't use some tailwind classes in .xml files. Is there a way to add a plugin/preference to override this regex from elements.xsd file? Otherwise when is this going to be released as a patch? Issue was opened for the first time over two years ago and no solution has been given since then: <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/elements.xsd"/> |
@Nurgiel Has already been published as PR and will hopefully be integrated in the next release. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2055 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Alfa. Thank you for verifying the issue. |
Close: magento#38235 discussed in magento#32004 and magento#34430 improved in magento#36452 and magento#34559
I would like to use tailwindui for a project, but unfortunately it is currently not possible because no colon is allowed within the htmlClass.
<referenceContainer name="header-wrapper" htmlClass="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden md:max-w-2xl" htmlId="header" />
Element 'referenceContainer', attribute 'htmlClass': [facet 'pattern'] The value 'page-wrapper flex relative md:p-0' is not accepted by the pattern '[a-zA-Z][a-zA-Z\d\-_]*(\s[a-zA-Z][a-zA-Z\d\-_]*)*'. Line: 1306
Is there a way to make this compatible?
The text was updated successfully, but these errors were encountered: