X
Xon
Guest
While technically
This is noticeable for custom bb-code which has
Code:
Read more
Continue reading...
xf-init
is executed, any event listeners are lost probably resulting in the results of xf-init
being GC'ed. The problem is the use of innerHTML
to copy data into the DOM, as this creates new nodes and doesn't move/copy the existing nodes.This is noticeable for custom bb-code which has
xf-init
handlers, and xf-init
is executed on content which is then dropped.Code:
Code:
function toPreview (previewHtml)
{
const previewBox = getPreviewBox()...
Read more
Continue reading...