Don't copy tooltip when copying GFM
This commit is contained in:
parent
d844721c30
commit
b31c64e755
2 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,9 @@ require('./lib/utils/common_utils');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ReferenceFilter: {
|
ReferenceFilter: {
|
||||||
|
'.tooltip'(el, text) {
|
||||||
|
return '';
|
||||||
|
},
|
||||||
'a.gfm:not([data-link=true])'(el, text) {
|
'a.gfm:not([data-link=true])'(el, text) {
|
||||||
return el.dataset.original || text;
|
return el.dataset.original || text;
|
||||||
},
|
},
|
||||||
|
|
4
changelogs/unreleased/dm-dont-copy-toolip.yml
Normal file
4
changelogs/unreleased/dm-dont-copy-toolip.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Don't copy tooltip when copying GFM
|
||||||
|
merge_request:
|
||||||
|
author:
|
Loading…
Reference in a new issue