# Forbid paste, undo, redo on read-only editors \(\#4037\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c2d56cd5f8aadeecdecf1de1a19f57ea155a6ef0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c2d56cd5f8aadeecdecf1de1a19f57ea155a6ef0

Requested commit: c2d56cd5f8aadeecdecf1de1a19f57ea155a6ef0

Commit: c2d56cd5f8aadeecdecf1de1a19f57ea155a6ef0

Tree: efbc16b0a97752a18251c88feae59dd48df3e373

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Forbid paste, undo, redo on read-only editors (#4037)

Release Notes:

- Fixed a bug where guests could paste into buffers that were intended
to be read-only.
```

## Parents

- [14f6ed8fea784931b50bab95333661b692ef96b3](https://git.cafe/gitcafe/zed/commit/14f6ed8fea784931b50bab95333661b692ef96b3?format=markdown)

- [7dc28aad787ae3f88f2c6c95979358ba170c0a2e](https://git.cafe/gitcafe/zed/commit/7dc28aad787ae3f88f2c6c95979358ba170c0a2e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c2d56cd5f8aadeecdecf1de1a19f57ea155a6ef0?format=markdown)
