From 37cbaa08f155e14484723fa829c8f7c400ec23f9 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 29 Jun 2017 09:05:11 +0100 Subject: [PATCH] Docs for #2901 --- .../dev/tiddlers/new/Hook__th-editing-tiddler.tid | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid diff --git a/editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid b/editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid new file mode 100644 index 000000000..508d5ae75 --- /dev/null +++ b/editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid @@ -0,0 +1,15 @@ +created: 20170629080243049 +modified: 20170629080243049 +tags: HookMechanism +title: Hook: th-editing-tiddler +type: text/vnd.tiddlywiki + +This hook allows plugins to inspect tiddlers before they are edited via the ''edit'' toolbar button. + +Hook function parameters: + +* ''event'': DOM event object that triggered the edit + +Return value: + +* ''editTiddler'': ''true'' to continue with editing the tiddler as usual, ''false'' to silently suppress editing