[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
Tue Sep 30 21:05:37 UTC 2014


#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.1
Component:  TinyMCE      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------

Comment (by afercia):

 yup, or test the [http://www.tinymce.com/wiki.php/Plugin:noneditable
 TinyMCE noneditable plugin]  that would allow to use a (non editable)
 `span` instead of `hr`. I've tested a couple of months ago and it works
 pretty well. The CSS part would be basically the same :) it's also
 possible to center the text on the line and give that an inherited
 background color to match the body background color, just use :before for
 the line and :after for the title text, then some z-index.

 TinyMCE would always wrap a `p` around the `span` and that would respect
 all the work @azaozz did to always have a paragraph around more and
 nextpage.

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


More information about the wp-trac mailing list