I handle the color palettes in the editor now as palette sets. A palette set consists of 8 palettes and has a unique address which I read from the map data set.
This makes it much easier for me to handle the palettes in the editor.
As a result all sprites can be displayed with their corresponding palettes now:
I also adjusted the tileset editor for the usage of the palette sets: