Make WordPress Core

Opened 8 years ago

Closed 5 years ago

Last modified 4 years ago

#38123 closed defect (bug) (worksforme)

SVG in Visual Editor - Default Attribute Issue

Reported by: grandmasterkenny's profile grandmasterkenny Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6.1
Component: TinyMCE Keywords: upstream
Focuses: Cc:


When adding inline SVG images via the Media Library in the Visual Editor, the respective image gets a height & width of 1, to the unsuspecting user this could make them think the add failed however, simply removing the height & width attributes from the img tag in the Text Editor remedies the issue and the image displays properly in the visual editor.

Change History (4)

#1 @azaozz
8 years ago

Hi @grandmasterkenny, passing this upstream as that is the best place to fix it.

#2 @azaozz
7 years ago

  • Keywords upstream added

#3 @azaozz
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to fixed
  • Status changed from new to closed

Seems to work properly in WP 5.2, was fixed upstream.

#4 @SergeyBiryukov
4 years ago

  • Resolution changed from fixed to worksforme

Just changing the resolution to worksforme for accuracy, as it's not quite clear when or where exactly this was fixed.

Note: See TracTickets for help on using tickets.