Switch to "Write" tab when edit comment again (#31445)

Fix #19031
This commit is contained in:
wxiaoguang 2024-06-22 17:25:04 +08:00 committed by GitHub
parent 1d76e9aabf
commit bda875b6e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 12 deletions

View file

@ -179,6 +179,7 @@ async function onEditContent(event) {
if (!comboMarkdownEditor.value()) {
comboMarkdownEditor.value(rawContent.textContent);
}
comboMarkdownEditor.switchTabToEditor();
comboMarkdownEditor.focus();
}