kindeditor/examples/demo-09.html
(完整代码) 984B<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>KindEditor</title>
<style>
form {
margin: 0;
}
textarea {
display: block;
}
</style>
<script charset="utf-8" src="../kindeditor.js"></script>
<script>
KE.show({
id : 'content1',
shadowMode : false,
autoSetDataMode: false,
syncType : '', //auto: 每次修改时都会同步; form:提交form时同步; 空:不会自动同步;
allowPreviewEmoticons : false,
afterCreate : function(id) {
KE.event.add(KE.$('example'), 'submit', function() {
KE.sync(id);
});
}
});
</script>
</head>
<body>
<h3>最佳性能模式</h3>
<form id="example" name="example" method="post" action="../php/demo.php">
<textarea id="content1" name="content1" style="width:700px;height:200px;visibility:hidden;"></textarea>
<br />
<input type="submit" name="button" value="提交内容" />
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。