Working on a wysiwyg directive