Hi,
I use pretty simple set of Editor. On IE8 and previous version of controls I could select text, make it italic, set background and foreground colors, after I upgrades to most recent one and installed IE9 something has changed. I can do all I could do before if I switch into IE7 compatibility mode, when I'm in IE8, IE8 and FF4 Editor doesn't let italic happen: no change in editor no button gets toggled.
There is a hierarchy of control that loaded dynamically and editor is one of them.
Also 2 related questions:
1)JS below has issue that was toggling very interesting flickering on IE8 with previous versions of controls, haven't tested yet with current version and IE9 if also happens
2)when a page that loads dynamic controls is loaded first time and inside some of those controls there is Editor or TreeList (haven't checked other controls) - the appearance of controls is broken, feels like they didn't have a chance to recalculate their layout using JS. When I navigate away and come back - view is ok. I have made a lot of css chnages to site, so if I will experience this behaviour I will attach screenshot
here is my Editor:
<telerik:RadEditor ID="radEditor" runat="server" EditModes="Design" Skin="Default" OnClientSubmit="OnClientSubmit" OnClientLoad="OnClientLoad" StripFormattingOnPaste="AllExceptNewLines" StripFormattingOptions="AllExceptNewLines" Style="position: relative; right: 1px;" Width="100%" Height="150px" AutoResizeHeight="false"> <Tools> <telerik:EditorToolGroup Tag="MainToolbar"> <telerik:EditorTool Name="Cut"></telerik:EditorTool> <telerik:EditorTool Name="Copy" ShortCut="CTRL+C"></telerik:EditorTool> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V"></telerik:EditorTool> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="Bold" ShortCut="CTRL+B"></telerik:EditorTool> <telerik:EditorTool Name="Italic" ShortCut="CTRL+I"></telerik:EditorTool> <telerik:EditorTool Name="Underline" ShortCut="CTRL+U"></telerik:EditorTool> <telerik:EditorTool Name="StrikeThrough"></telerik:EditorTool> <telerik:EditorSeparator /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorSplitButton Name="ForeColor"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="BackColor"> </telerik:EditorSplitButton> </telerik:EditorToolGroup> </Tools> <Content> </Content> </telerik:RadEditor>and JS:
function OnClientSubmit(editor) { // line below causes weird flickering effect on IE when rad editor is loaded first time and navigated away //editor.fire("FormatStripper", { value: "AllExceptNewLines" }); } function OnClientLoad(editor, args) { var style = editor.get_contentArea().style; style.backgroundImage = "none"; style.backgroundColor = "e1e2dc"; style.color = "#000"; style.fontFamily = "Verdana"; style.fontSize = 11 + "px"; }