[wp-trac] [WordPress Trac] #38511: Copy paste a long shortcode wpview (video, gallery... ) is broken in Firefox
WordPress Trac
noreply at wordpress.org
Wed Nov 16 18:27:12 UTC 2016
#38511: Copy paste a long shortcode wpview (video, gallery... ) is broken in
Firefox
--------------------------+-----------------------------
Reporter: bduclos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------------
Comment (by iseulde):
@gitlost, that looks right.
Test code (see
https://github.com/tinymce/tinymce/blob/master/js/tinymce/classes/util/Quirks.js):
{{{
(function() {
var body, parent;
body = tinyMCE.activeEditor.getBody();
parent = body.parentNode;
parent.removeChild(body);
parent.appendChild(body);
body.focus();
})()
}}}
If you run this the iframes will be empty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38511#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list