[wp-trac] [WordPress Trac] #37320: Changed css classes and structure in 4.6 beta

WordPress Trac noreply at wordpress.org
Sun Jul 10 07:28:08 UTC 2016


#37320: Changed css classes and structure in 4.6 beta
----------------------------+-----------------------------
 Reporter:  programmin      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  ui, javascript  |
----------------------------+-----------------------------
 Looks like there is no longer any reference to a class="wpview-wrap"
 element in the wp editor wp-views system:

 grep -R "wpview-wrap" ./wp-admin

 grep -R "wpview-wrap" ./wp-includes/

 Same with class="wpview-overlay", also class="wpview-body", no longer
 referenced anymore, and it seems the structure of these has changed quite
 a bit from 4.5.

 Similarly a class=wpview, not class=wpview-wrap, is the element with the
 shortcode data-wpview-text, the structure in general has changed.

 If this is on purpose, and is part of compatibility work with TinyMCE,
 there should be a note for developers styling these views in editor, or
 making manual changes to show the html of wpview-wrap and similar that
 won't have the expected effect in 4.6.

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


More information about the wp-trac mailing list