# 이슈처리

106 입력된 내용 다 지웠지만 1로 보여짐
132 쪽지 이미지 삽입 시 드래그된것처럼 보여짐
This commit is contained in:
leejinho 2020-02-03 17:53:19 +09:00
parent af582b0c8e
commit 26b5259b3c

View File

@ -331,6 +331,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
private checkContentLength() { private checkContentLength() {
const result = this.parseContent(); const result = this.parseContent();
if (!result) { if (!result) {
this.contentLength = 0;
return; return;
} }
@ -572,6 +573,7 @@ export class WriteComponent implements OnInit, OnDestroy, AfterViewInit {
} else { } else {
this.editor.nativeElement.appendChild(node); this.editor.nativeElement.appendChild(node);
} }
selection.empty();
} }
private inEditor(el) { private inEditor(el) {