Skip to content
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

Switch to modern text editor #4632

Open
3 tasks
avernet opened this issue Aug 4, 2020 · 4 comments
Open
3 tasks

Switch to modern text editor #4632

avernet opened this issue Aug 4, 2020 · 4 comments

Comments

@avernet
Copy link
Collaborator

avernet commented Aug 4, 2020

This RFE calls for switching from TinyMCE to a modern editor that uses contenteditable only as input, and then builds its own model of the document based on what is being typed, and renders that model. Candidates include Quill, ProseMirror, and Trix.

Trix is the editor created and used by Basecamp. We have quite a bit of experience with it as users, and, IMHO, it works quite well. So I have a mere-exposure effect bias towards it.

One downside of switching to another editor is compatibility: we'll break compatibility with TinyMCE configurations customers might have, and other TinyMCE-specific expectations on how the editor does behave.

  • Decide on editor to use
    • We need the editor to work on the browsers we support for Form Runner
  • Determine where we would be incompatible, if there is anything we can do about it
    • consider editor-agnostic configuration
@ebruchez
Copy link
Collaborator

ebruchez commented Mar 28, 2024

TinyMCE is changing to GPL as of version 7. There is some discussion here. The licensing changes will apply to TinyMCE 7 , which is not yet released. TinyMCE 5 and 6 are unaffected, and we can use those versions forever. However, once TinyMCE 6 doesn't receive any further updates (at worst, June 2025), it looks like we will need to be ready to have an alternative.

@ebruchez
Copy link
Collaborator

In the short term, it seems that we need to upgrade to TinyMCE 6 to get the latest security upgrades.

@ebruchez
Copy link
Collaborator

ebruchez commented Mar 28, 2024

Note that there could be some compatibility issues with existing data. We need to make sure the following works:

  • bold
  • italics
  • indent/unindent
  • links
  • bullet points and numbered lists

read existing data correctly.

@ebruchez ebruchez added this to To do in Orbeon Forms 2024.1 Mar 29, 2024
@carlosmintfan
Copy link

TinyMCE is changing to GPL as of version 7. There is some discussion here. The licensing changes will apply to TinyMCE 7 , which is not yet released. TinyMCE 5 and 6 are unaffected, and we can use those versions forever. However, once TinyMCE 6 doesn't receive any further updates (at worst, June 2025), it looks like we will need to be ready to have an alternative.

Yeah, too bad they changed to GPL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants