I dont know how to make the BBcode preview on Markitup Editor work.
I followed all instructions and the editor is working. I really dont understand what to do to make the correct preview appear. I can open the windows preview but I cant get the html code.
I had downloaded the parser file (markitup.bbcode.parser.php) and settled the previewParserPath
too and I read about configuring or creating a file called preview.php
but really I dont know how to do it.
Can anyone help?
开发者_JAVA百科Update:
@marco this works great
And I think it is not bug. The file is just a parser. I think I'm missing some tutorial in markitup page i.e. how to install it
open the parser.php file it contains only a function, doesn't it? so, without any echo, how does it can work? maybe it's a bug i don't know.
so, add the follow string wherever you want:
echo BBCode2Html( $_POST['data'] );
[Merged this update by OP into question]
精彩评论