How to disable auto focus in Syncfusion Angular Document Editor
18 Jun 20261 minute to read
Angular DOCX Editor gets focused automatically when the page loads. If you want the Document editor not to be focused automatically it can be customized.
The following example illustrates to disable the auto focus in DocumentEditorContainer.
<ejs-documenteditorcontainer [enableAutoFocus]=false></ejs-documenteditorcontainer>Note: Default value of
enableAutoFocusproperty istrue.
The following example illustrates to disable the auto focus in DocumentEditor.
<ejs-documenteditor [enableAutoFocus]=false></ejs-documenteditor>Note: Default value of
enableAutoFocusproperty istrue.