Hi Guys,
I open a Word document in Word and set editable regions.
I then open in the document editor and get the following message:
core.js:15724 ERROR TypeError: Cannot read property 'childWidgets' of undefined
at Selection.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/selection/selection.js.Selection.highlightEditRegions (selection.js:8320)
at Selection.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/selection/selection.js.Selection.highlightEditRegionInternal (selection.js:8289)
at Selection.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/selection/selection.js.Selection.highlightEditRegion (selection.js:8264)
at Selection.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/selection/selection.js.Selection.onHighlight (selection.js:8242)
at Selection.set [as isHighlightEditRegion] (selection.js:129)
at RestrictEditing.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/restrict-editing/restrict-editing-pane.js.RestrictEditing.showHideRestrictPane (restrict-editing-pane.js:73)
at PageLayoutViewer.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/implementation/viewer/viewer.js.LayoutViewer.onDocumentChanged (viewer.js:1691)
at DocumentEditor.push../node_modules/@syncfusion/ej2-documenteditor/src/document-editor/document-editor.js.DocumentEditor.open (document-editor.js:1130)
at NcSyncfusionDocumentEditorComponent.push../src/app/nuagecare/nc-document-management/nc-syncfusion-document-editor/nc-syncfusion-document-editor.component.ts.NcSyncfusionDocumentEditorComponent.openDocumentEditorAndSetDefaults (nc-syncfusion-document-editor.component.ts:106)
at SafeSubscriber._next (nc-syncfusion-document-editor.component.ts:85)
I guess I will have to use the editor to set the editable regions to avoid this problem but my customers do tend to use editable regions often and this needs to be addressed.
The document is attached.
Attachment:
Personal_Details_[20200118]_5a2e91c7.zip