There are a few helpful callbacks that are currently available in the isolate-block-editor that are no included in blocks-everywhere. These would be very helpful to have access to.
The PR adds the callbacks to wpBlocksEverywhere setting and leaves them as optional to avoid any conflicts if there is noting set. The three most helpful callbacks I thought would be onChange, onInput, onSelection.
This also updates the README with the new props.
Testing
Setup the testing environment of your choice.
Go to a page where blocks-everywhere is loaded.
Everything should be working with no regressions.
Use the dev console to set callback functions like this:
Summary
There are a few helpful callbacks that are currently available in the isolate-block-editor that are no included in blocks-everywhere. These would be very helpful to have access to.
The PR adds the callbacks to
wpBlocksEverywhere
setting and leaves them as optional to avoid any conflicts if there is noting set. The three most helpful callbacks I thought would beonChange
,onInput
,onSelection
.This also updates the README with the new props.
Testing