|
|
@ -393,6 +393,11 @@ define([
|
|
|
|
inner.getAttribute('contenteditable'));
|
|
|
|
inner.getAttribute('contenteditable'));
|
|
|
|
|
|
|
|
|
|
|
|
restoreMediaTags(userDocStateDom, mediaTagMap);
|
|
|
|
restoreMediaTags(userDocStateDom, mediaTagMap);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Deal with adjasent text nodes
|
|
|
|
|
|
|
|
userDocStateDom.normalize();
|
|
|
|
|
|
|
|
inner.normalize();
|
|
|
|
|
|
|
|
|
|
|
|
var patch = (DD).diff(inner, userDocStateDom);
|
|
|
|
var patch = (DD).diff(inner, userDocStateDom);
|
|
|
|
(DD).apply(inner, patch);
|
|
|
|
(DD).apply(inner, patch);
|
|
|
|
displayMediaTags(framework, inner, mediaTagMap);
|
|
|
|
displayMediaTags(framework, inner, mediaTagMap);
|
|
|
|