What CSS rules are introduced to core blocks through wp-block-styles?

The Gutenberg Handbook mentions that some CSS for WordPress core blocks are applied to the front-end and within the editor by default (and that they cannot be disabled) but there are more opinionated CSS styles available that can be optionally added by adding the following your theme (in one of the PHP files, typically done through functions.php).

How to use the WordPress Component

The issue I am looking for a way to add linking functionality to a custom block of mine and found different approaches to this need. There are: The URLInputButton Component The URLInput Component The LinkControl Component The URLPopover Component I got it somehow working with the first two components: const {URLInputButton, URLInput, URLPopover} = wp.blockEditor; … Read more

How to grab posts in Gutenberg Block?

Trying to get latest 10 posts to display in a Gutenberg plugin, but I can’t figure out how to access the latest posts from the block.js. I know how to do it from PHP and it’s easy, but this is new to me. Do I have to make a request to the REST API or is there a better practice?