The version of TinyMCE we use in the staff client is a little over a year old now. As long as we are talking about issues with it (like Bug 26942) I think it's worthwhile to get it up to date.
This patch is too large to attach. Remote branch is here: https://gitlab.com/koha-dev/koha-dev/-/tree/bug-26949-tinymce-upgrade
Hi Owen. I have tested (I managed to figure out how to checkout a remote branch from a different repository!). Everything seems to work as it did before. However, a couple of things I noticed: - Nothing happens when I click on the Visual aids and Help icons: this behavour is also on master as well). - On the About Koha > Licenses page the licence for TinyMCE still shows as v5.0.016. - Select the Display location for news: this is probably not related to this bug, but there is some odd behavour happening: . When you add a new news item, All is an option . When you go to edit the news item the option list displays as empty and there is no All option in the drop down list (still shows in the list of all news item as All) . If you change it to something else, save, then go to edit again, All reappears as an option So for the bug itself, I'm signing off. I don't know how to sign off a change for a remote branch in another repository, but I'm happy to sign off. David
Remove branch is updated to remove the "Visual aid" and "Help" buttons which don't work. The about page is updated to reflect the correct version and copyright information. https://gitlab.com/koha-dev/koha-dev/-/tree/bug-26949-tinymce-upgrade ---------------------- Bug 26949: Upgrade TinyMCE in the staff interface from 5.0.16 to 5.5.1 This patch upgrades TinyMCE in the staff interface from 5.0.16 to 5.5.1. Other than the required TinyMCE package files, the only other change is to the internationalization include file, which is updated to include the latest set of strings for translation. To test, apply the patch and clear your browser cache if necessary. Test that the TinyMCE editor works in the staff interface: - In system preferences, with the UseWYSIWYGinSystemPreferences preference enabled: IntranetCirculationHomeHTML, IntranetmainUserblock, IntranetReportsHomeHTML, etc. - News, with the NewsToolEditor preference set to "WYSIWYG." - Administration -> Libraries, in the "OPAC info" field.
Hi Owen. I've retested and everything seems okay. The only thing I noticed was that on the Administration > Libraries input form the Visual Aids and Help buttons are back, everywhere else I could fine those buttons are not there. I assume to sign off, I just change the status to signed off? David
I've updated the remote branch again, this time with the upgrade taking us to TinyMCE version 5.9.2. > https://gitlab.com/koha-dev/koha-dev/-/tree/bug-26949-tinymce-upgrade ---------------------- Other than the required TinyMCE package files, the only other change is to the internationalization include file, which is updated to include the latest set of strings for translation. To test, apply the patch and clear your browser cache if necessary. Test that the TinyMCE editor works in the staff interface: - In system preferences, with the UseWYSIWYGinSystemPreferences preference enabled: IntranetCirculationHomeHTML, IntranetmainUserblock, IntranetReportsHomeHTML, etc. - Additional contents, with the AdditionalContentsEditor preference set to "WYSIWYG." - Administration -> Libraries, in the "OPAC info" field.
Hi Owen. I've retested and happy to sign-off. The only minor thing noted was the version number for TinyMCE needs updating in the about page. David
Awesome - thanks for fixing Owen. Happy to ad my sign off. David
The remote branch has been updated to add David's signoff. Thanks David!
No problems spotted, can you please add my sign-offs as well? :)
(In reply to Katrin Fischer from comment #9) > No problems spotted, can you please add my sign-offs as well? :) Remote branch updated to add Katrin's signoff. Thanks Katrin!
Pushed to master for 21.11, thanks to everybody involved!