]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/forms/markdown-textarea.component.html
Hack 459 regarding Angular & i18n
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / markdown-textarea.component.html
CommitLineData
66b16caf
C
1<div class="root" [ngStyle]="{ 'flex-direction': flexDirection }">
2 <textarea
0975cd5c
C
3 [(ngModel)]="content" (ngModelChange)="onModelChange()"
4 [ngClass]="classes" [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }"
5 id="description" name="description">
66b16caf
C
6 </textarea>
7
6de36768 8 <tabset *ngIf="arePreviewsDisplayed()" class="previews">
b1d40cff
C
9 <tab *ngIf="truncate !== undefined" i18n-heading heading="Truncated preview" [innerHTML]="truncatedPreviewHTML"></tab>
10 <tab i18n-heading heading="Complete preview" [innerHTML]="previewHTML"></tab>
66b16caf
C
11 </tabset>
12</div>