An error occurs when the config parameter is not set.

Because the editor tried to initiate with the config file when params.config is 'undefined', because 'undefined' is not empty string.