[feature] Copy or move layers between pages #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: PaperCraft build of 2026-10-17, project with several pages.
Need: copy or move artboards (or any layers) from one page to another.
move_nodesonly reorders inside a page, and<x-paper-clone>only clones within a page.Repro:
move_nodes {nodeId:<artboard on page A>, parentId:"root", pageId:<page B>}has no such parameter;write_htmlwith<x-paper-clone node-id="<id on page A>"/>into page B finds nothing.Workaround: regenerate the design on the new page from a script, delete the old one, fix every reference to the old node ids.
Impact: reorganising a crowded page into pages costs a full rebuild and breaks ids referenced from specs. Suggest
move_nodeswith atoPageId, or acopy_nodestool, keeping ids or returning an id map.Fixed in commit
5169fe6and released in v0.3.1.