title: Why javascript editors use iframe to implement?
body: <p>Why do they prefer using iframe and turn on design mode by <code>.contentWindow.document.designMode = "on"</code> instead of directly using textarea?</p>