• Resolved ramanandmehta

    (@ramanandmehta)


    No doubt this is an amazing plugin to design a block. but as I see, by default this plugin set a CSS class for every block. I don’t think this is good. According to me, CSS class should not apply on those block where we are not styling using this plugin.
    making website HTML structure Is also important so why we will set CSS class if we don’t want to apply any CSS on that class.

    also, if we disable extensions like icons and animation, the feature of adding icons, animation is still showing inside post/page editor. It should be disabled from post editor so that block editor will run smoothly and fast.

    Thanks for this useful plugin. hope you will think about my suggestion in the next update.

Viewing 1 replies (of 1 total)
  • Plugin Author Munir Kamal

    (@munirkamal)

    Hi @ramanandmehta

    Thank you for the feedback.

    CSS Classes
    Yes, you are correct. This seems to be the only possible way so far to do this. There is technically no way we can otherwise determine when one option (out of hundreds) has been used and then apply a class and then also keep checking this every-time a user triggers an option would be a mess. So that is why we are adding a CSS class to blocks, and this btw should not be a performance or HTML structure issue.

    That said, if you (or anyone) have a better suggestion, I am open to learn that and apply.

    Disable animation/icons extension

    This shouldn’t happen, will check this.

    Please feel free to add any other feedback you may have.

    Regards,
    Munir

Viewing 1 replies (of 1 total)
  • The topic ‘Default css class on all block’ is closed to new replies.