[TW5] tabindexes for tiddler tab-navigation

27 views
Skip to first unread message

Simon Huber

unread,
Mar 17, 2018, 4:30:17 AM3/17/18
to TiddlyWikiDev
Hi @all,

I'm trying to add tabindexes as attributes to the tiddler title input, the tag input and the text input areas

The title field should have tabindex 1
The tag field 2
The text field 3

The index of the current Tiddler in the storyriver should then be added to the applied tabindex so that each tiddler has different tabindexes


This allows to use tab to jump directly from the title to the tag input (that works also without this), but then jump directly to the text input field, ignoring the tool bar

Where I'm struggling is adding the tabindexes from within edit-text.js, edit.js, simple.js, framed.js ... it should also work with CodeMirror

What I'm doing at the moment is passing the indexes from the <$edit-text widgets within EditTemplate/title (tabindex="1"), macros/tag-picker (tabindex="2") and EditTemplate/editor (tabindex="3")

In simple.js I'm adding the tabindex to the title and tag input, that works


What's the right place to look for to add it to the text input (textarea) ?


all the best,
Simon
Reply all
Reply to author
Forward
0 new messages