Make useBlockLock()
public
#55092
Labels
[Status] Needs More Info
Follow-up required in order to be actionable.
[Status] Stale
Gives the original author opportunity to update before closing. Can be reopened as needed.
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Using
blockEditor.useSetting.before
filter to apply customisation to block settings and I was trying to restrict certain block properties depending on if the block was locked or not.If
useBlockLock()
was public, I could use that instead I've had to replicate the method in my own codebase which also means I'll need to watch for any changes/maintenance.What is your proposed solution?
Export
useBlockLock()
for use by plugin developers - simpleThe text was updated successfully, but these errors were encountered: