[wp-trac] [WordPress Trac] #27185: [[gallery]] not supported by editor

WordPress Trac noreply at wordpress.org
Sat Feb 22 16:12:26 UTC 2014


#27185: [[gallery]] not supported by editor
--------------------------+-----------------------------
 Reporter:  wpweaver      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Unlike other shortcode descriptions included in a page/post using the
 [[[[shortcode]]]] double [[[[ ... ]]]] convention to enable displaying the
 shortcode name in a post instead of the results, [[[[gallery]]]]  does not
 work. The editor insists on detecting [[[[gallery]]]] as a reference to
 the gallery for the special display treatment. This makes it nearly
 impossible to write a post about the gallery shortcode.

 I have not checked, but this may apply to other special case shortcodes
 (like images inserted via shortcodes from the media library), but it could
 be a general failure of TinyMCE to follow the [[[[shortcode]]]] convention
 for shortcodes that get special treatment by the editor.

 Sorry about the issues with using [[[[ and ]]]] - I couldn't find any way
 to escape the square brackets correctly.

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


More information about the wp-trac mailing list