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
Boxiang Sun
gitlab-ce
Commits
45c00152
Commit
45c00152
authored
Sep 28, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace tooltip in markdown component with gl-tooltip
parent
95a87689
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
app/assets/javascripts/vue_shared/components/markdown/header.vue
...ets/javascripts/vue_shared/components/markdown/header.vue
+5
-5
app/assets/javascripts/vue_shared/components/markdown/toolbar_button.vue
...scripts/vue_shared/components/markdown/toolbar_button.vue
+5
-5
changelogs/unreleased/replace-tooltip-in-markdown-component.yml
...logs/unreleased/replace-tooltip-in-markdown-component.yml
+5
-0
No files found.
app/assets/javascripts/vue_shared/components/markdown/header.vue
View file @
45c00152
<
script
>
import
$
from
'
jquery
'
;
import
Tooltip
from
'
../../directives/tooltip
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab-org/gitlab-ui
'
;
import
ToolbarButton
from
'
./toolbar_button.vue
'
;
import
Icon
from
'
../icon.vue
'
;
export
default
{
directives
:
{
Tooltip
,
},
components
:
{
ToolbarButton
,
Icon
,
},
directives
:
{
GlTooltip
:
GlTooltipDirective
,
},
props
:
{
previewMarkdown
:
{
type
:
Boolean
,
...
...
@@ -147,7 +147,7 @@ export default {
icon=
"table"
/>
<button
v-tooltip
v-
gl-
tooltip
aria-label=
"Go full screen"
class=
"toolbar-btn toolbar-fullscreen-btn js-zen-enter"
data-container=
"body"
...
...
app/assets/javascripts/vue_shared/components/markdown/toolbar_button.vue
View file @
45c00152
<
script
>
import
tooltip
from
'
../../directives/tooltip
'
;
import
i
con
from
'
../icon.vue
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab-org/gitlab-ui
'
;
import
I
con
from
'
../icon.vue
'
;
export
default
{
components
:
{
i
con
,
I
con
,
},
directives
:
{
tooltip
,
GlTooltip
:
GlTooltipDirective
,
},
props
:
{
buttonTitle
:
{
...
...
@@ -43,7 +43,7 @@ export default {
<
template
>
<button
v-tooltip
v-
gl-
tooltip
:data-md-tag=
"tag"
:data-md-select=
"tagSelect"
:data-md-block=
"tagBlock"
...
...
changelogs/unreleased/replace-tooltip-in-markdown-component.yml
0 → 100644
View file @
45c00152
---
title
:
Replace tooltip in markdown component with gl-tooltip
merge_request
:
21989
author
:
George Tsiolis
type
:
other
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