Any ideas on how a WYSIWYG editor works;
My main problem is retrieving the cursor/carot postion within an IFrame and how I would understand that positions being marked are between code.
I don't need anything too fancy (no need for tables and floating divs, just really making text colour and weights show)
I bought an editor but it had a ton of holes in the security and It was excessive with the functions. So thought since I've successfully build a BB editor (much like this one) I thought I might be able to build a WYSIWYG editor (actually, like this one - click the top right icon on programming talks new thread editor

)
Just need some guidance.
Thanks
Dal