editablejs / editable

🌱 A collaborative rich-text editor framework that focuses on stability, controllability, extensibility, and performance. 一款强到离谱的富文本编辑器框架,专注于稳定性、可控性、扩展性和性能。
https://docs.editablejs.com
Apache License 2.0
1.79k stars 120 forks source link

大佬们,怎么通过编辑器对象,手动设置焦点到最后一行最后一个字符 #158

Open Jedi1820 opened 7 months ago

Jedi1820 commented 7 months ago

Problem A clear and concise description of what the problem is. (Eg. I'm always frustrated when [...])

Solution A clear and concise description of what you want to happen.

Alternatives A clear and concise description of any alternative solutions or features you've considered.

Context Add any other context about the problem here. (The fastest way to have an issue fixed is to create a pull request with working, tested code and we'll help merge it. Editable is solving a pretty complex problem, and we can't do it without active contributors, so thank you so much for your help!)

big-camel commented 7 months ago

editor.focus(false)