-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Upgrade to latest TinyMCE #4699
Comments
anyone working on this? I can volunteer. |
@gautamsi Any open & unassigned issues with the There is a related suggestion to consider: move the bundled dependency to its own npm package: #2456. Do you want to look into feasibility of that approach? Thanks, |
in my initial testing, I think it would be best if we remove the tinymce files from keystone repo and use it from npm package using require.resolve. We can also move the keystone skin to its own package and then properly make express route for keystone skin. |
I am able to make this work with latest tinymce, moved keystone skin and uploadimage plugin to separate repo named router.use('/js/lib/tinymce', express.static(path.dirname(require.resolve('tinymce'))));
var keystone_tinymce = path.dirname(require.resolve('keystone-tinymce'));
router.use('/js/lib/tinymce/skins/keystone', express.static(`${keystone_tinymce}/skin`));
router.use('/js/lib/tinymce/plugins/uploadimage',
express.static(`${keystone_tinymce}/plugins/uploadimage`)); @stennie |
a few of the icons that belong to the new TinyMCE are not working in the Keystone backend. e.g. redo undo buttons. Any hotfix for this at the moment? UPDATE: |
Closed by #4897 |
Keystone currently vendors TinyMCE 4.4.3 (2016-09-01) with some customisations. There have been a number of fixes and improvements since then: https://www.tinymce.com/docs/changelog/.
Check that uploadimage plugin (#4232, #4531, #4616) is also included.
The text was updated successfully, but these errors were encountered: