This video is a pretty extensive crash course in how to create a block preview plugin. But it also covers a lot of ground for Panel plugins. No matter if you want to stick to simple JS without a build process or if you want to take it to the next level with Kirbyup – this tutorial has you covered: