Skip to content

Conversation

@ZolliePy
Copy link
Contributor

@ZolliePy ZolliePy commented Dec 23, 2021

At the moment there is no Block inserter preview in Lazyblocks when you hover over the blocks in the Editor. This 1 line change let all of the lazyblocks having an inserter preview from (based on) the editor.php file of the Blocks. As per the docs: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/#example-optional
an empty example object - even if it is empty - triggers the preview to show. (see attached gif example).
preview-example-for-lazyblocks

@nk-crew nk-crew deleted a comment from height bot Dec 23, 2021
@nk-o nk-o merged commit e7c8556 into nk-crew:master Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants