mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Fixed TinyMce was removing absolute links which are necessary under circumstances such as composing mail-outs.
This commit is contained in:
@@ -193,9 +193,9 @@ TEMPL;
|
||||
|
||||
$content = trim($content);
|
||||
|
||||
$srch = array('src="'.e_HTTP.'thumb.php?','src="/{e_MEDIA_IMAGE}');
|
||||
$repl = array('src="{e_BASE}thumb.php?','src="{e_BASE}thumb.php?src=e_MEDIA_IMAGE/');
|
||||
$content = str_replace($srch, $repl, $content);
|
||||
// $srch = array('src="'.e_HTTP.'thumb.php?','src="/{e_MEDIA_IMAGE}');
|
||||
// $repl = array('src="{e_BASE}thumb.php?','src="{e_BASE}thumb.php?src=e_MEDIA_IMAGE/');
|
||||
// $content = str_replace($srch, $repl, $content);
|
||||
|
||||
// resize the thumbnail to match wysiwyg width/height.
|
||||
|
||||
|
@@ -8,6 +8,7 @@
|
||||
<image_advtab>true</image_advtab>
|
||||
<extended_valid_elements>i[*], object[*],embed[*],bbcode[*]</extended_valid_elements>
|
||||
<media_live_embeds>false</media_live_embeds>
|
||||
<convert_urls>false</convert_urls>
|
||||
<templates>[
|
||||
{
|
||||
title: "Bootstrap table",
|
||||
|
@@ -11,6 +11,7 @@
|
||||
<media_poster>false</media_poster>
|
||||
<media_filter_html>false</media_filter_html>
|
||||
<media_live_embeds>false</media_live_embeds>
|
||||
<convert_urls>false</convert_urls>
|
||||
<plugin_preview_width>800</plugin_preview_width>
|
||||
<extended_valid_elements>i[*], object[*],embed[*],bbcode[*]</extended_valid_elements>
|
||||
<templates>[
|
||||
|
Reference in New Issue
Block a user