[wp-trac] [WordPress Trac] #16239: Improve switching between visual editor and html mode when text set immediately after more tag
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 12 02:25:46 UTC 2012
#16239: Improve switching between visual editor and html mode when text set
immediately after more tag
--------------------------+------------------------
Reporter: koopersmith | Owner:
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 3.4
Component: TinyMCE | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------
Comment (by dwright):
Replying to [comment:9 azaozz]:
> It seems unsafe to assume the <more> tag is always in a <p>. Inserting
it wrapped in a paragraph would ensure tags above it are closed properly
(the wrap creates new DOM node).
I changed the patch to wrap <!--more--> withing <p></p> (wrapped in a
paragraph) based on your comments above. I guess I don't know what you
mean by, "Inserting it wrapped in a paragraph", please elaborate
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16239#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list