Plugins
Add block information on Field Extension plugins
November 3rd, 2022
A small addition to our Plugins SDK: inside the renderFieldExtension
hook, you can now access ctx.block
.
If the field extension is installed in a field of a block, ctx.block
returns the ID of the block — or undefined
if the block is still not persisted — and the block model.