-
Notifications
You must be signed in to change notification settings - Fork 8.6k
FEATURE: Enable rich editor for all users #33699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+350
−135
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We believe the rich editor is a great experience for the vast majority of sites and users, so we are enabling it for all sites and all users by default. This commit does the following: * Hides the rich_editor site setting and sets it to true by default. It can still be overridden by sites that want to disable it completely. * Sets `rich_editor` to true for all sites to enable the rich editor everywhere. * Adds a new `default_composition_mode` site setting and corresponding user option that defaults to Modern (a.k.a. rich editor) for all users. The other option is Classic (a.k.a. markdown editor). * Changes the rich editor toggle in the composer to use the new database-backed user option (`composition_mode`) instead of a local storage key/value store. This makes the preference persistent across devices. Existing key/value store settings for the markdown toggle are disregarded, the preference will be saved to the user option the first time the user toggles it.
This allows us to merge this change without fixing 100s of tests
7eb996b
to
c2dad7c
Compare
Not sure why these specs are failing, flaky maybe? Fine locally |
renato
reviewed
Jul 22, 2025
renato
approved these changes
Jul 22, 2025
If the tests are fine locally, I'd guess some |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
chat
PRs which include a change to Chat plugin
i18n
PRs which update English locale files or i18n related code
migrations-tooling
PR which includes changes to migrations tooling
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We believe the rich editor is a great experience for the
vast majority of sites and users, so we are enabling it
for all sites and all users by default.
This commit does the following:
It can still be overridden by sites that want to disable it
completely.
rich_editor
to true for all sites to enable the rich editoreverywhere.
default_composition_mode
site setting and correspondinguser option that defaults to Rich for all users. The other option is Markdown.
database-backed user option (
composition_mode
) instead of a localstorage key/value store. This makes the preference persistent
across devices.
Existing key/value store settings for the markdown toggle are
kept, the preference will be saved to the user option automatically.