贴子最后说:
Ok i think i have an idea how to make this work but i still need to retrieve some information while in the block editor. I can make it work if i can get the list of visibility states and the current visibility state. I dont know if the information is available while in block editor. Any help would be greatly appreciated. Thanks