Completed
Last Updated: 16 Apr 2015 14:41 by coderz
ADMIN
Ianko
Created on: 12 Dec 2013 11:48
Category: Editor
Type: Bug Report
1
FIX: When some bold text is being saved into a database, unexpected question marks are being retrieved in the content
The described issue is because of the "Zero width nbsp" character, which is not stripped when the text is submitted. 

Possible resolution is to strip the character with custom function attached to the OnClientSubmit event of the RadEditor control:

<telerik:RadEditor runat="server" ID="RadEditor1" 
    OnClientSubmit="OnClientSubmit" />

<script type="text/javascript">
	function OnClientSubmit(editor, args) {
		
		var html = editor.get_html(true);
		html = html.replace(/\u200b/g, "");
		editor.set_html(html);
	}
</script>
8 comments
coderz
Posted on: 16 Apr 2015 14:41
We have same issue at 2015.1.204 version .. Is this fixed at Q1 2015 SP1 (version 2015.1.401)
coderz
Posted on: 16 Apr 2015 14:37
deleted by coderz
ADMIN
Ianko
Posted on: 19 Mar 2015 08:02
Hi Henry, 

I tried to reproduce it with this demo (http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx), but to no avail. 

Could you please open a support ticket on the matter, with more details about the HTML content sent and received.

Best, 
Ianko
Henry Derstine
Posted on: 02 Mar 2015 15:43
Ianko, I have looked at the release notes for version 2015.1.204 and I do not see this fix as listed. Was this fix not included in the release? I am still experiencing the problem and want to verify that is was the existing bug.
Thank you
ADMIN
Ianko
Posted on: 03 Feb 2015 06:33
Hi all, 

The bug is planned to be fixed for the Q1 2015 release. 

@Amy, you can try using the get_html(true) method instead of the same without the Boolean argument. I will update the suggested workaround.

Cheers,
Ianko
Amy
Posted on: 26 Nov 2014 13:28
By the way, the fix suggested above appears to add a break tag at the end of the text in the radeditor.
Amy
Posted on: 19 Nov 2014 19:01
Hi,  I have end-users who are also experiencing this issue with italics.  The version of Telerik controls we're using is 2014.2.724.35.
Lester
Posted on: 01 Apr 2014 00:38
Hello,
Has this issue been resolved in the latest version of Telerik controls?