aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/forms/markdown-textarea.component.html
blob: d2d4cf95cb3580f8b5522ffa9863a1560d261dae (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                             
<div class="root" [ngStyle]="{ 'flex-direction': flexDirection }">
  <textarea
    [(ngModel)]="description" (ngModelChange)="onModelChange()"
    [ngClass]="classes" [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }"
    id="description" name="description">
  </textarea>

  <tabset *ngIf="arePreviewsDisplayed()" #staticTabs class="previews">
    <tab *ngIf="truncate !== undefined" heading="Truncated description preview" [innerHTML]="truncatedDescriptionHTML"></tab>
    <tab heading="Complete description preview" [innerHTML]="descriptionHTML"></tab>
  </tabset>
</div>