Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1, 5.4.9
-
None
Description
While editing or creating a content object, if we click on an image on the tiny_mce editor we will get the following error on the console:
tiny_mce_jquery.js:1 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1. at Editor.<anonymous> (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:15735) at Dispatcher.dispatch (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:6509) at DOMUtils.c (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:167613) at j (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:58209) at HTMLDocument.y (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:58367) (anonymous) @ tiny_mce_jquery.js:1 dispatch @ tiny_mce_jquery.js:1 c @ tiny_mce_jquery.js:1 j @ tiny_mce_jquery.js:1 y @ tiny_mce_jquery.js:1
Steps to reproduce:
- Create a new article
- Add an embed image to an XML block
- Click on the image
The error above will be returned.
The same happens both on a fully updated 5.1 site, or a 5.1 site without any update.
Browser used: Google Chrome 58.0.3029.81