WordPress.org

Make WordPress Core

Opened 14 years ago

Last modified 14 years ago

#5087 closed defect (bug)

WYSIWYG Insert/Edit Image button issues — at Version 9

Reported by: bl968 Owned by:
Milestone: 2.5 Priority: high
Severity: critical Version: 2.3
Component: TinyMCE Keywords: reporter-feedback needs-patch WYSIWYG image properties
Focuses: Cc:

Description (last modified by foolswisdom)

Line wraps inserted on html code segments. No linewraps exist on image code in editors.

Internet explorer

Inserting 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.

<img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" />
<img border="0" align="left" width="1" src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" height="1" />

In the above example the only action I took on the insert/edit image dialog page was to set the alignment to left.

<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>
<img border="0" align="left" width="100" src="http://www.ablogsite.com/wp-content/uploads/2007/09/test.JPG" height="100" />

Above is an example with setting alignment to left and width and height both to 100.

Confirmed in Mozilla Firefox as well

In Mozilla Firefox still duplicates the image code but does not set the image width and height fields.

<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" />
<img src="http://www.ablogsite/wp-content/uploads/2007/09/test1.jpg" alt="testing" align="left" />

Problem confirmed with no activated plugins.

Why Critical

I run a community blog site with many authors of varying abilities. For some the only option is the wysiwyg editor. We also use images in articles extensively. Every article has at least one image. A picture is worth a thousand words afterall.

Change History (9)

#1 in reply to: ↑ description @bl968
14 years ago

Also I have tested with all plugins deactivated.

#2 @bl968
14 years ago

  • Component changed from Administration to TinyMCE

#3 follow-up: @bl968
14 years ago

Why is this not showing up on the Ticket status by Component Screen

Ticket status by Component
Administration 1/6
General 1/7
Optimization 0/1
Template 1/2
TinyMCE 0/1 (This ticket is missing)
i18n 1/1

Might want to have whoever maintains trac check it out...

#4 in reply to: ↑ 3 ; follow-up: @foolswisdom
14 years ago

Replying to bl968:

Why is this not showing up on the Ticket status by Component Screen

http://trac.wordpress.org/query?status=new&status=assigned&status=reopened&groupdesc=1&group=component&component=TinyMCE&order=id

It shows up for me. Queries are cached. Did you click Update.

#5 in reply to: ↑ 4 ; follow-up: @bl968
14 years ago

Replying to foolswisdom:

It shows up for me. Queries are cached. Did you click Update.

It shows up on the bugs page but not on the status graph at http://trac.wordpress.org/milestone/2.3.1

#6 in reply to: ↑ 5 ; follow-up: @foolswisdom
14 years ago

Replying to bl968:

It shows up on the bugs page but not on the status graph at http://trac.wordpress.org/milestone/2.3.1

TinyMCE 0/1, this is that 0/1.

#7 in reply to: ↑ 6 @JeremyVisser
14 years ago

Replying to foolswisdom:

TinyMCE 0/1, this is that 0/1.

Pardon?

#8 @foolswisdom
14 years ago

JeremyVisser, bl968 said that it didn't show up on the status graph, but this ticket is that 0/1.

#9 @foolswisdom
14 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.