1
0
Fork 0
forked from forgejo/forgejo

Emoji Autocomplete (#3433)

* Implemented emoji autocomplete.

* Changed emoji access url.

* Reverted vendor css to default, moved all style changes to _tribute.less

* Made no-results overwriteable, added missing autocomplete to edit issue field.

Signed-off-by: modmew8 <modmew8@gmail.com>
This commit is contained in:
modmew8 2018-02-03 09:09:35 +01:00 committed by Lauris BH
parent b62ce2e246
commit e08b3a592e
6 changed files with 64 additions and 17 deletions

View file

@ -571,6 +571,7 @@ function initRepository() {
$editContentZone.html($('#edit-content-form').html());
$textarea = $segment.find('textarea');
issuesTribute.attach($textarea.get());
emojiTribute.attach($textarea.get());
// Give new write/preview data-tab name to distinguish from others
var $editContentForm = $editContentZone.find('.ui.comment.form');