-
Notifications
You must be signed in to change notification settings - Fork 288
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
TinyMCE version 5 #1037
TinyMCE version 5 #1037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As for the assets, is there any reason for compiling them (minification, additional browsers support, etc.)? If no, then copying should be faster, reducing the deployment time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG2M
@texpert I don't have any of the concerns you listed. I just want the assets to get digested properly so they can be properly expired if assets are served through a caching CDN. |
Also, I'm finding that the tinyMCE assets are not available in the dev environment using the |
Added a commit to fix #1038. |
This PR completes the upgrade of TinyMCE to v5, replacing #1035. It has been rebased on the v3 branch. One last consideration is whether the TinyMCE assets should be copied or compiled. We've switched it a couple of times. This PR chooses the compile option, but only because I did that for some reason when I first tried version 5 in 2020. It can be changed if needed.
For the next upgrade to v6, the tricky part is that the jQuery wrapper was removed from the gem, so we most likely have to change a bunch of code. We had discussed removing jQuery entirely and re-writing the frontend, so I'd like to hear ideas about that before diving into the next step.