Create a WYSIWYG editor (embedded)?
I'm thinking about trying to design my own WYSIWYG editor for use on my website.
I'm not at all concerned with it generating valid code because I'll be strictly limiting what can be generated and also will be using bbcode that will be parsed later anyway, rather than HTML directly. That's also why I'd need to create this myself.
How does an embedded WYSIWYG editor work? I've really never looked into it. I know one technique involves iframes, and that's about all I know.
If anyone knows a great tutorial or has some other advice, I'd appreciate it :)
EDIT: I've found a reasonable tutorial to start:
http://www.developphp.com/view.php?tid=1192
But I need to now work out how to control the markup it creates; actually, it's the opposite problem from what I imagined. Still possible, but it's going to be a little complicated I think.
And I'm still looking for more ideas than this, but I'll play with that tutorial for a bit.