Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5649c7ca
Commit
5649c7ca
authored
May 03, 2021
by
Austin Regnery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace icon with details block
parent
12305e7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_shared/components/markdown/header.vue
...ets/javascripts/vue_shared/components/markdown/header.vue
+1
-1
app/views/shared/blob/_markdown_buttons.html.haml
app/views/shared/blob/_markdown_buttons.html.haml
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/markdown/header.vue
View file @
5649c7ca
...
...
@@ -234,7 +234,7 @@ export default {
:prepend=
"true"
tag-select=
"Click to expand"
:button-title=
"__('Add a collapsible section')"
icon=
"
chevron-right
"
icon=
"
details-block
"
/>
<toolbar-button
:prepend=
"true"
...
...
app/views/shared/blob/_markdown_buttons.html.haml
View file @
5649c7ca
...
...
@@ -16,7 +16,7 @@
data:
{
"md-tag"
=>
"[{text}](url)"
,
"md-select"
=>
"url"
,
"md-shortcuts"
:
'["mod+k"]'
},
title:
sprintf
(
s_
(
"MarkdownEditor|Add a link (%{modifier_key}K)"
)
%
{
modifier_key:
modifier_key
})
})
=
markdown_toolbar_button
({
icon:
"
chevron-right
"
,
=
markdown_toolbar_button
({
icon:
"
details-block
"
,
data: { "md-tag" => "
<details><summary>
Click to expand
</summary>
\n{text}\n
</details>
", "md-prepend" => true, "md-select" => "Click to expand" },
title: _("Add a collapsible section") })
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment