1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 10:34:23 +02:00

Plugin Addons: e_tohtml.php deprecated in favor of new e_parse.php addon file. TinyMce now disables plugin hooks during parsing.

This commit is contained in:
Cameron
2016-08-01 12:58:03 -07:00
parent a33c752c86
commit 7de9daf9ff
4 changed files with 83 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ TEMPL;
//$content = str_replace('\r\n',"<br />",$content);
//$content = nl2br($content, true);
$content = $tp->toHtml($content, true);
$content = $tp->toHtml($content, true, 'WYSIWYG');
}
$content = str_replace("{e_BASE}",e_HTTP,$content); // We want {e_BASE} in the final data going to the DB, but not the editor.
@@ -161,7 +161,7 @@ TEMPL;
//echo $tp->toHtml(str_replace("\n","",$content), true);
$content = str_replace("{e_BASE}",e_HTTP, $content); // We want {e_BASE} in the final data going to the DB, but not the editor.
$content = $tp->toHtml($content, true);
$content = $tp->toHtml($content, true, 'WYSIWYG');
$content = str_replace(e_MEDIA_IMAGE,"{e_MEDIA_IMAGE}",$content);
$text = "";