Underline the selected item on click in editor