From 01d77a45b9a3e98844114f920e1ac38875e49c33 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Wed, 25 Nov 2026 15:00:28 -0800 Subject: [PATCH] Docs: a host at api 3 that doesn't read writes ignores the key Hosts from before api 3 refuse the manifest. A host at api 3 without writes installs the filter, ignores the key and refuses an output that changes the objects it was given. --- docs/plugins.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 37def47f1a..c7ef338d6c 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -641,8 +641,9 @@ the module's start function, in a run that isn't a filter's run on a document, o - `writes` (filters at `api` 3 only): the kinds among `inputs` the filter may change ([writing type, images and symbols](#writing-type-images-and-symbols)), each at most once (`"writes": ["type"]`). Left out or `[]`, everything the filter reads stays read-only. An unknown, repeated or wrongly typed entry, a kind `inputs` doesn't list, `writes` - on another kind, below `api` 3, or without `doc.write` in `permissions`, is refused when the plug-in is installed, and - hosts from before it refuse `api` 3. + on another kind, below `api` 3, or without `doc.write` in `permissions`, is refused when the plug-in is installed. + Hosts from before `api` 3 refuse the manifest. A host at `api` 3 that doesn't read `writes` installs the filter, + ignores the key and keeps everything the filter reads read-only, so an output that changes those objects is refused. - `context` (filters, and live effects with `commands`, at `api` 3 only): the parts of the active document a run reads in `_context.document`, any of `"settings"`, `"artboards"`, `"layers"` and `"swatches"`, each at most once (`"context": ["artboards", "layers"]`). Left out or `[]`, a run gets none, as before. An unknown, repeated or wrongly