[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:19:50 UTC 2016


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

Comment (by azaozz):

 Thinking it's better to adjust `endPos` when the last char before it is
 `\n`. Pretty similar but perhaps a bit cleaner :)

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


More information about the wp-trac mailing list