[wp-trac] [WordPress Trac] #14211: Full Screen view in TinyMCE can destroy post
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 6 15:54:00 UTC 2010
#14211: Full Screen view in TinyMCE can destroy post
-------------------------------+--------------------------------------------
Reporter: RanYanivHartstein | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version:
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
In certain cases, switching to full screen view in TinyMCE can destroy a
post's contents.
Here's one way to reproduce this.
1. Get the file bad-full-screen.txt attached to this ticket
2. Create a new post in any 3.0 blog
3. Switch to HTML
4. Paste from above file
5. Update/publish (or anyway, save)
6. Switch to Visual Editor
7. Hit Full Screen
Now, the Full Screen view doesn't just hide the text, it removes it - when
you switch back to normal view, the post is empty (except for a line break
with mce_bogus="1").
This looks like it's caused by something in the last three paragraphs.
When I paste the text in paragraph by paragraph, the paragraph that seems
to be responsible is the one that starts with "To begin with, we're going
to..." (the third paragraph from the end). For e.g., If I go through the
above process, but between stage 8 and stage 9 I remove that paragraph,
everything works fine.
Possibly related - #9950 , #7069
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14211>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list