zoukankan      html  css  js  c++  java
  • xheditor在线编辑器的使用

    在你所需要在线编辑器的工程目录下,导入xheditor_emot、xheditor_plugins和xheditor_skin、jquery四个文件夹,然后在textarea标签中加入: class="xheditor"

    <%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    <html>
    <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="xheditor/jquery/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="xheditor/xheditor-1.1.13-zh-cn.min.js"></script>
    </head>
    <body>
    <center>
    <textarea name="content" class="xheditor" rows="20" cols="100">test</textarea>
    </center>
    </body>
    </html>

  • 相关阅读:
    html_Dom
    html_javascript
    html_之css
    协程
    进程和线程的总结
    html_基础标签
    html_头部<meta>设置
    Python_queue单项队列
    Python_paramiko模块
    Python_多进程multiprocessing
  • 原文地址:https://www.cnblogs.com/smartyman/p/4778308.html
Copyright © 2011-2022 走看看