Add markdown editor node
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-10-16 12:20:16 -05:00
parent 74b7cdadc7
commit b588865137
15 changed files with 251 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
<div class="container" (click)="onFocusIn()">
<div class="editor-container" *ngIf="showEditor">
<ngx-monaco-editor class="editor"
[options]="editorOptions"
[(ngModel)]="contents"
(ngModelChange)="onContentsChanged($event)"
#editor
></ngx-monaco-editor>
</div>
<div class="display" markdown katex [data]="contents"></div>
</div>