I'm having an issue with the Puck editor while using --turbo, tailwind failed #17948
Unanswered
azharuddin-mulla-amla
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
-
Description
When using the Puck editor with the --turbo flag, Tailwind CSS classes behave inconsistently. On initial load, Tailwind classes apply correctly. However, on subsequent hot reloads after modifying or adding new Tailwind classes, they no longer take effect. A full page refresh is required to see the changes. Additionally, applying styles via an external CSS file introduces unwanted scrollbars in the Puck preview viewport.
Github Link for Source Code
https://github.com/azharuddin-mulla-amla/puck-turbo.git
Environment
Steps to reproduce
What happens
What I expect to happen
Tailwind CSS classes should apply immediately on hot reload without needing a full page refresh.
Reference for Video
Beta Was this translation helpful? Give feedback.
All reactions