fix images base url, uploaded by tinymce

This commit is contained in:
slawkens 2023-05-28 23:54:36 +02:00
parent 0187ba4938
commit 2841f17729

View File

@ -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) {