<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>kindeditor在线HTML编辑器</title>
</head>
<body>
<div id="body">
<div class="myblock">
<textarea id="ke_demo" name="content" rows="20" cols="100" style="width:95%;height:200px;visibility:hidden;">
<p>Think Defferent</p>
<p>Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can’t do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do. </p>
<p>- Apple Inc.</p>
</textarea>
</div>
<br />
<br />
<div>参考地址:http://kindeditor.net/doc.php</div>
</div>
<script src="kindeditor-4.1.10/kindeditor-all-min.js"></script>
<script>
var option = {
width: "450px",
minWidth : 400,
minHeight : 170,
resizeType : 0,
allowPreviewEmoticons : false,
allowImageUpload : true,
syncType:"",
// items : ['bold', 'image', 'link']
};
KindEditor.ready(function(K) {
K.create('#ke_demo', option);
});
</script>
</body>
使用参考地址:http://kindeditor.net/doc.php
参考文章地址:http://www.cnblogs.com/oec2003/archive/2010/09/05/1818375.html