Recently, editing widgets in the WYSIWYG editor does not work anymore.
The browser console shows the following error when I click on a widget:
Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
at Editor.<anonymous> (http://example.com/js/tiny_mce/tiny_mce.js:1:15327)
at Dispatcher.dispatch (http://example.com/js/tiny_mce/tiny_mce.js:1:6000)
at DOMUtils.c (http://example.com/js/tiny_mce/tiny_mce.js:1:184650)
at j (http://example.com/js/tiny_mce/tiny_mce.js:1:58627)
at HTMLDocument.y (http://example.com/js/tiny_mce/tiny_mce.js:1:58785)
(anonymous) @ tiny_mce.js:1
dispatch @ tiny_mce.js:1
c @ tiny_mce.js:1
j @ tiny_mce.js:1
y @ tiny_mce.js:1
tiny_mce.js:1 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
at Editor.<anonymous> (http://example.com/js/tiny_mce/tiny_mce.js:1:15327)
at Dispatcher.dispatch (http://example.com/js/tiny_mce/tiny_mce.js:1:6000)
at DOMUtils.c (http://example.com/js/tiny_mce/tiny_mce.js:1:184650)
at j (http://example.com/js/tiny_mce/tiny_mce.js:1:58627)
at HTMLDocument.y (http://example.com/js/tiny_mce/tiny_mce.js:1:58785)
And the popup to create a new widget appears, instead of the one to edit the existing widget.
I found the behavior on different versions of Magento CE 1.x and EE 1.x, in Chrome, regardless of the OS. Can it be related to the recent security patch SUPEE-9767?