Hello!

Does anyone know how I could use javascript to design a wysiwig editor? More specifically, I'm trying to find out how to get the values of what a user has highlighted in a textfield, and then parse HTML tags to it.