1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Fixed TinyMce was removing absolute links which are necessary under circumstances such as composing mail-outs.

This commit is contained in:
Cameron
2016-05-12 19:10:56 -07:00
parent c88f5b2757
commit b887ec55f0
3 changed files with 5 additions and 3 deletions

View File

@@ -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.

View File

@@ -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",

View File

@@ -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>[