PDA

View Full Version : [CLOSED] Inconsistency with HTMLEditor in Ext3.3Rc



dorgan
7 Oct 2010, 10:10 AM
In the file src/widgets/form/HtmlEditor.js

on line 1007 for IE the tab key causes 4 HTML spaces to be inserted yet on line 1038 for WebKit browsers a tab character is inserted.

Is this intentional? If I am correct the tab character will not actually show in HTML. I would expect a tab to insert 4 HTML spaces into my HTML document no matter what browser I am using

dorgan
11 Oct 2010, 11:32 AM
nothing on this??

meroy
15 Oct 2010, 12:17 PM
That is currently the desired behavior within Ext JS.

dorgan
15 Oct 2010, 12:36 PM
Can I ask why? I could understand if it was a text editor but its an WYSIWYG field...and tabs dont show up in a browser. Can I suggest that when editing source then it should insert a tab other wise 4 spaces?