10
Quote:
irmtfan wrote:
Herko it seems you misunderstood me
I talk about a totally BBcode WYSIWYG editor that don't need "HTML enable" to work.
because its not safe to use html editors in many websites like xoops.org
there's an editor samuel works a long time ago:
https://xoops.org/modules/news/article.php?storyid=2917
and i think phppp works on a same thing.
No, I didn't misunderstand you at all.
You want this:
WYSIWYG editor that writes pure BB-code. So the content is stored in the DB as BB-coded content.
What BB-code does however is change the content back to publishable HTML when the content needs to be displayed.
So: you propose wysiwyg -> bb code -> html
I propose: wysiwyg -> html
BB code was meant to *replace* (or preceed is more accurate) the complex and expensive WYSIWYG editors at the time (there are no good open source wysiwyg editors back then). You could make it easy to manage what is used and what isn't, and still allow people to add some special markup to their content.
Now, however, there are plenty of mature and manageable open source wysiwyg editors. Now you can do what you with them what you did with bbcode, but now you can do it even better.
SO, why add it on top of bbcode? You can santize the output even better then you can with bbcode (less coding necessary for that), you can manage rights, you can extend it easier.. Youhave the security of bb code, but you have so many advantages over bb code.
bb code isn't an end unto itself, it is a means to acieve something alse. If you focus on what you want to achieve, it's a logical step to *replace* bb code with a good editor like tinyeditor.
@frankblack: I know that I can confige tinyeditor to use a limited editor as default one. I love it
![](https://xoops.org/uploads/smil3dbd4d6422f04.gif)
Herko