最近,在“所见即所得”编辑器中编辑小部件不再起作用。
当我单击小部件时,浏览器控制台显示以下错误:
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)
然后将显示用于创建新窗口小部件的弹出窗口,而不是用于编辑现有窗口小部件的弹出窗口。
我发现Chrome在不同版本的Magento CE 1.x和EE 1.x上均存在这种行为,与操作系统无关。它可以与最新的安全补丁SUPEE-9767相关吗?