A Simple WYSIWYG Editor in Javascript

I have been always under the impression that making a html based WYSIWYG editor is hard and required complex code….

Create selected text to hyperlink in Javascript

i have come across many many open source WYSISWYG html editors and one thing that kept me always annoying is…