Hi Sampurnima,
Syncfusion Greetings!
Currently document editor doesn’t provide option to insert html content in document editor.
As a workaround, you can convert the html to docx using DOCIO, and docx to sfdt using word editor.
Please refer the below documentation for HTML to Docx conversion.
· Using paste(sfdt) API in editor module, you can insert a document (extract the document and insert element contains paragraph and table) at current cursor position.
· You can pass return server Sfdt string in this method.
Code snippet:
container.documentEditor.editor.paste(sfdt:string) |
Regards,
Harini C