Skip to content

[DEPR]: Legacy Text Editor #34692

Closed

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:

Activity

  1. added
    deprProposal for deprecation & removal per OEP-21
    on May 3, 2024
  2. felipemontoya commented on May 10, 2024

    @felipemontoya
    Member

    The removal of the ENABLE_NEW_TEXT_EDITOR_FLAG was done at the frontend in this PR openedx/frontend-app-authoring#951. This happened due to a bug before the redwood cut.

  3. kdmccormick commented on May 20, 2024

    @kdmccormick
    Member

    If you're watching the issue, then FYI there is some conversation about StudioEditableXBlockMixin going on in the related forum thread: https://discuss.openedx.org/t/deprecation-removal-text-editor-in-edx-platform-34692

  4. kdmccormick commented on May 30, 2024

    @kdmccormick
    Member

    Based on the forum discussion, it looks like there are no blockers to removing this. @KristinAoki are we ready to move this to Accepted?

  5. moved this from Proposed to Accepted in DEPR: Deprecation & Removalon May 30, 2024
  6. kdmccormick commented on Jul 24, 2024

    @kdmccormick
    Member

    @jristau1984 @robrap Technically the 6-month grace period for this would end Nov 17th. IIRC, the new text editor is already fulled rolled out on edX.org and Edge. Given that, do you have any opposition to waiving the rest of the grace period and making this available for removal?

    @pdpinch , same question for you-- Would you have any opposition to the legacy Text component (ie, HTMLBlock) editor being removed on the master branch of edx-platform at this point?

    Two notes:

    • This deprecation is just for the old HTMLBlock editor. The base tinyMCE editor, which is used in a couple other parts of edx-platform, would remain supported.
    • This deprecation would unblock the removal of the old studio-frontend repository, which is 90% unused and may be a burden in the Node 20 upgrade if we can't remove it before Sumac.
  7. jristau1984 commented on Jul 24, 2024

    @jristau1984
    Contributor

    @kdmccormick I believe the legacy edtior is still avilable through the container page (directly navigable, and available thru the library block experience?), so removing it would have side effects.

  8. kdmccormick commented on Jul 24, 2024

    @kdmccormick
    Member

    @jristau1984 Both in a Tutor environment and in edX Stage, I made a library with a text component, and then referenced that library in a course. When I entered the library_container view and edited the text component, it fired up the new editor for me: https://studio.stage.edx.org/container/block-v1:edx+tmccormack-test+1+type@library_content+block@997ed8d15d0144c9895ce87f6140ec9b#block-v1:edx+tmccormack-test+1+type@html+block@e53730f804cc4bd2205f

  9. robrap commented on Jul 24, 2024

    @robrap
    Contributor

    @jristau1984: Could we use observability to confirm if we have any usage of the deprecated code?

  10. jristau1984 commented on Jul 24, 2024

    @jristau1984
    Contributor

    @robrap I think we could, I just dont know if people go there. I know that the Partner Support has used the container page as a workaround sometimes, but I dont know the frequency (especially recently).

  11. kdmccormick commented on Jul 24, 2024

    @kdmccormick
    Member

    @jristau1984 We certainly need to keep the container page working, but my testing so far is showing that the container page has already been upgraded to use the new editor.

    @robrap Observability-wise, you could check for any usages of the legacy text editor by looking for invocations of the HTMLBlock's studio_view, which is a GET to URLs of the form: https://<CMS_BASE>/xblock/block-v1:<ORG>+<COURSE>+<RUN>+type@html@<BLOCK_ID>/studio_view. Is that feasible with your tools? If not, we could instead check for invocations of the studio_view definition; is an edx_monitoring_utils custom attribute the way to go there?

  12. 11 remaining items

  13. jmakowski1123 commented on Sep 16, 2024

    @jmakowski1123
  14. pdpinch commented on Sep 16, 2024

    @pdpinch
    Contributor
  15. moved this from Accepted to Proposed in DEPR: Deprecation & Removalon Feb 14, 2025
  16. moved this from Proposed to Communicated in DEPR: Deprecation & Removalon Feb 19, 2025
  17. kdmccormick commented on Feb 19, 2025

    @kdmccormick
    Member
  18. moved this from Communicated to Accepted in DEPR: Deprecation & Removalon Mar 17, 2025
  19. robrap commented on May 29, 2025

    @robrap
    Contributor

    [inform/request] This ticket was accepted under the old DEPR process. The updated Process States in OEP-21 help add clarity to communications and timing regarding the introduction of breaking changes. This ticket must move to Transition Unblocked before moving to Breaking Changes Unblocked. The default minimum time to wait in Transition Unblocked is 1 month, so early deployers have time to prepare. If you wish to make breaking changes in less than 1 month, please initiate discussions to negotiate a date as soon as possible. Thank you!

  20. kdmccormick commented on Jun 3, 2025

    @kdmccormick
    Member

    ^ This has been addressed. The ticket is in Transition Unblocked.

  21. moved this from Plan Accepted to Transition Unblocked in DEPR: Deprecation & Removalon Jun 3, 2025
  22. moved this from Transition Unblocked to Breaking Changes Unblocked in DEPR: Deprecation & Removalon Sep 16, 2025
  23. self-assigned this
    on Oct 6, 2025
  24. moved this from Breaking Changes Unblocked to Plan Completed in DEPR: Deprecation & Removalon Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

deprProposal for deprecation & removal per OEP-21

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions