|
I want insert text and image the specific place by click on button Runtime
|
Document editor provide option to insert the text and image in current cursor position.
Insert the text using insertText API of editor module.
Sample code snippet
ContainerInstance.documentEditor.editor.insertText(“19/04/2002”)
Reg. Insert Image
Kindly refer the below documentation on inserting the image in document editor
For navigating to header, footers region in document editor
Document editor provides goToHeader, goToFooter API of selection module.
Sample code snippets
| ||
|
Save document to folder of server |
Document editor provides options to export the document editor content as blob which can be passed to server-side for saving.
you can also refer the below KB on saving files in server.
|