field-plugin icon indicating copy to clipboard operation
field-plugin copied to clipboard

Add easy access to current block data object

Open mrsunshine opened this issue 9 months ago • 3 comments

Feature request: Current block data object in the root of your plugin.data or a util function which returns the object.

Use case you want to read data from a field from your current block. At the moment you have the blockUid in your plugin.data and you have t recursively search for the object with the given uid to get your block data object. Would be cool to either have the block object in the root of your plugin.data or a util function which returns the object. so not everybody has to implement his own search block function.

mrsunshine avatar May 10 '24 07:05 mrsunshine