Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.6
-
Fix Version/s: 2.2.7
-
Component/s: Core CiviCRM
-
Labels:None
Description
I have just applied the patch for CRM-4619 but found that it didn't do what I hoped (stopping the TinyMCE editor from converting URLs referring to my domain to a relative URL).
I researched the TinyMCE forums, and found http://tinymce.moxiecode.com/punbb/viewtopic.php?id=7930 and http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/remove_script_host
The article indicated that in addition to setting relative_urls : false one also needs to set remove_script_host : false.
This is the patch I have used for tinymce.php ...
Code:
— /data/Download/CiviCRM/civicrm-2.2.0-joomla-alt/admin/civicrm/packages/HTML/QuickForm/tinymce.php 2009-06-19 12:53:52.000000000 +1000
+++ tinymce.php 2009-06-21 18:35:46.000000000 +1000
@@ -159,7 +159,8 @@
theme_advanced_resizing : true,
apply_source_formatting : true,
spellchecker_languages : "+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv",
- relative_urls : false
+ relative_urls : false,
+ remove_script_host : false
});
</script>' );