I would post this PR myself if I could, but my abilities are limited to doc PRs so, alas, I’m hoping someone can help and post this as a PR:
The tiddler $:/core/ui/Buttons/delete ends with a redundant empty line.
This can be compared to e.g $:/core/ui/Buttons/close which does not end with an empty line.
Could someone please make a PR with that redundant empty line removed?
Yeah… an odd request, here’s the background:
I’m creating a plugin for a very useful feature that I’ve been using every day for years. I want to share it with the community but for it to work as a plugin, that empty line mustn’t be there. Basically, the plugin will rely on doing an overwrite of the delete button code via the following trick but the define pragma cannot have an empty line below </$button>
(and even if it could, it would still not be optimal for other reasons):
\define remove()
</$button>
\end
<$let newtext={{{ [[$:/core/ui/Buttons/delete]get[text]removesuffix<remove>addsuffix<insert>] }}} > ...
Thank you!