I'm using the .NET version of FCKEditor. I have an asp:Panel that contains the FCKEditor, and that panel is displayed utilizing the ajaxcontrol:ModalPopUpExtender.
Almost everything works perfectly. I can utilize the bullet points, bolding, italicizing, etc. and these work in both FireFox and IE. The problem is that 'TextColor' works fine in IE, but not FireFox. In FireFox, it does nothing. When you click on the arrow, it doesn't bring up the available options for the colors, but no JavaScript or any other error is thrown by FireBug. It just does nothing.
Below is my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="RichTextTest.Controls.FCKEditor.Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:LinkButton ID="cmdEditCommentary" runat="server" Visible="true" Text="Edit Commentary" />
<asp:Panel ID="pnlCommentaryEdit" Style="" runat="server" CssClass="collapsePanel" Width="800px" Height="250px">
<div style="padding-left:3px">
<asp:Label ID="lblCommentary" Font-Bold="true" Text="Enter Commentary:" runat="server"></asp:Label>
<br />
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" ToolbarSet="Commentary"></FCKeditorV2:FCKeditor>
<br />
<asp:Button ID="cmdSave" runat="server" Text="Save" />
<asp:Button ID="cmdCancel" runat="server" Text="Cancel" />
</div>
</asp:Panel>
<cc1:ModalPopupExtender ID="mpeCommentary" runat="server"
TargetControlID="cmdEditCommentary"
PopupControlID="pnlCommentaryEdit"
DropShadow="true"
CancelControlID="cmdCancel" />
</div>
</form>
</body>
</html>
Tue, 07/15/2008 - 00:16
#1