新增focus方法
This commit is contained in:
@@ -463,6 +463,13 @@
|
||||
}
|
||||
},
|
||||
|
||||
focus() {
|
||||
if (this.getEditor() === null) {
|
||||
return "";
|
||||
}
|
||||
return this.getEditor().focus();
|
||||
},
|
||||
|
||||
insertImage(src) {
|
||||
this.insertContent('<img src="' + src + '">');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user