Bug 12032: disable automatic URL conversion by TinyMCE in news
To test: * create a news item with a link in it that is within the same domain example: my koha was at http://demo.mykoha.co.nz, I created a link in a news item to http://demo-intra.mykoha.co.nz * note that when the item is saved, the url changes to ../../../../ (or something like) * apply the patch * edit the link again, and save it * note that the link is saved correctly Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes all tests and QA script. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
15b4f9bbe9
commit
3fc5aeb745
|
|
@ -29,6 +29,8 @@ var MSG_CONFIRM_DELETE_NEWS = _("Are you sure you want to delete the selected n
|
|||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced",
|
||||
convert_urls : false,
|
||||
relative_urls : false,
|
||||
content_css : "[% themelang %]/css/tinymce.css",
|
||||
plugins : "table,save,advhr,advlink,searchreplace,print,contextmenu",
|
||||
theme_advanced_buttons1 : "save,|,bold,italic,|,cut,copy,paste,|,search,replace,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,link,unlink,anchor,cleanup,help,code,advhr,|,print",
|
||||
|
|
|
|||
Loading…
Reference in New Issue