Enable @<user>
- completion popup on the release description textarea (#22359)
For some unknown reason, this was previously disabled. Additionally removed an unused return value.
This commit is contained in:
parent
6ba9ff7b48
commit
b6b8feb3de
2 changed files with 17 additions and 2 deletions
|
@ -17,12 +17,12 @@ export function initRepoRelease() {
|
|||
export function initRepoReleaseEditor() {
|
||||
const $editor = $('.repository.new.release .content-editor');
|
||||
if ($editor.length === 0) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
(async () => {
|
||||
const $textarea = $editor.find('textarea');
|
||||
await attachTribute($textarea.get(), {mentions: false, emoji: true});
|
||||
await attachTribute($textarea.get(), {mentions: true, emoji: true});
|
||||
const easyMDE = await createCommentEasyMDE($textarea);
|
||||
initCompMarkupContentPreviewTab($editor);
|
||||
const $dropzone = $editor.parent().find('.dropzone');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue