say you have a fixed header and under that you have your page content, and its that which scrolls, then to get the wysiwyg editor to follow your scrolling you need to add another line to builder.js
eg
FrameWindow.document.getElementById("main").addEventListener("scroll", selectBoxPosition);
|
window.FrameWindow.addEventListener("scroll", selectBoxPosition); |