tagPrompt

0 views
Skip to first unread message

Swampy

unread,
Jan 2, 2008, 5:51:56 PM1/2/08
to TiddlyWiki
Hi,

I see it in the edit template, "macro='message
views.editor.tagPrompt," and I infer that this displays the prompt at
the bottom when editing a tiddler. But for the life of me, I cannot
find where or how one modifies the text in the tag prompt. Can one of
you geniuses out there point the way?

Thanks.

Swampy

Eric Shulman

unread,
Jan 2, 2008, 6:27:33 PM1/2/08
to TiddlyWiki
1) Put the following javascript in a tiddler (e.g., [[ConfigTweaks]])
config.views.editor.tagPrompt="whatever you want";
2) Tag this tiddler with "systemConfig"
3) Save and reload your document.

During startup, the tiddler is invoked as a "plugin" (that's what the
"systemConfig" tag means), and the line of javascript is performed,
setting the tagPrompt value to "whatever you want".

Then, when a tiddler editor is displayed, the macro="message ..." in
the [[EditTemplate]] uses the value that was assigned by the
ConfigTweaks plugin.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
Reply all
Reply to author
Forward
0 new messages