I have created a page in my project under sites and when i am editing that page I am not able to see the targeting mode in the modes dropdown in order to apply it on the experience fragment used.
It is already there in my customheaderlibs file, although i remember one thing i did, which might have been wrong.
On the Experience Manager rail, click or tap Tools > Sites > Context Hub.
Click or tap the default Configuration Container.
Click or tap the Context Hub Configuration.
Click or tap the Create button, and then click or tap Context Hub UI Mode.
But now when i am goint to tools- sites- contexthub, there is no default configuration container under global, it shows legacy configuration container and clicking on it shows me null.