Commit 0d9183ba authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'markdown-header-button' into 'master'

Update markdown header button

Closes #219892

See merge request gitlab-org/gitlab!37143
parents 2aafa3bb 182bffe3
<script>
import $ from 'jquery';
import { GlPopover, GlDeprecatedButton, GlTooltipDirective } from '@gitlab/ui';
import { GlPopover, GlButton, GlTooltipDirective } from '@gitlab/ui';
import ToolbarButton from './toolbar_button.vue';
import Icon from '../icon.vue';
......@@ -9,7 +9,7 @@ export default {
ToolbarButton,
Icon,
GlPopover,
GlDeprecatedButton,
GlButton,
},
directives: {
GlTooltip: GlTooltipDirective,
......@@ -141,9 +141,14 @@ export default {
)
}}
</p>
<gl-deprecated-button variant="primary" size="sm" @click="handleSuggestDismissed">
<gl-button
variant="info"
category="primary"
size="sm"
@click="handleSuggestDismissed"
>
{{ __('Got it') }}
</gl-deprecated-button>
</gl-button>
</gl-popover>
</template>
<toolbar-button tag="`" tag-block="```" :button-title="__('Insert code')" icon="code" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment