Skip to content

[DEPR]: Legacy Text Editor #34692

@KristinAoki

Description

@KristinAoki

Please first read the parent DEPR ticket, [DEPR]: All Legacy Studio Frontends.

RFC Start Date

2025-02-19

Target Plan Acceptance Date

2025-03-14

Target Transition Unblocked Date

2025-03-14

Target Breaking Changes Unblocked Date

2025-09-14

Earliest Open edX Named Release Without This Functionality

Deprecated but available (via opt-out) in Teak. Opting out will also require opting out of the new Unit editor and using the deprecated legacy Unit editor, which will lack some Content Libraries features.

Full removal lands in Ulmo.

Rationale

The legacy Text Editor has been replaced by a React-based Text editor for multiple releases. The toggle new_core_editors.use_new_text_editor has been toggled on in Tutor since at least Redwood.

Furthermore, the EditImageModal component that is used it the legacy Text Editor is also set for deprecation and removal (openedx-unsupported/studio-frontend#381). To prevent errors and regression while using the legacy Text Editor, it is best to remove it completely from the platform.

Removal

  1. Remove toggle for switching between editors
  2. Remove dependency on toggle for text editor redirect and make it always true
  3. Remove dependencies on toggles when fetching the course authoring mfe url

Replacement

This legacy editor is replaced by the frontend-lib-content-components/TextEditor. This text editor is a React based component and is rendered in the Course Authoring MFE.

Additional Info

Pending the restoration of the "floating" editors:

Metadata

Metadata

Labels

deprProposal for deprecation & removal per OEP-21

Type

No type

Projects

Status

Plan Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions