AI writes the code. You make the right choice for the user. 🧩
Every Gutenberg block has two places for its UI: the toolbar (BlockControls) and the Block tab of the sidebar (InspectorControls). Actions on top, settings on the side.
🧰 Real plugins use both: 4WP FAQ (Unwrap / JSON-LD), 4WP Advanced Code (Configuration file / Terminal settings), 4WP Smart Link (Smart Link / nofollow, new tab) ❓ Which one? Ask how often, and how many fields.
- Count the clicks: toolbar 1, closed sidebar 3.
A practice case in the Lesson IDE: real code, when to use it, why.
Components are the alphabet. UX is the sentence.