Open
Description
Steps To Reproduce
I'm trying to move selected boards from one page to an other page with:
const targetPage = await penpot.currentFile?.pages.find(
(page) => page.id === msg.pageId
);
if (!targetPage) return;
const targetPageRoot = targetPage.root as Board;
if (selectedShapes.length > 0) {
for (const shape of selectedShapes) {
targetPageRoot.appendChild(shape);
}
}
But nothing happens, it appends the selected boards to the same page. Is it a bug or intentional?
Expected behavior
Moving selected items to other pages.
Actual behavior
Selected items stay on the same page.
Screenshots or video
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Environment (please complete the following information)
No response
Frontend Stack Trace
Backend Stack Trace
Additional context
No response