mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +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) {
|
insertImage(src) {
|
||||||
this.insertContent('<img src="' + src + '">');
|
this.insertContent('<img src="' + src + '">');
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user