Glars
Glars

Reputation: 21

Why doesn't Markitup BBcode preview work for me?

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?

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

Upvotes: 2

Views: 1557

Answers (2)

jatt
jatt

Reputation: 398

[Merged this update by OP into question]

Upvotes: 0

Marco Panichi
Marco Panichi

Reputation: 1185

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'] );

Upvotes: 2

Related Questions