Copy spreadsheet table into text document

Hi support team,
I want to copy a table in a spreadsheet to a text document using builder. At first I thought of converting the table in the spreadsheet to an HTML string, and then pasting it into the text document using the text document plugin api pasteHtml, but later I found that pasteHtml does not support builder. So is there any other way to achieve my goal?

Hello @szmtcjm

Are you looking for a way to perform the similar task from the editor interface via Insert > Table > Insert Spreadsheet? Or this is supposed to be an actual table with data from the spreadsheet?