stfalcon/TinymceBundle — Issue #28: Missing BBCode tags
Author: Leobaillard
Created: 2012-02-25 21:07:11+00:00
State: open

I'm trying to integrate TinyMCE in a private message bundle for my website.

For user convenience, I'm using the well-known BBCode syntax which is supported by TinyMCE.

I managed to parse the produced output with an other bundle which works great so far with images, bold, italic and underlined text. The problem appears with lists, olists and striked text that TinyMCE stores as plain xHTML instead of BBCode tags. The same occurs with alignment blocks (

blocks) and those don't even get closed.

Here's what my non-parsed message looks like :

[img]../../bundles/stfalcontinymce/vendor/tiny_mce/plugins/emotions/img/smiley-cool.gif[/img]

[b]It works ![/b]

!!

[i]italique[/i]

[i][/i][u]souligné[/u]

puce1

puce2

num1

num2

barré

So I guess that's two issues but I felt that they were close enough and allowed myself to make only one post.

My questions : is it possible to add BBCode replacements somewhere in the code ? If so, I'd be happy to propose a pull request. As for the alignment blocks, is it a known issue, is it just my config, and can I do something about it ?

Many thanks.