{"id":5339,"date":"2018-07-13T14:42:35","date_gmt":"2018-07-13T12:42:35","guid":{"rendered":"https:\/\/florianbrinkmann.com\/en\/?p=5339"},"modified":"2020-02-09T11:13:11","modified_gmt":"2020-02-09T10:13:11","slug":"gutenberg-wrap-core-block-in-element","status":"publish","type":"post","link":"https:\/\/florianbrinkmann.com\/en\/gutenberg-wrap-core-block-in-element-5339\/","title":{"rendered":"Gutenberg: wrap core block in element"},"content":{"rendered":"\n
Yesterday I had the problem, that the core table block is not wrapped in a Update from November 22, 2018:<\/strong> Under the German version of this post, Mario posted a comment and mentions an alternative solution for the problem<\/a>. The Currently, that is only available in WordPress trunk. Maybe it will be backported into the plugin, maybe not \u2013 depends on the next decisions regarding the final release date, I think.<\/p>\n<\/div>\n\n\n\ndiv<\/code> at the frontend. Of course, it is great that no useless markup is outputted, but I needed a wrapper element for my responsive table solution. Here I show you how to wrap a core block in an element. <\/p>\n\n\n\n\n\n\n\n
render_block<\/code> allows us to filter the content of blocks.<\/p>\n