I guess that would be major work to get this working perfectly.
Vaguely related, a now broken WYSIWYG editor plugin was created and discussed a while ago: