Fix error when selecting and coping text from a block inside an editable.
Merge pull request #1216 from najor/hotfix-0.24.x-rt53834

hotfix 0.24.x rt53834
Fix javascript error.
Merge pull request #1223 from najor/hotfix-0.24.x-fix-javascript-error

Fix javascript error.
Merge branch 'hotfix-0.24.x' of github.com:alohaeditor/Aloha-Editor into hotfix-0.25.x