How does wangEditor cancel the auto-focusing of rich text?

vue project, rich text is only an item in the form, so there is no need to automatically focus on rich text. If you set it to focus on the first item of the form, there is a problem that the echo of rich text will "grab" the focus back

.
Nov.30,2021

wangEditor does not need to automatically focus on rich text.
currently does not support this configuration. Delete this line manually https://github.com/wangfupeng.

.

that is, this.selection.restoreSelection (); this line

Did you solve the problem of canceling autofocus in

vue? How to solve


just find this file in node_module and comment out those two lines of code. You're welcome!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b4025d-2c4e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b4025d-2c4e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?