i resolved the problem. I had my js code and my html code in the same block. I split them into 2 blocks and resolved it. I do have an additional question though. How do i go about wp_enqueue_script for my jquery dependencies when i use your tool? And for that matter how do in wp_enqueue_script my js code from the blocks?