From 3c176894bae9de7958605fe432bff770b9232807 Mon Sep 17 00:00:00 2001 From: kimsible Date: Fri, 7 Aug 2020 19:00:51 +0200 Subject: [PATCH] Add markown compatible help icon in comment textarea --- .../comment/video-comment-add.component.html | 14 +++++++ .../comment/video-comment-add.component.scss | 40 ++++++++++++++++++- .../shared-icons/global-icon.component.ts | 1 + .../shared-main/misc/help.component.html | 6 +-- .../shared-main/misc/help.component.scss | 5 ++- .../shared/shared-main/misc/help.component.ts | 3 ++ client/src/assets/images/misc/markdown.svg | 1 + 7 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 client/src/assets/images/misc/markdown.svg diff --git a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.html index c9b0a9c63..ec8da02e2 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.html +++ b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.html @@ -3,6 +3,20 @@ Avatar
+ + +
+ Markdown compatible that supports: + +
    +
  • Emphasis: **bold**, _italic_
  • +
  • Links
  • +
  • Break lines
  • +
  • Lists
  • +
+
+
+