Fix for issue #3: When there is no text in the editor, apply the rich text command to the content editable if possible