Is there a way I can use a JS file instead of a server side file eg. PHP to render my previews when using MarkItUp?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
what you could do is add a custom button to the tool bar if you want to be fancy, but for a simple way just add a link below let us say Preview then grap the code and past it to a div holder. Something like,
That is pretty much it. You can get way more fancy, do it on the keydown, put it in the setup file so it’s on the toolbar.. tons of ways to skin that cat.. but that little bit of code should get you started. HTH Cheers -Jeremy