mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 06:13:17 +00:00
Docs for #2901
This commit is contained in:
parent
48e0186ba9
commit
37cbaa08f1
15
editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid
Normal file
15
editions/dev/tiddlers/new/Hook__th-editing-tiddler.tid
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user