How to prevent the title from being automatically selected when editing tiddler

If the title is automatically focused and the edit mode is entered, the title text will be automatically selected. This seems weird to me. Is this intentional? How can I make it unselected? @jeremyruston

In $:/ControlPanel > Info > Basic, there is a setting for “Default focus field for new tiddlers”. You can choose from: title, tags, text, type, fields. Note that, although the setting prompt says “… for new tiddlers”, it also applies when editing existing tiddlers. Also note that if you don’t want ANY field to get the initial focus, you can directly edit $:/config/AutoFocus and clear the text field content.

enjoy,
-e

2 Likes

It seems that tiddlywiki has handled the default value. After clearing the config content, create a new tiddler will still select the title

Another topic,


If the value here is cleared, the newly created tiddler will not be able to exit, even if the title is entered

Did you test with tiddlywiki.com or an other version of TW?

There is only 1 field which must to be defined to create a valid tiddler. That’s the title-field. Without a title, there is no tiddler.

At TW-com for me it does create a valid tiddler. If the title field is empty the default editor will not allow you to save the tiddler.

Again. Did you test with tiddlywiki.com – For me it works as expected. If I set the value of $:/config/AutoFocus to an empty value it does not select any field.

You can not delete that tiddler, because it is a shadow tiddler.

Same for me.

Same for me, but when “Title of new tiddlers” config item is empty, the cancel button of any new tiddler won’t work either. Delete button works though.

Fred

That’s new. You should post an issue at GitHub for this one, or it will be forgotten. I have never seen that till now. It’s not a big problem, but we should have a look at it, if there is time.