1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-16 07:17:21 +00:00

Extended edit macro

Now it accepts a default value for the field if the tiddler doesn't
exist. It also allows the forcing of a single line input control
This commit is contained in:
Jeremy Ruston
2012-07-13 13:02:14 +01:00
parent 6e86de5652
commit 36ff53f40b
2 changed files with 22 additions and 16 deletions

View File

@@ -16,7 +16,9 @@ exports.info = {
name: "edit",
params: {
field: {byPos: 0, type: "text"},
tiddler: {byName: true, type: "tiddler"}
tiddler: {byName: true, type: "tiddler"},
singleline: {byName: true, type: "text"},
"default": {byName: true, type: "text"}
}
};