Opened 16 years ago
Closed 13 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: |
Description
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> </form>
Test platform uses VS 2008, .Net 3.5 and FCKEditor 2.6.3.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | WebAppEditorBug.zip added |
---|
comment:1 Changed 16 years ago by
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) == '<') ) val = FCKTools.HTMLDecode( val ) ; return val ; },
comment:2 Changed 13 years ago by
Resolution: | → expired |
---|---|
Status: | new → closed |
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.
VS Project