using react editor