[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
Fri Apr 27 23:24:59 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 needs-testing ux-feedback |
-------------------------------------------------+------------------------
Changes (by azaozz):
* keywords: has-patch => has-patch needs-testing ux-feedback
Comment:
16239-3.patch inserts the <!--more--> tag always wrapped in a paragraph in
both visual and HTML editors.
However in the visual editor the user may continue typing in the same
paragraph which is undesirable, so there's an extra paragraph inserted
after the tag and the cursor is placed there. Also added a check to make
sure <!--more--> is always in a separate paragraph, so no tags are broken.
Old posts will be checked when edited.
All this changes the behavior of the More button a little
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16239#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list