Bianca Nenciu
88a4d5a2c1
FIX: Properly convert quotes to Markdown ( #8808 )
...
* FIX: Properly convert quotes to Markdown
When quoting a quote it used to convert the quote header, including the
user avatar and username, into a image and some text and then the
contents. This also caused issues when quoting full paragraphs (or when
selecting paragraphs by triple-clicking) because the user avatar and
name from the following quote would also be included.
This commit implements the support necessary to convert
<aside class="quote"> elements to proper Discourse quotes.
2020-02-07 16:25:23 +01:00
Bianca Nenciu
7b7e1717f2
FIX: Quoting a quote preserves the original post information ( #8746 )
...
Let's say post #2 quotes post number #1 . If a user decides to quote the
quote in post #2 , it should keep the information of post #1
("user_1, post: 1, topic: X"), instead of replacing with current post
info ("user_2, post: 2, topic: X").
2020-01-22 16:10:23 +02:00
Robin Ward
da04c602ba
REFACTOR: Remove debounce to discourseDebounce
...
Otherwise it can be confused with the ember debounce
2019-11-11 13:34:01 -05:00
Robin Ward
8d34f4bbd9
Revert "Revert Ember.run refactors"
...
This reverts commit fcb1ca52f9 .
2019-10-30 09:48:24 -04:00
Robin Ward
fcb1ca52f9
Revert Ember.run refactors
...
This reverts commit 5ca60fcb6b .
2019-10-29 17:10:47 -04:00
Robin Ward
5ca60fcb6b
REFACTOR: Use imports for Ember.run
2019-10-29 15:31:56 -04:00
Robin Ward
a8a76198b1
REFACTOR: Remove Ember.Component global variable
...
Use imports instead.
2019-10-23 12:30:52 -04:00
Penar Musaraj
4fa1ef0945
UX: Improve quoting on iOS
...
Fixes quote usability on iOS when the button is near the right edge of the screen.
2019-10-23 10:44:47 -04:00
Joffrey JAFFEUX
b3eb67976d
DEV: Upgrades to Ember 3.10 ( #7871 )
...
Co-Authored-By: majakomel <maja.komel@gmail.com>
2019-07-16 12:45:15 +02:00
Joffrey JAFFEUX
bfea922167
DEV: global s/this.get\("(\w+)"\)/this.$1 ( #7592 )
2019-05-27 10:15:39 +02:00
Joffrey JAFFEUX
d47bf8b6c4
SECURITY: updates lodash from 1.3.0 to 4.17.5 ( #7546 )
2019-05-16 10:34:19 +02:00
David Taylor
27ed60bad0
FIX: Quote selection in IE11
2018-12-31 13:54:05 +00:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Régis Hanol
f93ba5694e
UX: show quote button at end of selection on Opera
2018-06-13 11:07:19 +02:00
Régis Hanol
e209faa6cf
UX: ensure whitespace isn't removed when playing with quotes
2018-05-18 19:32:10 +02:00
Sam
ff1ce175fc
FIX: sometimes quote button did nothing on Firefox
2017-11-20 11:14:44 +11:00
Robin Ward
4da4f986ee
FIX: Clicking on quote button was tricky
2017-10-06 21:29:16 -04:00
Guo Xiang Tan
dfc9a27dc4
FIX: Quote button broken on windows.
2017-05-15 08:26:48 +08:00
Guo Xiang Tan
ce9fe213fd
FIX: Can't quote last paragraph.
2017-05-11 16:49:46 +08:00
Guo Xiang Tan
7f1c474e5b
FIX: Selections getting deselected on FireFox.
2017-04-04 13:06:07 +08:00
Guo Xiang Tan
761d524024
Merge pull request #4602 from tgxworld/fix_likes_being_quoted
...
FIX: Only quote `.cooked` text.
2017-01-03 14:02:21 +08:00
Robin Ward
da76dd3d6b
REFACTOR: Cleaner quoteButton object, and some bug fixes
2016-12-30 12:14:56 -05:00
Guo Xiang Tan
2165d0241e
FIX: Only quote .cooked text.
2016-12-29 11:33:36 +08:00
Régis Hanol
9f3eaf4c95
FIX: prevent selectionchanged trigger loop on Safari
2016-12-05 11:33:26 +01:00
Régis Hanol
965b38ff2a
FIX: safari would lose selection sometimes
2016-12-05 11:08:30 +01:00
Régis Hanol
e3b47a3998
FIX: hide quote button when the selection is expanded to more than 1 post
2016-11-25 17:55:39 +01:00
Robin Ward
676d585abb
FIX: ESLint
2016-11-24 13:17:07 -05:00
Régis Hanol
af387edeb0
FIX: quote button issues
...
- disappear when moving to another topic
- disappears when clicking outside of the selection
- works even when selecting the last paragraph of a post
- works on all latest mobile OS
2016-11-24 18:23:33 +01:00
Guo Xiang Tan
55013be19f
FIX: Make sure we clean quoteState when destroying quoteButton.
2016-11-23 14:45:47 +08:00
Guo Xiang Tan
02150d77a2
FIX: Reset isMouseDown as long as mouse is up.
2016-11-18 15:31:14 +08:00
Guo Xiang Tan
8cc64cd05b
FIX: Incorrect variable.
2016-11-18 12:49:42 +08:00
Robin Ward
cc93cd76ef
Replace quote button with a component
2016-11-11 16:00:28 -05:00