Bugzilla – Attachment 106856 Details for
Bug 25862
TinyMCE editor mangles local url links (relative_urls is true) in tools/koha-new.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25862: TinyMCE editor mangles local url links in tools/koha-new.pl
Bug-25862-TinyMCE-editor-mangles-local-url-links-i.patch (text/plain), 2.92 KB, created by
Lucas Gass (lukeg)
on 2020-07-13 22:34:52 UTC
(
hide
)
Description:
Bug 25862: TinyMCE editor mangles local url links in tools/koha-new.pl
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-07-13 22:34:52 UTC
Size:
2.92 KB
patch
obsolete
>From 38f630bc88dad56e7cd1a1832c597e170ae64994 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Wed, 24 Jun 2020 16:03:16 +0200 >Subject: [PATCH] Bug 25862: TinyMCE editor mangles local url links in > tools/koha-new.pl > >To test: >1 create a report 1 if it doesn't exist >2 open /cgi-bin/koha/tools/koha-news.pl >3 create a news >4 add a HTML link with Insert/Edit link tinyMCE dialog box to > /cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Run%20this%20report "report 1" >5 save >6 on the main page "report 1" link returns a 404 error > >Apply patch >7 Modify news' URL >8 Test it works in: tools/koha-new.pl admin/branches.pl and admin/preferences.pl > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 1 + > 3 files changed, 3 insertions(+) > >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 bcfd0f1648..f1e8be331a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >@@ -14,6 +14,7 @@ > > tinyMCE.init({ > branding : false, >+ relative_urls : false, > content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css", > editor_selector : "mce", > menubar : "file edit view insert format tools table", >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index bda80a8407..bf140b2960 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -387,6 +387,7 @@ > > tinyMCE.init({ > branding : false, >+ relative_urls : false, > content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css", > menubar : "file edit view insert format tools table", > mode : "specific_textareas", >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index 062f0e1642..8059f2c03b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >@@ -301,6 +301,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > force_p_newlines : false, > forced_root_block : '', > branding : false, >+ relative_urls : false, > content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css", > menubar : "file edit view insert format tools table", > mode : "specific_textareas", >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25862
:
106250
|
106251
|
106856
|
106893
|
107085