How to Disable Auto Focus in Vue DOCX Editor
28 Aug 20261 minute to read
Vue DOCX Editor (Document Editor) gets focused automatically when the page loads. If you do not want the DOCX Editor to be focused automatically, you can customize this behavior.
The following example illustrates how to disable the auto focus in DocumentEditorContainer.
<ejs-documenteditorcontainer ref="doceditcontainer" :enableAutoFocus='false' height='600px'></ejs-documenteditorcontainer>NOTE
The default value of
enableAutoFocusproperty istrue.
Disable auto focus in DocumentEditor
The following example illustrates how to disable the auto focus in DocumentEditor.
<ejs-documenteditor ref="doceditcontainer" :enableAutoFocus='false' height='600px'></ejs-documenteditor>NOTE
The default value of
enableAutoFocusproperty istrue.