-
I'm using TST with containers and would like to make typed trees, so that parent could only have a child if it was the same type otherwise the new tab would be a sibling. Is this possible to do? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I'm pretty sure you can't do this directly with TST. I was thinking about how you might do this with CSS, but am not sure it is possible. I'm sure this could be done with a helper addon. (You would just need to watch for new tabs, compare container information [if available for tab information], change the parent-child relationship based on the comparison result) |
Beta Was this translation helpful? Give feedback.
-
Yea, for now,my solution is opening all in new tabs and indenting with keyboard, |
Beta Was this translation helpful? Give feedback.
-
This functionality looks beyond the project scope of TST, instead I recommend you to develop a new helper addon for TST. It will need to watch two events: new tabs opened with container (observable via |
Beta Was this translation helpful? Give feedback.
I'm pretty sure you can't do this directly with TST. I was thinking about how you might do this with CSS, but am not sure it is possible. I'm sure this could be done with a helper addon. (You would just need to watch for new tabs, compare container information [if available for tab information], change the parent-child relationship based on the comparison result)