[wp-trac] [WordPress Trac] #29804: Use HR instead of IMG as a placeholder for the more and nextpage tags

WordPress Trac noreply at wordpress.org
Sat Jan 10 19:12:19 UTC 2015


#29804: Use HR instead of IMG as a placeholder for the more and nextpage tags
-------------------------+-------------------------
 Reporter:  avryl        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.2
Component:  TinyMCE      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------

Comment (by azaozz):

 Using <hr> would let us use `:before` and `:after` CSS, but doesn't work
 well when inserting in the editor. As the More and Nextpage are HTML
 comments, we pretty much allow them in any HTML context. Image
 placeholders work pretty well anywhere too. However <hr> does not.
 Combined with autop, that can result in invalid HTML or blank lines being
 added before/after, etc.

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


More information about the wp-trac mailing list