Allow default editor setting to be optional
What does this MR do and why?
Allow default editor setting to be optional
Add a checkbox to enable or disable default editor setting.
Changelog: added
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- Text Editors Default Setting (#423104 - closed)
- Remediating default text editor workflow challe... (#501422 - closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After (When default editor is enabled) | After (When default editor is disabled) |
|---|---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
Testing disabled state
- Go to Profile > Preferences
- Uncheck "Enable default text editor"
- Radio buttons should be disabled
- Click "Save preferences"
- Go to any issue page comment box
- Switch to plain text editor
- Refresh
- Plain text editor selection is retained
- Switch to rich text editor
- Refresh
- Rich text editor selection is retained
Testing rich text editor as default
- Go to Profile > Preferences
- Check "Enable default text editor"
- Radio buttons should be enabled
- Select "Rich text editor"
- Click "Save preferences"
- Go to any issue page comment box
- Rich text editor should be enabled
- Switch to plain text editor
- Refresh
- Rich text editor selection is retained
Testing plain text editor as default
- Go to Profile > Preferences
- Check "Enable default text editor"
- Radio buttons should be enabled
- Select "Plain text editor"
- Click "Save preferences"
- Go to any issue page comment box
- Plain text editor should be enabled
- Switch to rich text editor
- Refresh
- Plain text editor selection is retained
Related to #501422 (closed)
Edited by Himanshu Kapoor


