1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

TinyMce/MediaManager fixes.

This commit is contained in:
CaMer0n
2012-07-07 22:04:49 +00:00
parent d3c7570d4b
commit 9efef2bc8c
7 changed files with 51 additions and 44 deletions

View File

@@ -45,12 +45,9 @@ class bb_h extends e_bb_base
}
if($safe)
{
return '[h'.$h.'|'.eHelper::buildAttr($safe).']'.$code_text.'[/h'.$h.']';
return '[h='.$h.'|'.eHelper::buildAttr($safe).']'.$code_text.'[/h]';
}
return '[h'.$h.']'.$code_text.'[/h'.$h.']';
// IMPORTANT: Using '[h=2]' with a non-matching closing tag etc will cause major issues with TinyMce.
// It is cleaner to use [h2], [h3] etc. TODO - Batch BBcodes. ;-)
return '[h='.$h.']'.$code_text.'[/h]';
}