Steps to reproduce:
- Insert>Code block.
- Select a language.
- Add some code block and click on "Done"
- Re-open it and edit it.
- Click on "Done again".
There is an error in the console:
Uncaught TypeError: Cannot read property 'getTokens' of null
Steps to reproduce:
There is an error in the console:
Uncaught TypeError: Cannot read property 'getTokens' of null
Can't reproduce. If still broken for you can you leave more detailed steps (wiki, browser, page etc.)?
This is a recent regression on Beta cluster.
It's happening for all pages and I reproduced it in both Chrome and Firefox.
However, I am noticing now that it does not happen the first time when you add a code block. But try re-editing it or just open the code editor the second time and close it, that should give that error.
I can see it happening, but it's definitely deep inside the ace editor component, and nothing surrounding this seems to have actually changed in the last few months.
Needs fixing at some point, but does not appear to be actively breaking anything right now.
Still happening :) When you add a code block for the second time (and in all subsequent attempts) or re-edit it, sorry for not updating the summary and the steps to reproduce.