forked from forgejo/forgejo
Mention completion for issue editor. (#3136)
* new issue mention * Mention completion on new issue and view issue page. * Code format. * Require tribute in pull request page.
This commit is contained in:
parent
f2e20c81b6
commit
03ec35ed79
7 changed files with 76 additions and 0 deletions
|
@ -570,6 +570,7 @@ function initRepository() {
|
|||
if ($editContentZone.html().length == 0) {
|
||||
$editContentZone.html($('#edit-content-form').html());
|
||||
$textarea = $segment.find('textarea');
|
||||
issuesTribute.attach($textarea.get());
|
||||
|
||||
// Give new write/preview data-tab name to distinguish from others
|
||||
var $editContentForm = $editContentZone.find('.ui.comment.form');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue