I was wondering why there were so many js files being parsed on my WP site and figured, that if the surveyjs plugin gets activated, all the included js files in the WP dist directory are being loaded. Usually only enqueued scripts should be added, but as soon as surveyjs is activated, all (!) of them are included.
I did a bit of digging and found this post where the last post identifies register_block_type
as the culprit. I did a quick search and found that the correct editor_script
is used. Any idea what else might cause that?
Best regards,
Matthias