I am attempting to get the startCol, endCol, startRow, and endRow properties from the coordinates object passed into the beforePaste hook. When observing the endCol and endRow values, regardless of how many rows/columns I paste into, the endCol and endRow values always match the startCol and startRow values.
Thanks @adrian.szymanski. I’m also curious why the object is an array. Is there a possibility that multiple coordinate objects could get passed back from the event hook callback?
Answering your last question. At the moment we are not allowing for copying the areas that are not next to each other, that’s why you get just one object in the array.
Thanks for looking into this @adrian.szymanski. Is the settimeout the intended way to gather that info or should I expect there to be a patch for this in the future?