Steps to replicate:
- Open Code block dialog using NWE/VE
- Pick a language.
- Now just enable the checkbox for show line numbers and specify a starting line number but keep the code part empty.
- Click on Insert (Maybe we shouldn't enable the Insert button when its empty?)
The following error appears "Uncaught TypeError: Cannot read property 'getTokens' of null"