|
|
@@ -181,4 +181,9 @@ TINYMCE_DEFAULT_CONFIG = {
|
|
|
# --- This is the crucial part for connecting TinyMCE to the FileBrowser ---
|
|
|
'file_picker_callback': 'filebrowser_callback',
|
|
|
'file_picker_types': 'image', # We are only enabling it for images
|
|
|
+
|
|
|
+
|
|
|
+ "relative_urls": False, # Important for correct media URL handling in PDFs
|
|
|
+ "remove_script_host": True, # Important for correct media URL handling in PDFs
|
|
|
+
|
|
|
}
|