Exit early on mutating actions in readonly editor (#54758)

Hides and disables all mutating editor actions for readonly editors.

Certain actions (as cmd-backspace mentioned in the issue) could be
somewhat beneficial to have for navigation purposes, but we'd better
shape that story properly, let's build a "harness" and disable the
mutating ones first.

Closes https://github.com/zed-industries/zed/issues/47333

Release Notes:

- Fixed readonly editor having certain mutation actions enabled
872faf0a7bKirill Bulatov committed on 4/24/2026, 10:17:53 AM· committed by GitHubparent4d668fa
2 files changedLine totals unavailable