Add 'has-value' class toggling to wysiwyg editor