Support new decorations in react find and replace