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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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: ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'revisionType')

    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')



Regards,
Harini