What version of React does Gutenberg use?

WordPress 5.1.1 uses React 16.6.3. You can see this in the package.json file in the development version of WordPress on Trac: https://core.trac.wordpress.org/browser/tags/5.1.1/package.json?rev=44861 This has already been updated in trunk to 16.8.4, so the next major version of WordPress will use at least that version.

How to disable align-wide for specified blocks in Gutenberg

According to the gutenberg handbook you can use the blocks.registerBlockType filter which allows you to play around with the block settings. For most of the wp core blocks modifying the supports.align property works pretty well: wp.hooks.addFilter( ‘blocks.registerBlockType’, ‘my-theme/namespace’, function( settings, name ) { if ( name === ‘core/pullquote’ ) { return lodash.assign( {}, settings, { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)