JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Editor Focus on last character
Hi,
I wanted to have the cursor always on the last line or last word every time I add some content on it.
Does anyone know how to set the focus or cursor on the last character on the editor?
the editor.focus(); seems only focus the component
Thanks,
Sorry, can you please explain further? I don’t think I understand you correctly. You want the cursor to be set on the last character when you are typing, but that is the default behaviour.
Please explain to us so we can do our best to help you!
Best Regards, Svetoslav Borislavov
Smart UI Team https://www.htmlelements.com/