更新前端文件
This commit is contained in:
14
public/static/libs/umeditor/php/getContent.php
Normal file
14
public/static/libs/umeditor/php/getContent.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<script src="../third-party/jquery.min.js"></script>
|
||||
<script src="../third-party/mathquill/mathquill.min.js"></script>
|
||||
<link rel="stylesheet" href="../third-party/mathquill/mathquill.css"/>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
||||
<?php
|
||||
|
||||
//获取数据
|
||||
error_reporting(E_ERROR|E_WARNING);
|
||||
$content = htmlspecialchars($_POST['myEditor']);
|
||||
|
||||
//存入数据库或者其他操作
|
||||
|
||||
//显示
|
||||
echo "<div class='content'>".htmlspecialchars_decode($content)."</div>";
|
||||
Reference in New Issue
Block a user