Home > Backend Development > PHP Tutorial > php百度在线编辑器ueditor使用问题,求大神解答

php百度在线编辑器ueditor使用问题,求大神解答

WBOY
Release: 2016-06-06 20:22:41
Original
1164 people have browsed it

<code>//我这种post过去的文本能直接保存到数据库吗
//




    <meta charset="UTF-8">
    <title>ueditor demo</title>
    <script type="text/javascript">
    //window.UEDITOR_HOME_URL = "./Ueditor/";
    </script>



    <form action="server.php" method="post">
    <!-- 加载编辑器的容器 -->
    <script id="container" name="content" type="text/plain">
     </script>
    
    <!-- 配置文件 -->
    <script type="text/javascript" src="ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
   <input type="submit" name="submit" value="提交">
    </form>


</code>
Copy after login
Copy after login

回复内容:

<code>//我这种post过去的文本能直接保存到数据库吗
//




    <meta charset="UTF-8">
    <title>ueditor demo</title>
    <script type="text/javascript">
    //window.UEDITOR_HOME_URL = "./Ueditor/";
    </script>



    <form action="server.php" method="post">
    <!-- 加载编辑器的容器 -->
    <script id="container" name="content" type="text/plain">
     </script>
    
    <!-- 配置文件 -->
    <script type="text/javascript" src="ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
   <input type="submit" name="submit" value="提交">
    </form>


</code>
Copy after login
Copy after login
Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template