How to Make Only a Specific Block Read-Only in PlateJS? #4716
Unanswered
shawonsaha
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi PlateJS team,
I'm working on a project using PlateJS and I would like to know if it is possible to set just a specific block (for example, a paragraph or heading) as read-only, instead of making the whole editor read-only.
My use case requires users to edit most of the document, but keep certain sections locked to prevent any changes. I've checked the docs but couldn't find a clear approach for this scenario.
Is there a built-in way or recommended technique to make only selected blocks or elements read-only while keeping the rest of the editor editable? If so, could you please point me to an example or documentation link?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions