Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi
I loaded an sfdt string into the document editor. Then I tried to save the document in docx format using the following code
this.container.documentEditor.saveAsBlob('Docx').then(exportedDocument: Blob => {
});
While executing this line, an exception is thrown on the console, and the conversion stops
Please find the exception below,
zone.js:690 Unhandled Promise rejection: Cannot read properties of undefined (reading 'revisionType') ; Zone:
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeRevisionStart (word-export.js:1394)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeParagraphItems (word-export.js:1434)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeParagraph (word-export.js:1376)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeBodyItem (word-export.js:1327)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeBodyItems (word-export.js:1096)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeSection (word-export.js:670)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeDocumentBody (word-export.js:662)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serializeDocument (word-export.js:625)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.serialize (word-export.js:485)
at WordExport.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/writer/word-export.js.WordExport.saveAsBlob (word-export.js:394) TypeError: Cannot read properties of undefined (reading 'revisionType')