how to make a grid-based level editor for my 2.5D platformer?

Have a look here for something somewhat similar:

You will need more script, ofc, but it could be a start.