Hi,
I am trying to configure TinyMCE to use absolute paths, but even though I've tried every trick in the documentation i cant seem to get it working.
This is how i have my configuration:
tinyMCE.init({
"theme": "advanced",
"strict_loading_mode": 1,
"mode": "exact",
"language": "no",
"spellchecker_languages": "+Norsk=no",
"theme_advanced_toolbar_location": "top",
"theme_advanced_toolbar_align": "left",
"elements": "id_html",
"theme_advanced_blockformats": "p,h1,h2,h3,h4",
"file_browser_callback": "djangoFileBrowser",
"width": 640,
"height": 400,
"theme_advanced_buttons1": "bold, italic, underline, strikethrough, bullist, numlist, cut, copy, paste, pasteword", "directionality": "ltr",
"theme_advanced_buttons2": "undo, redo, link, unlink, image, cleanup, code, removeformat, formatselect",
"theme_advanced_buttons3": "",
"plugins": "paste",
"paste_remove_spans": "true",
"paste_remove_styles": "true",
"paste_auto_cleanup_on_paste": "true",
"relative_urls": "false",
"remove_script_host": "false",
"document_base_url": "http://*****.no/"
})
But it doesn't work. It's better than before i put in the three last lines, but it still does this:
"http://*.no/foo/" gets converted into "foo/"
and
"/foo/" gets converted into "foo/
It seems like it does everything right, except prepend the document_base_url, anybody have a clue about why this is happening?
Tinymce version is 3.2.7