Journal entries tagged “Block Editor”
Using Tailwind CSS in a WordPress Environment
January 25, 2023
To develop themes and plugins, I use the @wordpress/scripts package to do the build work. It comes with pre-defined webpack configs which work well for creating blocks and working within the requirements of the block editor. This post will assume you have familiarity with setting up your dev environment to make use of @wordpress/scripts. Recently […]
Debounce an input using select hook in WordPress/Gutenberg
July 22, 2022
I was building a component for the block editor which accepts user input (i.e. a text search) and searches for matching posts. For various reasons I couldn’t use the <URLInput> component and needed to roll something more custom. I got stuck on this because when using the useSelect hook triggered by changes from a text […]
Transforming shortcodes to “blocks”
October 7, 2019
Check out my latest article series on the Bates Web Technologies site: