[wp-meta] [Making WordPress.org] #959: Code examples in the handbooks should expand/collapse

Making WordPress.org noreply at wordpress.org
Thu Mar 19 22:36:18 UTC 2015


#959: Code examples in the handbooks should expand/collapse
--------------------------+-------------------------
  Reporter:  siobhan      |      Owner:  coffee2code
      Type:  enhancement  |     Status:  closed
  Priority:  normal       |  Component:  Handbooks
Resolution:  fixed        |   Keywords:
--------------------------+-------------------------
Changes (by coffee2code):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1429"]:
 {{{
 #!CommitTicketReference repository="" revision="1429"
 developer.wordpress.org: Enable expand/collapse functionality for syntax-
 highlighted code in handbooks.

 * Enqueue function-reference.js on handbook pages as well
 * Wrap handbook syntax-highlighted code in similar markup the JS expects
 as used on coderef pages
 * Modify JS to handle multiple expandable code blocks on a page
 * Change styling for expand/collapse links since for handbooks only one
 link will be present in that section

 Fixes #959.
 }}}

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/959#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list