I want to press ExtendScript to expand the canvas size to the top, but I can’t achieve the desired result through UXP’s DOM.
ExtendScript:app.activeDocument.resizeCanvas(activeDocument.width,activeDocument.height+225,AnchorPosition.BOTTOMLEFT)
UXP: await doc.resizeCanvas(doc.width,doc.height+225,{AnchorPosition:"[top/middle/bottom]-[left/center/right]"})