From 51daa12f619a0505ad1af755d61f95775bac80db Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 29 Oct 2024 22:45:23 +0000 Subject: [PATCH] Bug 37965: (QA follow-up) fix WYSIWYG in sysprefs Test plan: 1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl? op=search&searchfield=UseWYSIWYGinSystemPreferences 2. Enable the system preference to show WYSIWYG in HTML system preferences 3. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl? op=search&searchfield=OPACSearchForTitleIn 4. Add a link for "http://localhost:8081/cool.pl" 5. Note in the source code that the URL gets mangled 6. Apply the patch 7. Repeat the above test plan 8. Note that the URL has NOT been mangled and remains http://localhost:8081/cool.pl Signed-off-by: Katrin Fischer (cherry picked from commit 6a22ae84fb90125976eb0a574c3dde1516e8bdb2) Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc index 97e9bdefe7..4f6d7497b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc @@ -22,6 +22,7 @@ branding : false, relative_urls : false, content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css", + convert_urls : false, editor_selector : "mce", menubar : "file edit view insert format tools table", mode : "specific_textareas",