How can I use autofocus in RichTextEditor?

Hi, How can I use autofocus in RichTextEditor?

I founded focusIn, focusOut methods in API doc. 

But ref obj doesn't have methods.

Appreciating your help in advance. 

1 Reply

IS Indrajith Srinivasan Syncfusion Team May 6, 2020 08:40 AM UTC

Hi Jaehyun,

Greetings from Syncfusion support,

We have validated your reported query. You can access the focusIn method with the ref of the Rich Text Editor. We have also prepared a sample, focusing on the editor in the created event.

Sample: https://stackblitz.com/edit/react-rcdarc-cbk3vz?file=index.js

API link: https://ej2.syncfusion.com/react/documentation/api/rich-text-editor/#focusin 

Please let us know if the solution meets your requirements?

Regards, 
Indrajith 


Loader.
Up arrow icon