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
Jérome Perrin
gitlab-ce
Commits
b31c64e7
Commit
b31c64e7
authored
Feb 27, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't copy tooltip when copying GFM
parent
d844721c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
app/assets/javascripts/copy_as_gfm.js.es6
app/assets/javascripts/copy_as_gfm.js.es6
+3
-0
changelogs/unreleased/dm-dont-copy-toolip.yml
changelogs/unreleased/dm-dont-copy-toolip.yml
+4
-0
No files found.
app/assets/javascripts/copy_as_gfm.js.es6
View file @
b31c64e7
...
@@ -25,6 +25,9 @@ require('./lib/utils/common_utils');
...
@@ -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;
},
},
...
...
changelogs/unreleased/dm-dont-copy-toolip.yml
0 → 100644
View file @
b31c64e7
---
title
:
Don't copy tooltip when copying GFM
merge_request
:
author
:
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