Skip to content
Afraithe edited this page Sep 13, 2010 · 1 revision

This plugin will encode any output from the editor in to bbcode format. This can be useful when you want to use PunyMCE inside a forum or comment system.

Example:

<textarea id="content1" name="content1"></textarea>
<script type="text/javascript" src="punymce/puny_mce.js"></script>
<script type="text/javascript" src="punymce/bbcode.js"></script>
<script type="text/javascript">
var editor1 = new punymce.Editor({
        id : 'content1',
        plugins : 'BBCode'
});
</script>
Clone this wiki locally