【发布时间】:2010-06-04 20:12:58
【问题描述】:
我对 markItUp! 的预览功能有疑问。
在 jquery.markitup.js 我有这些设置:
previewTemplatePath:'~/templates/preview.php',
previewParserPath:'~/templates/preview.php',
previewParserVar:'data'
我不确定如何处理 previewParserPath 和 previewParserVar。是否可以用PHP在preview.php中抓取markItUp发送的内容?
// preview.php
<body>
<!-- content -->
</body>
【问题讨论】:
标签: php jquery jquery-plugins richtextbox markitup