[wp-trac] [WordPress Trac] #41962: Editor: Keep text selection between Visual and Text modes

WordPress Trac noreply at wordpress.org
Thu Sep 28 07:22:52 UTC 2017


#41962: Editor: Keep text selection between Visual and Text modes
-------------------------------------+-------------------------
 Reporter:  biskobe                  |       Owner:  pento
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.9
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------

Comment (by afercia):

 @pento I had just a quick look... soem examples
 `var var var` doesn't meet the coding standards


 {{{
 // For consistency with our PHP standards, do not include a space around
 // string literals or integers used as key values in array notation:
 prop = object['default'];
 firstArrayElement = arr[0];
 }}}

 docs:
 alignments ot params names and descriptions

 > I fixed the coding standard problems that jshint caught

 jshint doesn't catch everything... a manual check is always needed

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


More information about the wp-trac mailing list