• giveuptheghost

    (@scmrecordings)


    Hi there,

    Love the plugin! I’ve come across an issue where classes placed on dynamic blocks (such as the Core Title block and Core Featured Image block) in a Gutenberg single post template (these details may or may not matter) are not generating CSS on the front-end. The back-end is fine as it’s using the tailwind playground script. As soon as I move the classes to a group wrapping the dynamic block (but that isn’t the dynamic block itself) and use Tailwind’s arbitrary selectors to select the dynamic block, the CSS is generated again. I assume this has something to do with timing with how the Gutenberg block content is crawled for templates but I’m not sure. I also tried using the ‘f!windpress/integration/gutenberg/compile:get_contents.post_types’ filter, tried turning the groups into template parts and patterns, etc. Spent a couple hours and nothing seems to be working. In comparison, Winden doesn’t have this issue with the same site (but has a bunch of other bugs I don’t want to deal with). To test this, just create a template for a custom post type, add a title block and featured image block, add some classes directly on those blocks, generate the CSS in Windpress, and view the post type on the front end in a private browser.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joshua Gugun Siagian

    (@suabahasa)

    Hi @scmrecordings, tbh, I’m not really get the thing you describe. Could you please made some video record / backup with All-in-One Backup plugin that I can explore it locally?

    Thread Starter giveuptheghost

    (@scmrecordings)

    Just wanted to say, I’m messaging with Joshua privately to try to resolve this issue. Will report back here on the result for anyone else who is running into the same problem

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.