[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
Sun Jan 11 11:25:20 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 avryl):
> Combined with autop, that can result in invalid HTML or blank lines
being added before/after, etc.
But we only do this in the TinyMCE editor, no? Not sure if autop is
relevant here. Before any autop-ing it's an HTML comment again.
> As the More and Nextpage are HTML comments, we pretty much allow them in
any HTML context.
But do we really allow the more tag and nextpage tag in any context? The
TinyMCE command to insert it will only insert it on the top level, you'd
have to use the text editor to work around it. And I don't think something
like nextpage should be allowed anywhere but on the top level. Anywhere
else doesn't make sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29804#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list