Moved beforeInsert() call before fetching the selection in editable#insertElementIntoSelection() method.
Added missing comment.
Changelog entry.
Merge branch 't/11848'