Steps to reproduce:
1.
add the following line :
[
'AnnotationCreateFreeHand',
'AnnotationCreateLine',
'AnnotationCreatePolyline',
'AnnotationCreateArrow',
'AnnotationCreatePolygonCloud',
'AnnotationCreateTextHighlight',
'AnnotationCreateCallout',
'AnnotationCreateTextStrikeout',
'TextSelect'
].forEach(tool => {
this.wvInstance.unregisterTool(tool);
});
-
use the rectangle / free - text tool
-
undo it
error should occur
Anthony Chen