- Affected version
- xenforo.com
With Froala v4.0.14 on xenforo.com, selecting an entire line text and then inserting a code block triggers this error:
Code:
Uncaught TypeError: d.parentNode.getAttribute is not a function
d https://xenforo.com/community/js/xf/editor-compiled.js?_v=1c27fdf4:263
getSelected https://xenforo.com/community/js/xf/editor-compiled.js?_v=1c27fdf4:265
_afterShow https://xenforo.com/community/js/xf/editor-compiled.js?_v=1c27fdf4:1050
afterShow https://xenforo.com/community/js/xf/editor-compiled.js?_v=1c27fdf4:1047
proxy https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:72
f https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:118
e https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:119
setupHtmlInsert https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:47
p https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:87
c https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:88
c https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:37
loadScripts https://xenforo.com/community/js/xf/core-compiled.js?_v=1c27fdf4:37
jQuery 2