mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
This adds a preview of the uploaded emoji image while uploading custom emoji right below the upload form. Modified upload_widget.build_widget() to take in the preview span text and image. In case a parameter isn't passed for preview text, it defaults to null and the snippets in build_widgets() related to preview don't run. Fixes #9229. Styling tweaked by tabbott.
5.6 KiB
5.6 KiB