summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-21 10:00:13 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-12-21 10:00:13 +0000
commitb62368235b40743e5b010aa8fc6fc2058bf1effa (patch)
treecfe60e41e24d02b659475cd7514e1b6016a780de /app/views
parentbc8e328fe4df7965e3ad80ee722cceb7c5b16261 (diff)
parentd40f393d2c99e4a36d097471acf9379f12c34f19 (diff)
downloadgitlab-ce-b62368235b40743e5b010aa8fc6fc2058bf1effa.tar.gz
Merge branch '40063-markdown-editor-improvements' into 'master'
Hide toolbar in markdown preview mode Closes #40063 See merge request gitlab-org/gitlab-ce!15994
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_md_preview.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index c5e3a7945bd..8212ab9a31e 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -17,7 +17,7 @@
%a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
Preview
- %li.md-header-toolbar
+ %li.md-header-toolbar.active
= markdown_toolbar_button({ icon: "bold", data: { "md-tag" => "**" }, title: "Add bold text" })
= markdown_toolbar_button({ icon: "italic", data: { "md-tag" => "*" }, title: "Add italic text" })
= markdown_toolbar_button({ icon: "quote", data: { "md-tag" => "> ", "md-prepend" => true }, title: "Insert a quote" })