百度编辑器ueditor(版本:r1_4_3-asp.net)配置
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebApplication2.Index" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<!--百度编辑器ueditor.config.js-->
<script src="ueditor/ueditor.config.js" type="text/javascript"></script>
<!--百度编辑器ueditor.all.min.js-->
<script src="ueditor/ueditor.all.min.js" type="text/javascript"></script>
<!--百度编辑器css样式-->
<link href="ueditor/themes/default/css/ueditor.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<!--百度编辑器TextBox ID="myEditor"-->
<asp:TextBox ID="myEditor" runat="server" Width="100%" TextMode="MultiLine" Height="486px"></asp:TextBox>
<script type="text/javascript">
var editor = new baidu.editor.ui.Editor();
editor.render("myEditor");
</script>
</div>
</form>
</body>
</html>
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。