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

TinyMCE version 5 #1037

Merged

Conversation

brian-kephart
Copy link
Collaborator

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.

Copy link
Collaborator

@texpert texpert left a 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.

Copy link
Owner

@owen2345 owen2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG2M

@brian-kephart
Copy link
Collaborator Author

@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.

@brian-kephart
Copy link
Collaborator Author

Also, I'm finding that the tinyMCE assets are not available in the dev environment using the :copy method unless assets are first precompiled.

@brian-kephart
Copy link
Collaborator Author

Added a commit to fix #1038.

@brian-kephart brian-kephart merged commit 800ee25 into owen2345:feature/version-3 Feb 7, 2023
@brian-kephart brian-kephart added this to the Version 3 milestone Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants