Is it possible to disable palette entries?

I try to use a customized palette and would like to know whether it’s possible to enable/disable specific entries inside the palette.

Hi,
If you just want to remove entries:

If you want to have full control:
Write a custom PaletteProvider just like in the example above.
But in the index.js instead of:

export default {
  __init__: ["myPaletteProvider"],
  myPaletteProvider: ["type", MyPaletteProvider]
};

Write:

export default {
  __init__: ["myPaletteProvider"],
  paletteProvider: ["type", MyPaletteProvider]
};

With this you dont add your module on top of the existing one but instead repalce it (same name). Source:

Now you can just copy all the entries from the official project and remove/add what you want