This commit is contained in:
zadam
2019-09-06 20:50:57 +02:00
parent 135102d2b5
commit 0226b1e9a8
3 changed files with 6 additions and 2 deletions

View File

@@ -71,7 +71,10 @@ class NoteDetailCode {
show() {
this.$component.show();
this.codeEditor.refresh();
if (this.codeEditor) { // show can be called before render
this.codeEditor.refresh();
}
}
getContent() {