We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cee44 commit 0814066Copy full SHA for 0814066
web_src/js/index.js
@@ -1259,7 +1259,13 @@ function initPullRequestReview() {
1259
td.find("input[name='side']").val(side === 'left' ? 'previous' : 'proposed');
1260
td.find("input[name='path']").val(path);
1261
}
1262
- commentCloud.find('textarea').focus();
+ const $textarea = commentCloud.find('textarea');
1263
+ attachTribute($textarea.get(), {mentions: true, emoji: true});
1264
+
1265
+ // Give new write/preview data-tab name to distinguish from others
1266
+ const $simplemde = setCommentSimpleMDE($textarea);
1267
+ $textarea.focus();
1268
+ $simplemde.codemirror.focus();
1269
});
1270
1271
0 commit comments