Summary: | Upgrade TinyMCE in the staff interface from 5.0.16 to 5.9.2 | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, dcook, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.11.00
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 31558 |
Description
Owen Leonard
2020-11-06 12:16:07 UTC
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! |