why is apiFetch throwing Unhandled Promise Rejection: TypeError: Object is not a function

The root problem is a misunderstanding of how async functions work. const onChangeContent = async ( newUrl ) => { onChangeContent is not a function/async function. It is an object, specifically a Promise. The async and await are just shorthand. These 2 functions are identical: async function foo() { return 1 } function foo() { … Read more

Tidy HTML formatting in Gutenberg HTML blocks

Unfortunately, I don’t believe there’s anything available that would allow this unless you do some extensive customization to the block editor. TAB is used very often by users who have limited dexterity (I use it myself) so entering TAB on the keyboard will be used to move to the next element on the page.