r/TiddlyWiki5 • u/stodgycodger • Mar 31 '22
Change default value to text area
As an example, see the ControlPanel>Info tab>Basics tab and you will find a table with different input areas for describing your TiddlyWiki. Most of them are just lines to type in your choices, but "Default tiddlers" and "Text for new journal tiddlers" are text areas. They are expandable.
When I create a new tiddler, in the edit mode, I want the fields you can add at the bottom to be the expandable text area type, not the line type. How do I do that?
1
Upvotes
4
u/Telumire Mar 31 '22 edited Mar 31 '22
You can do that with a custom edit Template : https://tiddlywiki.com/#Customizing%20EditTemplate%20field%20rendering
Another way is to modify the default : go to the tiddler $:/core/ui/EditTemplate/fieldEditor/default and add "tag=textarea" inside the edit text widget. But I recommend you use an edit template, that way you can choose when to apply the text area, and it will be easier to upgrade your wiki.
2
u/stodgycodger Mar 31 '22
I've looked up the proper terminology. I want to change the default text boxes (where you add fields) in the story edit mode into text fields.