Why is Markitup BBcode not working for me?

I don't know how to make a BBcode preview in Markitup Editor work.

I followed all the instructions and the editor works. I really don't understand what to do to get the view right. I am able to preview windows but I cannot get the html code.

I downloaded the parser file (markitup.bbcode.parser.php) and installed it previewParserPath

too, and I read about setting up or creating a file named preview.php

, but I don't really know how to do it.

Can anyone please help?

Update:

@marco this works great

And I think this is not a mistake. The file is just a parser. I think I am missing the tutorial on the markitup page, namely how to install it.

+2


a source to share


2 answers


open the parser.php file it only contains the function, right? so, without any echo, how can it work? maybe this is a bug that I am not aware of.

so, add the line wherever you want:



echo BBCode2Html( $_POST['data'] );

      

+2


a source


[Merged this update on OP]



0


a source







All Articles