[wp-trac] [WordPress Trac] #12423: Include default code editor

WordPress Trac noreply at wordpress.org
Tue Mar 7 19:47:37 UTC 2017


#12423: Include default code editor
-----------------------------+----------------------------
 Reporter:  scribu           |       Owner:  afercia
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  4.8
Component:  Editor           |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  accessibility
-----------------------------+----------------------------

Comment (by FolioVision):

 > Opting out should remove all CodeMirror instances and cleanup itself
 (including the buttons), and also post an ajax request to user preferences
 to remember the choice. (The preference will be available on edit user.)
 This would be the least obtrusive way I think. We don't need a no-js plan,
 as with js disabled, CodeMirror is disabled.

 Nice thinking @WraithKenny for a quick patch. This is a better user
 experience and fairly seamless for everyone out there. We could also
 automatically disable CodeMirror for anyone coming in with a screen reader
 useragent (as it's no use to them). We should still think about building
 that better code editor experience with helpers for screen reader users.
 I'm not a screen reader user so I don't know what additional functionality
 screen reader users would like.

 Hopefully @rianrietveld will come back to us from a wishlist (from Florian
 Beijers for instance). I'll ping him on Twitter now.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12423#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list