ezsystems/ezpublish-legacy — pull request #649 by dpobel (2013-05-30 15:27:32+00:00)
Title: Fix EZP-20676: JS error inserting embed-inline tag on empty XML block in ezoe

JIRA issue: https://jira.ez.no/browse/EZP-20676

# Description

An embed inline element is represented as a span element. The problem is that this element is first added empty (and then filled with the preview of the embed view) and since this element is empty, TinyMCE removes it. So this patch simply adds a fake content before the span is actually filled.
The second commit just fixes an API change of jQuery that was hidding this issue in version >= 5.1...

# Test

Manual tests in Chrome, Firefox and IE 8 and 9.