I've long since forgot about this thread, but I might as well record my solution for anyone who searches on this thread in the future.
I found two javascript-based editors that are WYSIWYG, like in Word. They are TinyMCE and FCKEditor. Both perform what I want. In general, I find that TinyMCE is faster than FCKEditor, but takes up more disk space.