[wp-trac] [WordPress Trac] #30546: Text mode to Visual mode looses attributes
WordPress Trac
noreply at wordpress.org
Sat Nov 29 14:58:45 UTC 2014
#30546: Text mode to Visual mode looses attributes
--------------------------+-----------------------------
Reporter: hrzepa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.0.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
A string of the type <img class="aligncenter size-full wp-image-13086"
onclick="jmolInitialize('../Jmol/');jmolSetAppletColor('white');jmolApplet([500,500],'load
wp-content/uploads/2014/11/I2_den_sub.cub.xyz;isosurface colour red blue
wp-content/uploads/2014/11/I2_den_sub.cub.jvxl translucent;');"
src="http://www.ch.ic.ac.uk/rzepa/blog/wp-content/uploads/2014/11/I2+.jpg"
alt="halogen-search1" width="400" />
would retain the onclick attributed of the <img> element in V3 of WP,
but now if it is inserted in text view mode, this attribute is deleted
when switching to visual mode.
Can the old behaviour be reinstated please.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30546>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list