[wp-trac] [WordPress Trac] #29129: TinyMCE adds empty headline after caption (was: Tinymce adds empty headline after caption)
WordPress Trac
noreply at wordpress.org
Wed Aug 6 21:12:32 UTC 2014
#29129: TinyMCE adds empty headline after caption
--------------------------+------------------------------
Reporter: firebird75 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> How to reproduce this issue :
> 1/ Add a title tag with <h2></h2> for instance, <h2>My Title</h2> in text
> mode.
> 2/ Switch to visual mode and add a centered picture with a caption
> 3/ Put the cursor at the beginning of the heading H2 line and press enter
> to add a blank line
> 4/ Switch to text mode, the code will look like this :
> <h2></h2>
> <h2>My Title</h2>
>
> Tiny MCE as added a blank <h2></h2>
New description:
How to reproduce this issue :
1. Add a title tag with `<h2></h2>` for instance, `<h2>My Title</h2>` in
text mode.
2. Switch to visual mode and add a centered picture with a caption
3. Put the cursor at the beginning of the heading H2 line and press enter
to add a blank line
4. Switch to text mode, the code will look like this :
{{{
<h2></h2>
<h2>My Title</h2>
}}}
TinyMCE has added a blank `<h2></h2>`
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29129#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list