PDA

View Full Version : [OPEN] [#19] HtmlEditor, Unable apply Forcolor or Backcolor style using Toolbar



RCM
Nov 09, 2012, 4:53 PM
Hi,

The HTML editor seems to be behaving weird in my modal window. If I select some text and attempt to change the forecolor or backcolor, the selected text becomes unselected when i click the drop-down menu. see images below.


Text selected to be formated

5051


Text unselected when toolbar item is selected

5052

Browser version

5053


HTML


<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Window ID="windowEditor" runat="server" Height="400" Width="500" Title="Editor"
Resizable="false" Modal="true" IDMode="Static" Closable="true"
AutoDataBind="true" Layout="FitLayout">
<Defaults>
<ext:Parameter Name="IDMode" Value="Static" />
</Defaults>
<Items>
<ext:HtmlEditor ID="HtmlEditor1" runat="server" Region="Center" Height="100" />
</Items>
<Listeners>
<AfterRender Handler="" />
</Listeners>
<Buttons>
<ext:Button ID="buttonSaveExportWorkItems" runat="server" Text="Save"
AutoDataBind="true" Disabled="true" TabIndex="16">
<Listeners>
<Click Handler="" />
</Listeners>
</ext:Button>
<ext:Button runat="server" Text="Cancel" AutoDataBind="true"
TabIndex="17">
<Listeners>
<AfterRender Handler="" />
<Click Handler="" />
</Listeners>
</ext:Button>
</Buttons>
<Tools>
<ext:Tool Type="Help" ToolTip="" AutoDataBind="true" />
</Tools>
</ext:Window>

Baidaly
Nov 10, 2012, 5:22 AM
Hello!

We already know about this problem. It's the ExtJS bug, we already noticed them: http://www.sencha.com/forum/showthread.php?243398-4.1.2-IE9-HtmlEditor-in-iframe-Font-Color-and-Text-Highlight-Color-don-t-work

Daniil
Nov 12, 2012, 10:53 AM
Hi,

I bumped the Sencha thread.

Baidaly
Nov 16, 2012, 10:29 PM
Opened an Issue to track this defect, see

https://github.com/extnet/Ext.NET/issues/19

Also, there is other thread with the same problem: http://forums.ext.net/showthread.php?21140-CLOSED-Html-editor&p=96001#post96001

Baidaly
Mar 12, 2013, 12:33 AM
Here is related thread: http://forums.ext.net/showthread.php?23877