diff --git a/src/lib/aloha/core.js b/src/lib/aloha/core.js index f04181ba95..7f511d75e6 100755 --- a/src/lib/aloha/core.js +++ b/src/lib/aloha/core.js @@ -519,6 +519,15 @@ define([ if (Aloha.editables[i].originalObj[0] === editable) { return Aloha.editables[i]; } + + if ( editable.hasChildNodes() && editable.childNodes.length > 0) { + var k; + for (k = 0; k < editable.childNodes.length; k++) { + if (Aloha.editables[i].originalObj[0] === editable.childNodes[k]) { + return Aloha.editables[i]; + } + } + } } return null; };