Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Part of #1989974: [meta] Clean up/improve consistency of Edit:
- Rename the 'direct' editor to 'plaintext' editor.
- Consistently name in-place editors, both in terms of library names as in terms of filenames.
Rationale:
- The 'direct' editor's name is still a remnant of using Create.js. It's a nonsensical name. It's for editing plain text only, hence the name should say that.
- The library names are also still remnants of using Create.js, that's why they contain "editorWidget" in their name, which makes zero sense today.
- This is not an API change.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2133907-1.patch | 16.11 KB | Wim Leers |
Comments
Comment #1
Wim LeersAfter manual testing, everything continues to work fine.
Comment #2
jessebeach CreditAttribution: jessebeach commentedThis is much easier to understand. The direct* and form* Editor labels always confused me.
Much more clear.
Lots of code doc consistency cleanups and a few label renamings. I manually tested on Simplytest.me and this patch does not introduce any behavior changes or regressions. Overall, the changes make the code easier to read and understand.
Comment #3
webchickAgreed; these new labels definitely feel a lot more sensible to me.
Committed and pushed to 8.x. Thanks!
Comment #4
jessebeach CreditAttribution: jessebeach commented