I'm looking for a way to modify the behaviour of the assets pane when switching between media and blocks tabs.
Currently, when I pass from one to the other, the selected folder is either the folder at the top of the tree, if I hadn't used this tab before, or the one I had selected in this tab in the case I had already selected one.
As both media and blocks tabs are using the same tree structure, I'd like to stay at the same level when switching between those tabs. So if, for example, I select a folder when using the media tab, I'd like to stay on this folder when I switch to the blocks tab.
Hello,
I'm looking for a way to modify the behaviour of the assets pane when switching between media and blocks tabs.
Currently, when I pass from one to the other, the selected folder is either the folder at the top of the tree, if I hadn't used this tab before, or the one I had selected in this tab in the case I had already selected one.
As both media and blocks tabs are using the same tree structure, I'd like to stay at the same level when switching between those tabs. So if, for example, I select a folder when using the media tab, I'd like to stay on this folder when I switch to the blocks tab.
Is there a way to achieve that ?
Thank you !
Loïc