WKRTE基于jQuery的可视化HTML编辑器
WKRTE 是一个基于jQuery的可视化HTML编辑器
示例代码:
<textarea cols="70" rows="20" class="wkrte" method="post" action="#">Textarea content here - you can also leave it blank.</textarea>
<!-- The scripts that will do all the magic -->
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/wkrte.js"></script>
<script type="text/javascript">
$(document).ready(function() {
var arr = $('.wkrte').rte({
width: 720,
height: 520,
controls_rte: rte_toolbar,
controls_html: html_toolbar
});
});
</script>
评论