[Bug] Dynamic Class #183
Replies: 1 comment 1 reply
-
Sounds like you hit this bug webstudio-is/webstudio#3683 As a workaround for now, can you use some data-attribute instead of class? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you assign a class to an element dynamically (in my case via a GraphQL API), it works in the editor, but after publishing the class is missing on the live page. It makes no difference whether you have atomic CSS enabled or not. If you set the class manually, it appears on the live page, it just doesn't seem to work with dynamic data.
Beta Was this translation helpful? Give feedback.
All reactions