[wp-trac] [WordPress Trac] #28335: More tag can't be inserted if inside div
WordPress Trac
noreply at wordpress.org
Wed Jul 9 18:01:33 UTC 2014
#28335: More tag can't be inserted if inside div
------------------------------------+-------------------------
Reporter: programmin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9.2
Component: TinyMCE | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: javascript
------------------------------------+-------------------------
Comment (by azaozz):
The `<!--more-->` tag is a "logical separator" of the content. Ideally it
should go at the end of a paragraph that is a direct child of the body,
and that is how most people use it. It's not (well) supported in other
contexts, like in table, blockquote, pre, etc. Currently we are avoiding
broken html by inserting it after the current block tag.
Was thinking to replace it inside the editor with `<hr>` element instead
of the current `<img>`. That would make the placement a bit better and
produce a bit cleaner html when "more" is inserted in an arbitrary place.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28335#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list