Having trouble getting help?
Contact Support
Contact Support
How to disable auto focus in Syncfusion Vue Document Editor component
30 Mar 20231 minute to read
Document 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 ref="doceditcontainer" :enableAutoFocus='false' height='600px'></ejs-documenteditorcontainer>
Note: Default value of
enableAutoFocus
property istrue
.
The following example illustrates to disable the auto focus in DocumentEditor.
<ejs-documenteditor ref="doceditcontainer" :enableAutoFocus='false' height='600px'></ejs-documenteditor>
Note: Default value of
enableAutoFocus
property istrue
.