Skip to content

Question: Can I disable blockName in editor view? #886

Answered by jmikrut
andwrobs asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @andwrobs — this is a perfectly valid request. Right now, you could hide it with custom CSS, but we could easily support this internally. We would accept a PR to do so. Just would require CMD+F through the whole project, find all instances of blockName, and address each to make it optional. That'd be how I'd do it.

We'd probably want to think of how to expose this to the config.... i.e. if there are other "blockName" properties in the future, do we scope them all to a field.blockName object? And then, to disable, you'd do field.blockName.disable or similar?

I could think of maybe renaming [Untitled] as a future property, and even renaming the field blockName to something else on the d…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@andwrobs
Comment options

Answer selected by andwrobs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants