I want to add several actions into the save-tiddler-actions macro found inside $:/core/ui/EditTemplate.
I know that I could clone the whole tiddler and edit the macro, and override the default tiddler with my version, but if the core get an update I will need to do it again. I tried to import the macro defs with an import pragma and override the save-tiddler-actions, then transclude the content of the $:/core/ui/EditTemplate minus the macro defs with a pragma (to keep my override), but it didnt work. Is that possible ?
Here’s my (failed) attempt :
\import [[$:/core/ui/EditTemplate]]
\define save-tiddler-actions()
<!-- reuse the default actions -->
<<save-tiddler-actions>>
<!-- new actions -->
<$action-sendmessage $message="tm-add-tag" $param="test"/>
\end
$$text/vnd.tiddlywiki
\rules except macrodef
{{$:/core/ui/EditTemplate}}
$$