[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
Thu Jan 26 06:23:44 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:4 azaozz]:
> Seems we should be putting <!--more--> in a separate paragraph, that way
the content above and below it will be formatted properly after we do the
split.
>
By 'separate paragraph', I assume you mean <p><!--more--></p>, however,
when switching from Visual to HTML mode in the TinyMCE editor, the <p>
tags are stripped, it appears the way a paragraph is then represented in
HTML mode is when content is surrounded by a fully blank line above and a
fully blank line below.
> This would also need a look at the back-end handling of <!--more-->.
why? with the new patch, after saving a post, <!--more--> maintains the
paragraph format
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16239#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list