aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library
diff options
context:
space:
mode:
authorPoslovitch <poslovitch@bentobox.world>2021-10-23 21:57:59 +0000
committerChocobozzz <chocobozzz@cpy.re>2021-10-26 08:48:17 +0200
commit9f3bf1432d9087348563783c85e6ddb43649e2db (patch)
treec4b94971c7ed1c1de93a433ddab165d196f4a719 /client/src/app/+my-library
parent3c4d6c1d9cd942849352656a25fa2d6459da6445 (diff)
downloadPeerTube-9f3bf1432d9087348563783c85e6ddb43649e2db.tar.gz
PeerTube-9f3bf1432d9087348563783c85e6ddb43649e2db.tar.zst
PeerTube-9f3bf1432d9087348563783c85e6ddb43649e2db.zip
Added Markdown formatting in playlist descriptions
Implements https://github.com/Chocobozzz/PeerTube/issues/3627
Diffstat (limited to 'client/src/app/+my-library')
-rw-r--r--client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html8
-rw-r--r--client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss6
2 files changed, 4 insertions, 10 deletions
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html
index 9b9befca4..c39e90a1e 100644
--- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html
+++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html
@@ -41,11 +41,11 @@
41 </div> 41 </div>
42 42
43 <div class="form-group"> 43 <div class="form-group">
44 <label i18n for="description">Description</label> 44 <label i18n for="description">Description</label><my-help helpType="markdownText"></my-help>
45 <textarea 45 <my-markdown-textarea
46 id="description" formControlName="description" 46 id="description" formControlName="description"
47 class="form-control" [ngClass]="{ 'input-error': formErrors['description'] }" 47 [ngClass]="{ 'input-error': formErrors['description'] }"
48 ></textarea> 48 ></my-markdown-textarea>
49 <div *ngIf="formErrors.description" class="form-error"> 49 <div *ngIf="formErrors.description" class="form-error">
50 {{ formErrors.description }} 50 {{ formErrors.description }}
51 </div> 51 </div>
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss
index 420391322..47c323d6d 100644
--- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss
+++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss
@@ -16,12 +16,6 @@ input[type=text] {
16 display: block; 16 display: block;
17} 17}
18 18
19textarea {
20 @include peertube-textarea(500px, 150px);
21
22 display: block;
23}
24
25.peertube-select-container { 19.peertube-select-container {
26 @include peertube-select-container(340px); 20 @include peertube-select-container(340px);
27} 21}