I added a check on nodeAttributes.class to check if it is undefined and return if it is to prevent an error being raised when accessing data on the class
I have tested it on canvas and this error no longer occurs and other functionality works as normal
I added a check on
nodeAttributes.class
to check if it is undefined and return if it is to prevent an error being raised when accessing data on the classI have tested it on canvas and this error no longer occurs and other functionality works as normal