@xu.zhang Context pad and palette can be provided through different components. Specifically in v11.2.0 we introduced the create/append anything menu that you see over there.
To reliably remove all entries (contributed through different providers) register a popup menu or palette provider with lowest priority, and provide a middleware function that returns no elements: