Replace tooltip in markdown component with gl-tooltip
This commit is contained in:
parent
95a8768977
commit
45c001524d
|
|
@ -1,17 +1,17 @@
|
|||
<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"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<script>
|
||||
import tooltip from '../../directives/tooltip';
|
||||
import icon from '../icon.vue';
|
||||
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';
|
||||
import Icon from '../icon.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
icon,
|
||||
Icon,
|
||||
},
|
||||
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"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Replace tooltip in markdown component with gl-tooltip
|
||||
merge_request: 21989
|
||||
author: George Tsiolis
|
||||
type: other
|
||||
Loading…
Reference in New Issue