mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
新增focus方法
This commit is contained in:
parent
22704b32d6
commit
2e4e827887
@ -463,6 +463,13 @@
|
||||
}
|
||||
},
|
||||
|
||||
focus() {
|
||||
if (this.getEditor() === null) {
|
||||
return "";
|
||||
}
|
||||
return this.getEditor().focus();
|
||||
},
|
||||
|
||||
insertImage(src) {
|
||||
this.insertContent('<img src="' + src + '">');
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user