PDA

View Full Version : [CLOSED][2.x/3.x] HtmlEditor bug



liaoqihua
6 May 2009, 1:21 AM
First step:
Input one line in HtmlEdit.

Second step:
select align text Center button make the text centered.

Thrid setp:
Input second line in HtmlEdit.why the send line auto align center?I try to select align text left button make this line to left.The first line make left the same.It's a bug?


Original Generation html:


<P align=center>dddddddddddddddd<BR>dddddddddddddddddd</P>

I want to be:


<P align=center>dddddddddddddddd</P>
<P>dddddddddddddddddd</P>

Condor
6 May 2009, 1:35 AM
No, it is not a bug. Ext inserts a <BR> tag when pressing enter, which causes the problem you are experiencing.

There are several people asking to insert <P> tags instead, but that is going to be a rather difficult change in HtmlEditor.

bywayboy
10 Apr 2010, 12:34 AM
Shift + Enter should insert <BR>. But it actually is not the case ExtJS.

Jamie Avins
10 Apr 2010, 8:33 AM
Wow, that's quite a font size!