{"id":3062,"date":"2019-10-28T07:15:21","date_gmt":"2019-10-28T11:15:21","guid":{"rendered":"https:\/\/cindypotvin.com\/?p=3062"},"modified":"2019-10-26T19:28:59","modified_gmt":"2019-10-26T23:28:59","slug":"create-a-minimal-custom-gutenberg-block-in-wordpress","status":"publish","type":"post","link":"https:\/\/cindypotvin.com\/create-a-minimal-custom-gutenberg-block-in-wordpress\/","title":{"rendered":"Create a Minimal Custom Gutenberg Block in WordPress"},"content":{"rendered":"\n

I’ve started playing with the new Gutenberg editor in WordPress, and the experience is a lot more modern than the old TinyMCE editor that’s been around for a good 15 years (and I’ve had blogs for almost that long!). <\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

Instead of editing all the content of the post at once, the Gutenberg editor works with blocks of content that can be reordered, with a clean look similar to the Medium editor. <\/p>\n\n\n\n

WordPress comes with many blocks by default for standard elements such as list, button or image galleries (see https:\/\/gogutenberg.com\/blocks\/<\/a> for all the blocks that comes built-in). You can also save blocks you’ve used in a post to reuse them in other posts.<\/p>\n\n\n\n

For a really effective blogging workflow, you’ll need to build new blocks to extent the functionalities of the editor. For another blog I own (https:\/\/robotsbench.com\/<\/a>), I wanted to use the HTML