edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

[DEPR]: Legacy Text Editor

Open KristinAoki opened this issue 9 months ago • 20 comments

Proposal Date

2024-05-03

Target Ticket Acceptance Date

2024-05-17

Earliest Open edX Named Release Without This Functionality

~Sumac - 2024-10~

Teak - 2025-04

See discussion below -- we have delayed the removal to allow time for improvements to the replacement editor.

Rationale

The EditImageModal component that is used it the legacy Text Editor is also set for deprecation and removal. To prevent errors and regression while using the legacy Text Editor, it is best to remove it completely from the platform. The legacy Text Editor already has replacement that can be toggled with new_core_editors.use_new_text_editor and will be come the default once this deprecation occurs.

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 code is being replaced by the frontend-lib-content-components/TextEditor. This text editor is a React based component and is rendered in the Course Authoring MFE.

Deprecation

No response

Migration

No response

Additional Info

No response

Task List

No response

KristinAoki avatar May 03 '24 17:05 KristinAoki