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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
eeb0baff
Commit
eeb0baff
authored
Oct 08, 2018
by
George Tsiolis
Committed by
Clement Ho
Oct 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate button from the markdown header toolbar
parent
b9a2f2d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/views/projects/_md_preview.html.haml
app/views/projects/_md_preview.html.haml
+1
-2
changelogs/unreleased/gt-remove-duplicate-button-from-the-md-header-toolbar.yml
...gt-remove-duplicate-button-from-the-md-header-toolbar.yml
+5
-0
No files found.
app/views/projects/_md_preview.html.haml
View file @
eeb0baff
...
...
@@ -26,8 +26,7 @@
=
markdown_toolbar_button
({
icon:
"list-bulleted"
,
data:
{
"md-tag"
=>
"* "
,
"md-prepend"
=>
true
},
title:
s_
(
"MarkdownToolbar|Add a bullet list"
)
})
=
markdown_toolbar_button
({
icon:
"list-numbered"
,
data:
{
"md-tag"
=>
"1. "
,
"md-prepend"
=>
true
},
title:
s_
(
"MarkdownToolbar|Add a numbered list"
)
})
=
markdown_toolbar_button
({
icon:
"task-done"
,
data:
{
"md-tag"
=>
"* [ ] "
,
"md-prepend"
=>
true
},
title:
s_
(
"MarkdownToolbar|Add a task list"
)
})
=
markdown_toolbar_button
({
icon:
"table"
,
data:
{
"md-tag"
=>
"| header 1 | header 2 |
\n
| -------- | -------- |
\n
| cell 1 | cell 2 |
\n
| cell 3 | cell 4 |"
,
"md-prepend"
=>
true
},
title:
s_
(
"MarkdownToolbar|Add a table"
)
})
=
markdown_toolbar_button
({
icon:
"table"
,
data:
{
"md-tag"
=>
"| header | header |
\n
| ------ | ------ |
\n
| cell | cell |
\n
| cell | cell |"
,
"md-prepend"
=>
true
},
title:
_
(
'Add a table'
)
})
=
markdown_toolbar_button
({
icon:
"table"
,
data:
{
"md-tag"
=>
"| header | header |
\n
| ------ | ------ |
\n
| cell | cell |
\n
| cell | cell |"
,
"md-prepend"
=>
true
},
title:
s_
(
"MarkdownToolbar|Add a table"
)
})
%button
.toolbar-btn.toolbar-fullscreen-btn.js-zen-enter.has-tooltip
{
type:
"button"
,
tabindex:
-
1
,
"aria-label"
:
"Go full screen"
,
title:
s_
(
"MarkdownToolbar|Go full screen"
),
data:
{
container:
"body"
}
}
=
sprite_icon
(
"screen-full"
)
...
...
changelogs/unreleased/gt-remove-duplicate-button-from-the-md-header-toolbar.yml
0 → 100644
View file @
eeb0baff
---
title
:
Remove duplicate button from the markdown header toolbar
merge_request
:
22192
author
:
George Tsiolis
type
:
changed
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