Hi @standish
Thanks for the bug report. A few lines above the cause of the error is a validation statement which looks like:
// validate
if( !editor )
{
return;
}
Could you please console.log the editor variable before this statement? It should not be getting passed this statement but if it is, I would like to know what editor is.
Thanks
E