1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid
2017-06-29 09:05:11 +01:00

16 lines
447 B
Plaintext

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