我正在尝试在asp.net应用程序中使用this wysiwyg editor。但是它不起作用..
所以我添加了对DLL的引用,并编写了下面的asp代码:
<%@ Page MasterPageFile="~/Site.master" Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="test" Title="Tests" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="headContent" ContentPlaceHolderID="HeadContent" runat ="server" >
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div>
<CKEditor:CKEditorControl ID="test" runat="server">test</CKEditor:CKEditorControl>
</div>
</asp:Content>
结果就是
所以看起来好像是写错了什么..我尝试在控件的属性中添加TooBar = "Full“,但它不起作用。使用此控件的人可以帮助我吗?非常感谢
发布于 2011-07-20 19:49:34
我会检查页面加载时是否出现了一些Javascript错误。他们可以提供有关问题的信息-缺少一些CKEditor的JS文件等。
发布于 2013-01-04 08:39:34
此外,包含所有js css和图像文件的ckeditor的默认位置也在网站根目录中,如果您错过了这一点,您只能使用没有样式的文本区,希望它能帮助他人使用BasePath属性更改ckeditor文件夹的默认路径
发布于 2012-06-24 01:42:58
我的回复可能有点晚,但请确保您已将ckeditor文件夹复制到您的解决方案中。
Absolute Beginner's CKEditor for ASP.NET Control Integration Guide
https://stackoverflow.com/questions/6760889
复制相似问题