Use data attr in selected text