[wp-trac] [WordPress Trac] #29872: Permalink Structure Tags buttons

WordPress Trac noreply at wordpress.org
Tue Oct 4 15:44:54 UTC 2016


#29872: Permalink Structure Tags buttons
---------------------------------------+--------------------------------
 Reporter:  Apiweb                     |       Owner:
     Type:  feature request            |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  Permalinks                 |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-ui-feedback has-patch  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------

Comment (by swissspidy):

 Replying to [comment:17 joedolson]:
 > Other issues to consider:
 >
 > 1) Ability to place cursor between items and insert new structure in
 that location instead of end
 > 2) Avoid adding the same structure twice if clicked twice? Should a
 second click remove that structure from the string?

 Added in [attachment:29872.4.diff]. It's even possible to replace the
 selected text in the input field. Slashes are only added when needed.
 Adding the same structure tag twice doesn't work either. I also cleaned up
 the HTML a bit to make it more readable.

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


More information about the wp-trac mailing list