Home -> KindEditor -> Kindeditor Demo (Add page):


Kindeditor Demo : Add page , HTML Code:

<!doctype html>
<html>
<head>
<meta charset="utf-8" />

<style>
form {
margin: 0;
}
textarea {
display: block;
}
</style>
<link rel="stylesheet" href="kindeditor-4.1.10/themes/default/default.css" />
<script charset="utf-8" src="kindeditor-4.1.10/kindeditor-min.js"></script>
<script charset="utf-8" src="kindeditor-4.1.10/lang/en.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('textarea[name="content"]', {
allowFileManager : true

});
});

KindEditor.ready(function(K) {
editor = K.create('textarea[name="content"]', {
langType : 'en'
});
});

</script>
</head>





<body>
Kindeditor Demo (Add page): <br>
<br>
<form name="aaa" action="kindeditor_add2.php" method="post">
<textarea name="content" style="width:800px;height:400px;visibility:hidden;">KindEditor</textarea>
<input type="hidden" name="do" value="add">
<input type="submit" name="Submit" value="Submit">
</form>


</body>
</html>