Migrating Gutenberg Blocks Plugin to Tailwind CSS v4: How to Enable User-Defined Tailwind Classes? #15281
Unanswered
NafisMahmudAyon
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m working on a WordPress Gutenberg blocks plugin where users can add custom Tailwind CSS classes for styling the blocks directly.
Previously, I was using Tailwind CSS v3.4.15 with a CDN to generate and apply the CSS dynamically. Now, I want to migrate to Tailwind CSS v4.
With the new features and changes in Tailwind CSS v4 (like @layer, updated border defaults, and other optimizations), how should I adapt this process?
Would appreciate any guidance or tips from those who’ve made a similar migration!
Beta Was this translation helpful? Give feedback.
All reactions