Import require.js scripts in resources
Load require.js before using it
Make sure to be given a CodenvyTextEditor
The default text editor uses the default editor implementation