-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Refresh codemirror on show pull comment tab #11100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh codemirror on show pull comment tab #11100
Conversation
Fix go-gitea#10975 Signed-off-by: Andrew Thornton <[email protected]>
Does this also apply to new issues? |
I don't think that issues were ever affected, certainly http://localhost/gitea/administrator/merge-test/issues/new?body=rabbits+feet just works on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
didnt had time to check but nice 🎉 |
Ping lg-tm |
@silverwind it's already initialised with the correct value. The issue appears to be that the field is hidden and then shown. |
Fix go-gitea#10975 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]>
Fix #10975 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]>
Fix go-gitea#10975 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]>
When trying to create a new PR the comment field does not show the default data until the field is clicked. This PR calls
autoSimpleMDE.codemirror.refresh();
to cause the default data to be shown.Fix #10975
Signed-off-by: Andrew Thornton [email protected]