开发者

Why doesn't Markitup BBcode preview work for me?

开发者 https://www.devze.com 2022-12-30 09:05 出处:网络
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 ca

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]

0

精彩评论

暂无评论...
验证码 换一张
取 消