Replace selected with data-mce-selected to prevent adding undo levels.