-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow tags have its ViewTemplate tag and cascade #8462
Conversation
Confirmed: linonetwo has already signed the Contributor License Agreement (see contributing.md) |
Example usage tiddlers.json |
Thanks @linonetwo I think that the "subtitle" segment is now the only substantive view template segment that does not have a cascade. I think it would be worth giving it a cascade too, in this same PR. We also need to add the new cascades to the control panel. |
@Jermolene Updated, with some i18n |
Thanks @linonetwo |
@linonetwo So, I propose to add the default template for For example, see BUT for
|
@kookma I copied the code from $:/core/ui/ViewTemplate/body @Jermolene |
Updated in #8470 |
Thanks @kookma – I think it is important to match the existing cascades, which means shipping an explicit cascade entry rather than relying on the fallback.
That's correct. |
* feat: allow tags have its ViewTemplate tag and cascade * feat: quick addition of subtitle cascade * docs: tag subtitle cascade control panel * Update ControlPanel.multids
Title and subtitle and body all have their ViewTemplate tag and cascade, now it's tag's turn.
I will need this to build https://saqimtiaz.github.io/sq-tw/sandbox.html#%24%3A%2Fcore%2Fui%2FViewTemplate%2Ftags that is not shadowing anything.
@pmario @saqimtiaz