API Versions Edit
This document lists the changes made between the different API versions.
Version 2 (>= WordPress 5.6)
- To render the block element wrapper for the block’s
editimplementation, the block author must use the
- The generated class names and styles are no longer added automatically to the saved markup for static blocks when
saveis processed. To include them, the block author must explicitly use
useBlockProps.save()and add to their block wrapper.