e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
GNU General Public License v3.0
319
stars
213
forks
source link
problem with bbcodes inside tinymce editor #3781
Open
Jimmi08 opened 5 years ago
tested with news I needed manually to insert code [img]link to image[/img] via e107 bbcodes inside tinymce.
In admin editor image was displayed correctly, but on the frontend bbcode was displayed
Could you check this:
at first you are parssing bbcodes
$full_text = $this->parseBBCodes($full_text, $postID); // parse any embedded bbcodes eg. [img]
then replaced tinymce tag for bbcodes back to bbcodes
$full_text = $this->parseBBTags($full_text); // strip <bbcode> tags.
but because there is no parseBBCodes after this, bbcodes left in text
Thanks