[wp-trac] [WordPress Trac] #38123: SVG in Visual Editor - Default Attribute Issue

WordPress Trac noreply at wordpress.org
Wed Sep 21 22:20:26 UTC 2016


#38123: SVG in Visual Editor - Default Attribute Issue
------------------------------+-----------------------------
 Reporter:  grandmasterkenny  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  TinyMCE           |    Version:  4.6.1
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38123>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list