{"version":"2.1.235","anchor":"editwritenotebookedit-approval-previews-are-withheld-when","canonical_anchor":"editwritenotebookedit-approval-previews-are-withheld-when","heading":"Edit\/Write\/NotebookEdit approval previews are withheld when the change is too large or the file cannot be read","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235\/e\/editwritenotebookedit-approval-previews-are-withheld-when","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235","markdown":"### Edit\/Write\/NotebookEdit approval previews are withheld when the change is too large or the file cannot be read\n\nEdit, Write and NotebookEdit approval previews withhold the diff when the change is too large or the file can't be read\n\nThe permission payload builder for `Edit`, `Write`, and `NotebookEdit` now returns a `contentWithheld` marker plus a \"no-changes\" panel instead of a diff whenever the old or new content exceeds the size cap, contains control characters, the existing file is too large to preview, the path is a network path, or a notebook cell can't be parsed or found. The dialog message states the change cannot be reviewed and that approval is therefore one-time only.\n\nThe Bash `sed` simulated-edit preview received the same withholding treatment.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}