Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Paste content into the compose box without adding any space.

N-Shar-madac56b4d08a9
diff --git a/web/src/copy_and_paste.js b/web/src/copy_and_paste.js
index 038a078b10c..08e0a9c22e4 100644
--- a/web/src/copy_and_paste.js
+++ b/web/src/copy_and_paste.js
@@ -547,7 +547,7 @@ export function paste_handler(event) {
event.preventDefault();
event.stopPropagation();
const text = paste_handler_converter(paste_html);
- compose_ui.insert_syntax_and_focus(text, $textarea);
+ compose_ui.insert_and_scroll_into_view(text, $textarea);
}
}
}