mirror of https://github.com/zulip/zulip.git
3294e8dbe0
Right now, on clicking `quote and reply` on any message, the quoted message is always inserted at the top of compose-box irrespective of the current cursor position. Also, after insertion of the quoted message, the cursor is shifted at the end of the compose box. This commit changes this behaviour to insertion of quoted message at the current cursor position with a newline at the end of quote and moving the cursor position to that newline after insertion. A newline is added at the beginning of quoted message only if there was some content already present in compose box before the previous cursor position. Tested on Google Chrome and Firefox browsers on Ubuntu dev environment. Fixes: #16836 |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |