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: Have at least 1 new line before and after a video call link.

N-Shar-ma2961da5ea02d
diff --git a/web/src/compose.js b/web/src/compose.js
index afc31f3ac15..062f8e6e79f 100644
--- a/web/src/compose.js
+++ b/web/src/compose.js
@@ -374,7 +374,7 @@ export function update_email(user_id, new_email) {
function insert_video_call_url(url, target_textarea) {
const link_text = $t({defaultMessage: "Click to join video call"});
- compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, target_textarea);
+ compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, target_textarea, "block", 1);
}
export function render_and_show_preview($preview_spinner, $preview_content_box, content) {