Repository navigation
Replies: 2 comments 3 replies
|
Should I take the quiet as confirmation it isn't possible? (Other than editing the source code myself, of course) |
|
Hi @akademy! Short answer: there's no way to do this today, neither per block nor per Tool: Move up / Delete / Move down are built-in tunes that are always there. And honestly, even hiding these buttons wouldn't give you what you described ("remain in the order they were added"). The block still wouldn't be really locked:
A truly locked block (not editable, not movable, not removable) needs a dedicated Editor API, something like per-block read-only. It touches many parts of the editor: selection, keyboard handling, paste, the toolbars and the API. So it needs proper design. The closest existing request is #1589, feel free to add your use case there. Workaround for now:
Hope that helps! |
Uh oh!
There was an error while loading. Please reload this page.
Hi.
Is it possible to disable a the "up", "delete" and "down" tunes for a particular component? It looks like these are always set.
(Some background: We have "auto added" pieces of text to a document (e.g. some process finishes and info is added to a document), these should not be editable. While you can add/delete and move up/down other components, we'd like our auto ones to "remain in the order they were added to the document")
Any thoughts?
Cheers
Matthew
All reactions