Oh i tried testing it without the editor the blocks won't be rendered but the code will still work the code i showed only works on the editor it was a simple test.