I use tinyMCE with some ajax functions. I have my own button to save content, when the user presses on it using tinyMCE.activeEditor.getContent()
I get content and send it to the server. I also use my own bbcode plugin to convert content from html to bbcode before saving. But the problem is when user uses some Accented Characters like ö,ä,ü
tinyMCE.activeEditor.getContent()
transforms it to ö,ä,ü
.
I tried to use tinyMCE.activeEditor.getContent({format : 'raw'})
but in this case bbcode is not working. It means from
- Wir müssen uns treffen
we have
<ul><li>Wir müssen uns treffen</li></ul>
But i want to get it with bbcode
[ * ]Wir müssen uns treffen[ /* ]