In the Rich Text editor, with NewLineMode="Br", if you add multiple lines of text with formatting toggled oddly across those lines :
Question mark characters get inserted when the formatting is removed in an order different than added. Example:
If you enter a single line with formatting as follows:
plain bold italicbold italic
(italicbold meaning both are turned on - so you can see that we did bold on, <text>, italic on <text>, bold off <text>, italic off <text>
This renders fine.
But with MULTIPLE lines such as:
plain
bold
italicbold
italic
plain
What you GET is :
plain
bold
italicbold
?italic
plain
The stored HTML for this ends up looking like:
<P>plain <STRONG>bold <EM>italicbold </EM></STRONG><EM>italic </EM>plain<BR><BR>plain<BR><STRONG>bold<BR><EM>italicbold<BR>?</EM></STRONG><EM>italic<BR></EM>plain</P>
You can see the ? being inserted after the <BR> tag after "italicbold"
Skin settings:
<nt:RichEdit runat="server" SkinId="SimpleText" Width="700px" Height="240px"
EditModes="Design" EnableEmbeddedSkins="false" Skin="Ciena" EnableEmbeddedBaseStylesheet="true" ContentFilters="RemoveScripts"
StripFormattingOptions="Css,MSWordRemoveAll" ExternalDialogsPath="~/EditorDialogs" NewLineMode="Br"
EnableAjaxSkinRendering="true" ToolsFile="~/App_Data/RadEdit/SimpleTools.xml">
</nt:RichEdit>
Is there some setting I need to change to fix this? Or is this a bug in the control?
Question mark characters get inserted when the formatting is removed in an order different than added. Example:
If you enter a single line with formatting as follows:
plain bold italicbold italic
(italicbold meaning both are turned on - so you can see that we did bold on, <text>, italic on <text>, bold off <text>, italic off <text>
This renders fine.
But with MULTIPLE lines such as:
plain
bold
italicbold
italic
plain
What you GET is :
plain
bold
italicbold
?italic
plain
The stored HTML for this ends up looking like:
<P>plain <STRONG>bold <EM>italicbold </EM></STRONG><EM>italic </EM>plain<BR><BR>plain<BR><STRONG>bold<BR><EM>italicbold<BR>?</EM></STRONG><EM>italic<BR></EM>plain</P>
You can see the ? being inserted after the <BR> tag after "italicbold"
Skin settings:
<nt:RichEdit runat="server" SkinId="SimpleText" Width="700px" Height="240px"
EditModes="Design" EnableEmbeddedSkins="false" Skin="Ciena" EnableEmbeddedBaseStylesheet="true" ContentFilters="RemoveScripts"
StripFormattingOptions="Css,MSWordRemoveAll" ExternalDialogsPath="~/EditorDialogs" NewLineMode="Br"
EnableAjaxSkinRendering="true" ToolsFile="~/App_Data/RadEdit/SimpleTools.xml">
</nt:RichEdit>
Is there some setting I need to change to fix this? Or is this a bug in the control?