报错信息:
代码如下:<!DOCTYPE HTML>
<html>
<head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>UMEDITOR 完整demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="member/editor/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="member/editor/umeditor/third-party/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="member/editor/umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="member/editor/umeditor/umeditor.min.js"></script>
<script type="text/javascript" src="member/editor/umeditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<!--style给定宽度可以影响编辑器的最终宽度-->
<textarea id="myEditor" style="width:610px; height: 240px;" name="content"></textarea>
<script type="text/javascript">
//实例化编辑器
var um = UM.getEditor('myEditor');
</script></body>
</html>
代码如下:<!DOCTYPE HTML>
<html>
<head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>UMEDITOR 完整demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="member/editor/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="member/editor/umeditor/third-party/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="member/editor/umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="member/editor/umeditor/umeditor.min.js"></script>
<script type="text/javascript" src="member/editor/umeditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<!--style给定宽度可以影响编辑器的最终宽度-->
<textarea id="myEditor" style="width:610px; height: 240px;" name="content"></textarea>
<script type="text/javascript">
//实例化编辑器
var um = UM.getEditor('myEditor');
</script></body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货