mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
A filter's manifest may list `writes`, the kinds among its `inputs` it may change, at `api` 3 with `doc.write` in `permissions`. Such a filter returns those objects with the fields it changes: type's runs and paragraph styles, an image's transform and opacity, an instance's transform and symbol (one already in the document), and each one's name. Every value is checked as the input's limits and a path's paints are; any other changed field, or a value out of range, refuses the run naming the object and the field, and the document stays as it was. The changes of one run are one undo step, and an output that changes nothing records no undo step for any filter. Images are now also given with their opacity. Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.