Skip to content

Hi PlateJS team, #4721

@bhamichi

Description

@bhamichi

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!

Originally posted by @shawonsaha in #4716

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions