mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix psdoc_reply & overflow (#100)
This commit is contained in:
1 parent
30710cdbfb
commit
7f6c235c05
10 files changed
+87
-84
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import _ from 'lodash';
|
||||
import DOMAttachedObject from 'vj/components/DOMAttachedObject';
|
||||
import CmEditor from '.';
|
||||
import CmEditor from './index';
|
||||
|
||||
export default class TextareaHandler extends DOMAttachedObject {
|
||||
static DOMAttachKey = 'vjTextareaHandlerInstance';
|
||||
@@ -11,7 +11,7 @@ export default class TextareaHandler extends DOMAttachedObject {
|
||||
|
||||
isCmEditor() {
|
||||
const editor = this.getCmEditor();
|
||||
return (editor && editor.isValid);
|
||||
return !!(editor && editor.isValid);
|
||||
}
|
||||
|
||||
val(...argv) {
|
||||
|
||||
Reference in new issue
Block a user