Skip to content
Snippets Groups Projects
Commit fdf93ac9 authored by David Noah Donges's avatar David Noah Donges
Browse files

Display markdown toolbar

parent 466976a5
Branches
Tags
No related merge requests found
......@@ -11,8 +11,9 @@
<mat-form-field class="input-block">
<input matInput #subject [(ngModel)]="content.subject" placeholder="Subject" name="subject">
</mat-form-field>
<app-markdown-toolbar textareaId="content-choice-body"></app-markdown-toolbar>
<mat-form-field class="input-block">
<textarea matInput #body [(ngModel)]="content.body" placeholder="Body" name="body"></textarea>
<textarea matInput #body id="content-choice-body" [(ngModel)]="content.body" placeholder="Body" name="body"></textarea>
</mat-form-field>
<mat-divider></mat-divider>
......
......@@ -2,8 +2,9 @@
<mat-form-field class="input-block">
<input matInput #subject [(ngModel)]="content.subject" placeholder="Subject" name="subject">
</mat-form-field>
<app-markdown-toolbar textareaId="content-text-body"></app-markdown-toolbar>
<mat-form-field class="input-block">
<textarea matInput #body [(ngModel)]="content.body" placeholder="Body" name="body"></textarea>
<textarea matInput #body id="content-text-body" [(ngModel)]="content.body" placeholder="Body" name="body"></textarea>
</mat-form-field>
<div *ngIf="!editDialogMode">
<button mat-raised-button type="submit" color="primary">Submit</button>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment