title: How do online text editors work?
body: <p>I am trying to develop an Online editor (like FCKEditor/etc) but I have no idea how they work. I know that the WYSIWYG ones have Javascript and IFrames, but how do they actually work?</p>
  
  <p>I'm especially curious about having a real-time preview of what's being typed into the editor.</p>