-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
-
We want to use Tailwind v4 with a CMS, so we have to whitelist many classes which can be used inside the WYSIWYG editor.
With @source inline("{,sm:,md:,lg:}text-{center,left,right} ...")
we can add many required classes, but there are so many more, that it would be great to somehow import these using RegExp attern like /^text-/
and /^font-/
like in the old days (JavaScript definition).
Or is this possible already somehow and we missed it in the documentation?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment