Split up blocks
-
I only want to use a subset of the blocks provided, I deregistered several block types that I do not want to use, this part works well.
Really, I only want the icon and testimonial blocks.
However, the styles and libraries for the block types that I deregistered still load. Specifically, Slick, Magnific, Tippy and Animate libraries still load their css and js files.
When I dequeue these, it seems to break blocks. The border radius on the icon background is no longer set. I can’t tell for certain why ( the log doesn’t have any useful info ), but my assumption is the block JS is failing silently when these libraries aren’t present on the page.
My request is to allow users to safely remove libraries for blocks that aren’t in use.
- The topic ‘Split up blocks’ is closed to new replies.