mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: 支持设置编辑器模式偏好
This commit is contained in:
1 parent
a7dc00361c
commit
bee8537a91
4 files changed
+11
-3
No files matched your search
@@ -11,7 +11,7 @@ export default class TextareaHandler extends DOMAttachedObject {
|
||||
|
||||
isCmEditor() {
|
||||
const editor = this.getCmEditor();
|
||||
return (editor !== undefined && editor.isValid());
|
||||
return (editor && editor.isValid);
|
||||
}
|
||||
|
||||
val(...argv) {
|
||||
|
||||
Reference in new issue
Block a user