While technically
This is noticeable for custom bb-code which has
Code:
Read more
Читать далее...
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:
Код:
function toPreview (previewHtml)
{
const previewBox = getPreviewBox()...
Read more
Читать далее...