mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-04 07:01:42 +00:00
Add old tiddler to th-saving-tiddler hook
Addresses https://github.com/Jermolene/TiddlyWiki5/pull/4434#issuecomment-645939182
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
created: 20150908150314994
|
||||
modified: 20170209145506427
|
||||
modified: 20200618114855781
|
||||
tags: HookMechanism
|
||||
title: Hook: th-saving-tiddler
|
||||
type: text/vnd.tiddlywiki
|
||||
@@ -8,7 +8,8 @@ This hook allows plugins to inspect or modify tiddlers before they are saved via
|
||||
|
||||
Hook function parameters:
|
||||
|
||||
* ''tiddler'': tiddler object about to be saved
|
||||
* ''newTiddler'': tiddler object about to be saved
|
||||
* ''oldTiddler'': tiddler object of draft tiddler that is being saved (from v5.1.23)
|
||||
|
||||
Return value:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user