code workaround to remove extra spans added by Chrome with content editable