Insert html to document when using document builder

I want to know is there a method to insert html content into a document, when using document builder.

our company have a product which have many tables , and we want to develop a function , which could insert table into the document at specific position , for example , the 6th paragraph, and we want to use document builder , because onlyoffice paste function is fantastic, not only can keep table data right , but also the style of it is correct and awesome.

so could anyone help me to know how to use the api to implement this function , insert html to document when using document builder

we have already implement this function in the page, but encouter some problems.

1.when the table is large, the processing time is big(10k rows table), and the page show the picutre below.

2.when paste large table, the page show the dialog below , whick is not friendly, and user could not understand what happended

so we think there could be a method to solve these problems by using document builder.