-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Replace Quill editor with TinyMCE #472
Replace Quill editor with TinyMCE #472
Conversation
Looks good! Pushed a few changes and bug fixes. For language packs, for every i18n language pack listmonk supports, we'll have to manually download the corresponding TinyMCE language pack and commit it to the repo and use a |
- Moved the init event to init_instance_callback() from @init event which doesn't fire. - Add watcher for form.body to fire onEditorChange event. This fixes TinyMCE editor changes not getting saved.
- Load bundled TinyMCE i18n language file based on a listmonk -> TinyMCE map. - Refactor editor initialisation to accommodate this change. - Introduce `constants.js -> uris.static` to make the static URI available to TinyMCE for loading language files.
e2bbfea
to
68512d2
Compare
@henk23 thanks for this PR and also for kick starting this in the first place. This is a valuable change for listmonk. 🎉 |
Happy to help. :) I don't often contribute to FOSS, but when I do, it's completely selfish. :D |
This PR is meant to serve as a proof of concept and not ready for production
Description
This PR is a proof of concept of replacing Quill editor with TinyMCE. Context: Issue #467
Caveats