How can I make the div get the focus and the focus is on the right side of the text?
What I want is once you click the button, the div which is contenteditable' isfocus, and thefocus` is on the right side of the text
Thanks :)
I've tried the solution to the system's recommended problem, but it has an error
Failed to execute 'setStart' on 'Range': parameter 1 is not of type 'Node' ...