[wp-trac] [WordPress Trac] #31780: Nested shortocdes - visual/text editor wipes them out
WordPress Trac
noreply at wordpress.org
Thu Mar 26 22:24:22 UTC 2015
#31780: Nested shortocdes - visual/text editor wipes them out
--------------------------+-----------------------------
Reporter: johnmontfx | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Utilizing the following shortcode results in it eventually being stripped
from the visual editor:
{{{
[caption width="600" caption="A football video"][video width="640"
height="360" mp4="http://mydomain.com/wp-
contentt/uploads/2015/03/my_movie.mp4"][/caption]
}}}
Replication steps;
1. Create new post
2. In visual editor, paste the above code. This seems to work.
3. Switch to text editor mode.
4. Code is borked.
Also, this shows the issue:
1. Create new post
2. In text editor, paste the above code. This seems to work.
3. Switch to visual text editor mode. This seems to work.
4. Switch back to text editor mode
5. Code is borked.
I've confirmed this bug on multiple sites running 4.0 and 4.1 variants,
including a dev site with no plugins installed and using the twenty
fifteen theme.
I assume tinymce is to blame...but that's beyond my pay grade
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31780>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list