gutenberg-course
gutenberg-course copied to clipboard
Repo for Zac Gordon's Gutenberg Development Course - http://gutenberg.courses/
How could we implement this pattern with Webpack 4? Also, how could we implement this using sourcemaps?
Fix frontend display for latest post dynamic block example
I think this is a typo on the class name. It doesn't matter much in functionality as the class already used as the default export, but it mismatched in context.
Hello, I get many errors once I run npm run dev [0] ./blocks/index.js 444 bytes {0} [built] [1] ./blocks/i18n.js 51 bytes {0} [built] [2] ./blocks/01-static/index.js 1.25 kB {0} [built] [failed]...
Attribute `class` is not allowed in JSX.
`withAPIData` has been replaced with `withSelect` in https://github.com/zgordon/gutenberg-course/commit/c19a230ee4c0777fe8f0dedd59f97fb4d8c752a3#diff-710e3d37c8563bc1a3e2b3948c80d1aaR25 but the comment on the closing parenthesis still mentions `withAPIData`. This PR fixes this.
The wp.editor.UrlInput component has been renamed to wp.editor.URLInput, as mentioned here: https://wordpress.org/gutenberg/handbook/reference/deprecated/ Old notation breaks the block when used with Gutenberg 4.5.1
In the last update, wp-editor appeared as undefined because it was not added in the dependencies of wp_enqueue_script
Minor tweak to make build info in console less verbose **Before**  **After** 