<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    <meta name="renderer" content="webkit">
    <title>百度编辑器完整DEMO</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>

<body>
    <!-- 加载编辑器的容器 -->
    <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
</body>

<script type="text/javascript">
  var ctx = '${ctx}'; 
  var ctxStatic='${ctxStatic}';
  var API = '${API}';
  var WEB ='${WEB}';
  var PATH = '${PATH}';
</script>

<script type="text/javascript" charset="utf-8" src="${ctxStatic}/jquery/jquery-1.8.3.min.js?v2"></script>
<script type="text/javascript" charset="utf-8" src="${ctxStatic}/ueditor/ueditor.config.js?v3"></script>
<script type="text/javascript" charset="utf-8" src="${ctxStatic}/ueditor/ueditor.all.js?v2"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="${ctxStatic}/ueditor/lang/zh-cn/zh-cn.js?v2"></script>


<script type="text/javascript">
    var ue = UE.getEditor('editor');
</script>
</body>
</html>