mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 20:46:22 +01:00
An importer plug-in with "place": true in its manifest now reads its files for File › Place as well as File › Open. file.place, file.place.info and file.place.queue take importer and params; without importer, a file no built-in format reads goes to the first placing importer by id that lists its extension. The importer is given at most 128 MiB of the file (a larger file is refused from its size before it is read) with _context.mode "place", and its objects, guides left out, become one group named after the file, as one undo step, embedded. A decline, invalid output, a trap or Cancel places nothing. - The Place dialog lists placing importers' extensions under "All placeable files" and in a filter named after each importer. - On the web, a placing importer's file dropped on the canvas is placed. - A file placed with a named importer skips the text, PDF, DXF and PSD import options. - document.formats and plugin.list mark placing importers with place: true; place on any other kind is refused at install. Docs: docs/plugins.md, docs/mcp.md, docs/gaps.md, docs/target-app-parity.md.