Opened 15 years ago

Closed 12 years ago

#2698 closed Bug (expired)

Postback then history back

Reported by: McX Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: FCKeditor 2.6.3
Keywords: Cc:


When using a postback from a page with FCKEditor then navigating back with browser button, the content of FCKEditor contains the raw html value.

In the sample, the content becomes from "value" to "<p>value</p>" :

    <form id="form1" runat="server">
    <fck:FCKeditor ID="fckeContenu" runat="server" Value="<p>value</p>" BasePath="~/fckeditor/"
        Height="300px" HtmlEncodeOutput="True" />
    <asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>

Test platform uses VS 2008, .Net 3.5 and FCKEditor 2.6.3.

Attachments (1) (77.3 KB) - added by McX 15 years ago.
VS Project

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by McX

Attachment: added

VS Project

comment:1 Changed 14 years ago by sbenedict78

Here's a workaround for this issue. Change the GetLinkedFieldValue function in fck.js to:

	GetLinkedFieldValue : function()
		//return this.LinkedField.value ;
		var val = this.LinkedField.value ;
		if ( FCKConfig.HtmlEncodeOutput && (val.substring(0,4) == '&lt;') )
			val = FCKTools.HTMLDecode( val ) ;
		return val ;

comment:2 Changed 12 years ago by Wiktor Walc

Resolution: expired
Status: newclosed

There is a new ASP.NET control available: CKEditor for ASP.NET. The old control (FCKeditor.Net) is no longer maintained, so I'm closing the ticket. In the new CKEditor control this issue should be gone.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy