Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #103679
    RoyCatayas
    Participant
    Up
    0
    Down

    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,

    #103682
    Up
    0
    Down

    Hi,

    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/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.