Commit graph

16 commits

Author SHA1 Message Date
Douwe Maan
78e7efaed0 Copy as GFM even when parts of other elements are selected 2017-05-24 14:39:43 -05:00
Filipa Lacerda
c013d23d63 Merge branch 'dm-copy-as-gfm-without-empty-elements' into 'master'
Don't copy empty elements that were not selected on purpose as GFM

See merge request !11520
2017-05-24 19:25:59 +00:00
Douwe Maan
6ec1f1a738 Remove unnecessary variable 2017-05-24 08:08:35 -05:00
Filipa Lacerda
b39b02d4a4 Merge branch 'dm-paste-code-inside-gfm-code' into 'master'
Don't wrap pasted code when it's already inside code tags

Closes #32507

See merge request !11524
2017-05-24 10:02:17 +00:00
Douwe Maan
6127192783 Add spec 2017-05-23 15:33:36 -05:00
Douwe Maan
7e0a4c5e57 Don't wrap pasted code when it's already inside code tags 2017-05-19 07:26:28 -05:00
Douwe Maan
4070d58af7 Don't copy empty elements that were not selected on purpose as GFM 2017-05-18 22:24:08 -05:00
Mike Greiling
5bd549187a update remaining uses of CJS syntax to ES module syntax 2017-05-16 15:52:40 -05:00
Douwe Maan
9a0a4f17a4 Remove selectionToGFM 2017-03-14 15:29:31 -06:00
Douwe Maan
6890327762 Copy code as GFM from diffs, blobs and GFM code blocks 2017-03-14 15:29:00 -06:00
Mike Greiling
8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
Filipa Lacerda
0ec62b6c5d Merge branch '26371-native-emojis-v3' into 'master'
Add emoji images - Base Native Unicode Emojis

Closes #26371

See merge request !9569
2017-03-07 02:34:48 +00:00
Eric Eastwood
96cbad2337 Fix up @DouweM review 2017-03-06 15:19:33 -06:00
Eric Eastwood
e6fc0207cb Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser
   doesn't support an emoji
 - Markdown rendering (Banzai filter)
 - Autocomplete
 - Award emoji menu
    - Perceived perf
    - Immediate response because we now build client-side
 - Update `digests.json` generation in gemojione rake task to be more
   useful and  include `unicodeVersion`

MR: !9437

See issues

 - #26371
 - #27250
 - #22474
2017-03-06 12:54:46 -06:00
James
00f5cb84d5 SanitizationFilter allows html5 details and summary (Issue #21605)
Also adds details/summary tags to Copy-as-GFM
2017-03-06 16:27:49 +00:00
winniehell
572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Renamed from app/assets/javascripts/copy_as_gfm.js.es6 (Browse further)