As Unsplash we want to enable users to easily find and select a custom block that will allow them to easily and quickly insert an Unsplash image block into their content as quickly as possible.
I would expect that as a user of the Unsplash plugin I can find and select a custom block called Unsplash. This block would use the Unsplash logo as it's dashicon and be called Unsplash. I would expect that this block is categorized as a "common" block and would appear in that section of the block search utility
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Custom block "Unsplash" is presented to user in the block editor when Plugin installed
Unsplash block uses the Unsplash logo as it's icon
Unpslash block is categorized as "common" block
Implementation brief
Following WP core block pattern, all static block metadata will be in block.json, this file will be dynamically read in PHP and invokes the register_block_type.
registerBlockType will be invoked in JS with title, description, edit and save components.
QA testing instructions
Confirm that a user who has the plugin enabled is presented with a new block type called "Unsplash" with the characteristics noted above.
Feature description
As Unsplash we want to enable users to easily find and select a custom block that will allow them to easily and quickly insert an Unsplash image block into their content as quickly as possible.
I would expect that as a user of the Unsplash plugin I can find and select a custom block called Unsplash. This block would use the Unsplash logo as it's dashicon and be called Unsplash. I would expect that this block is categorized as a "common" block and would appear in that section of the block search utility
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
block.json
, this file will be dynamically read in PHP and invokes theregister_block_type
.registerBlockType
will be invoked in JS with title, description, edit and save components.QA testing instructions
Demo
Changelog entry