1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid

16 lines
447 B
Plaintext
Raw Normal View History

2017-06-29 08:05:11 +00:00
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