Closed jgcaruso closed 5 months ago
@gikaragia
Also couldn't figure out if it is possible to enable source mapping to see where the issue is coming from, although I enabled
define( 'SCRIPT_DEBUG', true )
.
Yeah I ran into the same issue too. Not sure why the react debug scripts weren't being served with that constant set.
For some reason can't log anything in the console. Are console.logs removed during the build step?
I'm not sure about this.
Seems like something is messed up in the order componentActions are mapped in EditorNotice but couldn't figure it out.
Yeah it seemed like something in Gutenberg itself, not necessarily something the block was doing wrong. If we really want to get to the bottom of it, we may need to setup a WordPress/Gutenberg dev environment?
This PR removes the "Preview" button on the NPS block because its presense is causing the block to blow up in the editor.
Tracking in https://github.com/Automattic/crowdsignal-forms/issues/273
Testing
master
make client