]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/forms/markdown-textarea.component.html
Improving select displays, focus box-shadows for paginators, instructions for index url
[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 3 [(ngModel)]="content" (ngModelChange)="onModelChange()"
a6d5ff76
RK
4 class="form-control" [ngClass]="classes"
5 [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }"
4ee6a8b1 6 [id]="name" [name]="name">
66b16caf
C
7 </textarea>
8
45c6bcf3
C
9 <div ngbNav #nav="ngbNav" class="nav-pills previews">
10 <ng-container ngbNavItem *ngIf="truncate !== undefined">
11 <a ngbNavLink i18n>Truncated preview</a>
63347a0f 12
45c6bcf3
C
13 <ng-template ngbNavContent>
14 <div [innerHTML]="truncatedPreviewHTML"></div>
15 </ng-template>
16 </ng-container>
17
18 <ng-container ngbNavItem>
19 <a ngbNavLink i18n>Complete preview</a>
20
21 <ng-template ngbNavContent>
22 <div [innerHTML]="previewHTML"></div>
23 </ng-template>
24 </ng-container>
25 </div>
26
27 <div [ngbNavOutlet]="nav"></div>
66b16caf 28</div>