Hi David,
Please refer to the below sample to export a
document using the documentEditorContainer.
Sample: https://stackblitz.com/edit/ctb4og?file=index.html,index.js
The below code illustrates how to save a file in
sfdt format using a documentEditorContainer.
document.getElementById('sfdt').addEventListener('click', function () {
container.documentEditor.save('sample', 'Sfdt'); });
The below code illustrates how to save a file in
docx format using a documentEditorContainer.
document.getElementById('word').addEventListener('click',
function () { container.documentEditor.save('sample', 'Docx'); });
Regards,
Selvaprakash K