哦,我的代码是
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Default Examples</title>
<style>
form {
margin: 0;
}
textarea {
display: block;
}
</style>
<link rel="stylesheet" href="./themes/default/default.css" />
<link rel="stylesheet" href="./plugins/code/prettify.css" />
<script charset="utf-8" src="./kindeditor.js"></script>
<script charset="utf-8" src="./lang/zh_CN.js"></script>
<script charset="utf-8" src="./plugins/code/prettify.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
editor = K.create('textarea[name="content"]', {
allowFileManager : true
});
});
</script>
</head>
<body>
<?php
if(isset($_POST['submit'])) {
echo $_POST['content'];
}
?>
<h3>aaaa</h3>
<form method="post" action="one.php">
<textarea name="content" style="width:800px;height:400px;visibility:hidden;">KindEditor</textarea>
<input type="submit" value="submit" name="submit" />
</form>
</body>
</html>