@twMat I appreciate your idea and frustrations and followed your very useful feature link, and see how it confuses some. The last thing you said was;
Would it be possible to add an action
param to the close and delete buttons, to allow for actions defined elsewhere? I’ve had to schlepp around my crude core overwrites outlined here above for several years now.
Did you see my https://all-button-actions.tiddlyhost.com/ which is a suggested approach to adding this hackability, ultimately to the core?
- It’s trivial with this to add actions to any button (except 1 delete) - eg close is easy.
- This is why the only non-trivial button is the delete button
- This is because $:/core/ui/Buttons/delete its actions use the
actions=<<cancel-delete-tiddler-actions "delete">>
macro, and this is defined in more than one place in template tiddlers, so you must verify the delete. See the Issues section on the Home tiddler.
It is always uncomfortable when you want to implement one idea, and a few other items could/should be done before hand to make implementing your idea simple.
Perhaps a way around this is create an alternative close and delete button, that looks like the existing ones, but does what you want them to. Hide the standard ones behind more and show yours on the toolbar.
- Note no PR needed or even core tiddler override, just alternate buttons to achieve what you want.
I can do “documentation PR’s for tiddlywiki.com”, but I am little rusty on PR’s for core tiddlers.