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:
@@ -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"}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user