[wp-trac] [WordPress Trac] #29571: Quicktag end tags appear after newline characters in text editor

WordPress Trac noreply at wordpress.org
Thu Jun 9 00:24:58 UTC 2016


#29571: Quicktag end tags appear after newline characters in text editor
---------------------------+-----------------------------------------
 Reporter:  JoshuaGoodwin  |       Owner:  azaozz
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  4.6
Component:  Editor         |     Version:  3.9
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  javascript, administration
---------------------------+-----------------------------------------
Changes (by azaozz):

 * owner:   => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37661"]:
 {{{
 #!CommitTicketReference repository="" revision="37661"
 Editor quickTags: when the user selects some text by triple-clicking, then
 wraps it in a tag, and the last selected char is `\n`, insert the closing
 tag before the line break.

 Props JoshuaGoodwin azaozz.
 Fixes #29571.
 }}}

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


More information about the wp-trac mailing list