|
For drag and drop text contents inside document editor |
Please refer the below KB which is in ASP.NET MVC. please check whether this KB satisfies your requirement and let us know if you need the same sample in vue?
| |
|
I insert it but it's don't convert to html |
Can you please share your requirement clearly?
Do you want to insert it as text or to open the sfdt text? Since insertText API inserts specified string in current selection without any conversion.
If you want to open with SFDT string, then please refer the below API.
Sample code snippet
Please refer the below documentation on importing sfdt string in document editor.
|
|
DocumentEditorContainer
//pass the sfdt string, which extracts the document and inserts paragraph and table with its properties
containerInstance.documentEditor.editor.paste(sfdtstring)
DocumentEditor
documentEditorInstance.documentEditor.editor.paste(sfdtstring)
|