]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/forms/markdown-textarea.component.html
Add ability to list all local videos on client
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / markdown-textarea.component.html
1 <div class="root" [ngStyle]="{ 'flex-direction': flexDirection }">
2 <textarea
3 [(ngModel)]="content" (ngModelChange)="onModelChange()"
4 [ngClass]="classes" [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }"
5 id="description" name="description">
6 </textarea>
7
8 <ngb-tabset *ngIf="arePreviewsDisplayed()" class="previews" type="pills">
9 <ngb-tab *ngIf="truncate !== undefined" i18n-title title="Truncated preview">
10 <ng-template ngbTabContent><div [innerHTML]="truncatedPreviewHTML"></div></ng-template>
11 </ngb-tab>
12
13 <ngb-tab i18n-title title="Complete preview">
14 <ng-template ngbTabContent><div [innerHTML]="previewHTML"></div></ng-template>
15 </ngb-tab>
16 </ngb-tabset>
17 </div>