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 giphy gif.

N-Shar-ma61fa24fd5e05
diff --git a/web/src/giphy.js b/web/src/giphy.js
index 71865a99b42..be7a9f4d1cc 100644
--- a/web/src/giphy.js
+++ b/web/src/giphy.js
@@ -112,6 +112,8 @@ async function renderGIPHYGrid(targetEl) {
compose_ui.insert_syntax_and_focus(
`[](${props.images.downsized_medium.url})`,
$textarea,
+ "block",
+ 1,
);
hide_giphy_popover();
},