#Get TinyMCE to use full image url instead of relative one::
Make sure in the javascript initialization you are using, that you have these lines in it:
relative_urls : false,
remove_script_host : false,
convert_urls : true,
LIKE::
<script>
tinymce.init({
selector: '.rte',
height: 500,
theme: 'modern',
plugins: [
'lists link image media',
'searchreplace visualblocks code fullscreen',
'insertdatetime table contextmenu paste',
'textcolor'
],
toolbar1: 'undo redo | styleselect | bold italic underline | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media',
image_advtab: true,
templates: [
{ title: 'Test template 1', content: 'Test 1' },
{ title: 'Test template 2', content: 'Test 2' }
],
content_css: [
],
relative_urls : false,
remove_script_host : false,
convert_urls : true,
});
</script>
No comments:
Post a Comment