diff options
Diffstat (limited to 'source/features/one-key-formatting.tsx')
-rw-r--r-- | source/features/one-key-formatting.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/features/one-key-formatting.tsx b/source/features/one-key-formatting.tsx index 719c8bbd..fa492912 100644 --- a/source/features/one-key-formatting.tsx +++ b/source/features/one-key-formatting.tsx @@ -1,4 +1,5 @@ import delegate from 'delegate-it'; +import * as pageDetect from 'github-url-detection'; import * as textFieldEdit from 'text-field-edit'; import features from '.'; @@ -37,6 +38,9 @@ void features.add({ description: 'Wraps selected text when pressing one of Markdown symbols instead of replacing it: (`[` `’` `"` `(` etc).', screenshot: 'https://user-images.githubusercontent.com/1402241/65020298-1f2dfb00-d957-11e9-9a2a-1c0ceab8d9e0.gif' }, { + include: [ + pageDetect.hasCode + ], waitForDomReady: false, repeatOnAjax: false, init |