nicEdit bbcode on startup
===

i finally got nicEdit to run in bbCode mode with

    $(document).ready(function() {
            new nicEditor({xhtml : true, bbCode : true, buttonList : ['bold', 'italic', 'underline']}).panelInstance('longdesc_foreign');
        });

inside the longdesc_foreign area there is a text loaded from the database filled in with php before page-output.

if there was no entry in the database and I write something formatted in nicEdit and save it back to the DB I get a wonderfull [b]test[/b][i]another test[/i] like-ish string which is perfect.

but if i refresh the page and the string gets loaded out of the DB, nicEdit don't parse it back. it only shows the raw string inside the nicEdit

there is rawly no documentation about bbcode with nicEdit or i didn't find them.