#2788: img-tag: height/width-values are inside the style-tag after resizing
--------------------------------+-------------------------------------------
 Reporter:  th-schwarz          |       Owner:     
     Type:  Bug                 |      Status:  new
 Priority:  Normal              |   Milestone:     
Component:  Core : Output Data  |     Version:     
 Keywords:                      |  
--------------------------------+-------------------------------------------
 I've found a strange behavior how the editor builds an img-tag. You can
 reproduce it by doing the following steps:

 1: Insert an image by clicking the image-button.

 2: Pressing the Source-button you will see the code as expected:
    <img width="310" height="158" alt=""
 src="/_userfiles/image/FCKeditor.png" />

 3: Press the Source-button again to go back to the preview.

 4: Mark the image to get the little squares for resizing and resize it.

 5: Take a look at the source again, you will get an img-tag like this:
    <img src="/_userfiles/image/FCKeditor.png" alt="" style="width: 216px;
 height: 110px;" />

 As you see, height and width are inside the style-attribute now.

 Tested with fckeditor 2.6.3 and 2.6.4beta.

 I'll hope this behavior is bug. If not I'll run into big problems, because
 I have to analyze height and with of the img-tags of the html-source. And
 the normal behavior is much easier to analyze!

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2788>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to