summaryrefslogtreecommitdiff
path: root/source/features/clean-rich-text-editor.tsx
blob: 682051420f97f75ae2231c217a19bf4e75882362 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import './clean-rich-text-editor.css';
import * as pageDetect from 'github-url-detection';

import features from '../feature-manager.js';

void features.addCssFeature(import.meta.url, [pageDetect.hasRichTextEditor]);

/*

## Test URLs

On create issue page
One PR https://github.com/refined-github/refined-github/issues/new?template=1_bug_report.yml

On an issue page
https://github.com/refined-github/refined-github/issues/6408

On discussion page
https://github.com/StrataSource/Portal-2-Community-Edition/discussions/706

*/