[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 16:22:52 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 SergeyBiryukov):
Replying to [comment:10 dwright]:
> If I remember correctly any number of newlines is replaced with one
newline. <br/> is stripped completely.
Two or more empty lines are indeed replaced with one. However `\n\n` only
creates one empty line, which is preserved (I've double-checked this).
It also seems that `<!--more-->` on its own line adds more whitespace in
TinyMCE (see [attachment:16239.whitespace.png]). With
[attachment:16239-2.patch], it looks more compact.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16239#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list