refactored wysiwyg: took the selection out