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> <script>
import $ from 'jquery'; import $ from 'jquery';
import { GlPopover, GlDeprecatedButton, GlTooltipDirective } from '@gitlab/ui'; import { GlPopover, GlButton, GlTooltipDirective } from '@gitlab/ui';
import ToolbarButton from './toolbar_button.vue'; import ToolbarButton from './toolbar_button.vue';
import Icon from '../icon.vue'; import Icon from '../icon.vue';
...@@ -9,7 +9,7 @@ export default { ...@@ -9,7 +9,7 @@ export default {
ToolbarButton, ToolbarButton,
Icon, Icon,
GlPopover, GlPopover,
GlDeprecatedButton, GlButton,
}, },
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
...@@ -141,9 +141,14 @@ export default { ...@@ -141,9 +141,14 @@ export default {
) )
}} }}
</p> </p>
<gl-deprecated-button variant="primary" size="sm" @click="handleSuggestDismissed"> <gl-button
variant="info"
category="primary"
size="sm"
@click="handleSuggestDismissed"
>
{{ __('Got it') }} {{ __('Got it') }}
</gl-deprecated-button> </gl-button>
</gl-popover> </gl-popover>
</template> </template>
<toolbar-button tag="`" tag-block="```" :button-title="__('Insert code')" icon="code" /> <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