sindresorhus/refined-github

Enable `one-key-formatting` on new issue/PR title #4231

rly posted onGitHub

When creating a new issue, the one-key-formatting feature (i.e., select text, press `, ", etc. to wrap text with symbol) does not work on the body text or title text. You can try it when creating a new issue in this repo.

It also does not work in the title text for a new PR. Interestingly, it works fine in the PR body and elsewhere (e.g., comments)

https://user-images.githubusercontent.com/310197/114456843-344e2880-9b92-11eb-8d7d-35bfd5a199cf.mp4

<!-- Thanks for reporting a bug! ⛰ Make sure the bug is caused by Refined GitHub. Try disabling the extension first. Show us the bug and help us replicate it, include: 1. A REAL URL where the bug appears. If it happens on a private repo, find an equivalent public URL. 2. A screenshot/video/gif of the issue, if it’s visual. 3. Any related errors in the browser’s console, if any. -->


Ah I see that #4115 solves the title issue.

posted by rly almost 4 years ago

https://github.com/sindresorhus/refined-github/blob/cda8197bc35a3b04e4cc2509536cf05c87555b3f/source/features/one-key-formatting.tsx#L40-L42

I think it should just need isNewIssue to be added here

Better yet it should be changed to hasRichTextEditor

posted by yakov116 almost 4 years ago

Ah I see that #4115 solves the title issue.

No that was already released https://github.com/sindresorhus/refined-github/releases/tag/21.3.26

We want to enable the feature on another page

posted by yakov116 almost 4 years ago

Fund this Issue

$0.00
Funded

Pull requests