WordPress.org

Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #5087


Ignore:
Timestamp:
10/16/2007 12:08:24 AM (14 years ago)
Author:
foolswisdom
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5087

    • Property Component changed from Administration to TinyMCE
  • Ticket #5087 – Description

    initial v9  
    55Inserting image into post then editing with the insert/edit image wysiwyg button results in duplicated image tag and in both image tags it sets width and height to 1, unless you are setting the width and height to something else then it sets your width and height correctly but still duplicates image code. Example code below.
    66
    7 {{{ <img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
    8 <img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" /> }}}
     7{{{
     8<img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
     9<img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
     10}}}
    911
    1012In the above example the only action I took on the insert/edit image dialog page was to set the alignment to left.
    1113
    12 {{{ <a href="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG"><img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG" height="100" /></a>
    13 <img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG" height="100" /> }}}
     14{{{
     15<a href="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG"><img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG" height="100" /></a>
     16<img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG" height="100" />
     17}}}
    1418
    1519Above is an example with setting alignment to left and width and height both to 100.
     
    1822In Mozilla Firefox still duplicates the image code but does not set the image width and height fields.
    1923
    20 {{{ <img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" />
    21 <img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" align="left" /> }}}
     24{{{
     25<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" />
     26<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" align="left" />
     27}}}
    2228
    2329Problem confirmed with no activated plugins.