[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:23:02 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:8 SergeyBiryukov]:
 > Replying to [comment:7 dwright]:
 > > the filtering that occurs when switching from visual to html mode,
 converts </p> to a newline and converts <p> to blank.
 >
 > Ah, I see, thanks for the explanation. Seems it can be `\n\n<!--
 more'+moretext+'-->\n\n` as well?

 If I remember correctly any number of newlines is replaced with one
 newline. <br/> is stripped completely.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16239#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list