You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To solve this issue, I decided to check the refined-GitHub extension to see if I could learn anything from them and found the next code:
constfield=$0// Don't indent <summary> because indentation will not be automatic on multi-line contentconstnewContent=` <details> <summary>Details</summary> test </details> `.replaceAll(/(\n|\b)\t+/g,'$1').trim();field.focus();document.execCommand('insertText',false,newContent);field.setSelectionRange(field.value.lastIndexOf('</summary>',field.selectionStart)+'</summary>'.length+2,field.value.lastIndexOf('</details>',field.selectionStart)-2,);field.blur()
Describe the bug
This is related to #285 when you use the AI extension to generate description on comments it's not enabling the comment button
Steps to reproduce
Browsers
No response
Additional context (Is this in dev or production?)
No response
Code of Conduct
Contributing Docs
The text was updated successfully, but these errors were encountered: