diff --git a/system/templates/tinymce.html.twig b/system/templates/tinymce.html.twig index 880de4f0..adc1e3c9 100644 --- a/system/templates/tinymce.html.twig +++ b/system/templates/tinymce.html.twig @@ -13,10 +13,10 @@ image_advtab: true, images_upload_url: '{{ constant('BASE_URL') }}admin/tools/upload_image.php', images_upload_credentials: true, - // not really sure - do we need those 3 options below? - //relative_urls: false, - //remove_script_host: false, - //document_base_url: "{{ constant('BASE_URL') }}" + + relative_urls: true, + document_base_url: "{{ constant('BASE_URL') }}", + setup: function (ed) { ed.on('NodeChange', function (e) { if (ed.getContent() !== lastContent) {