From 648c7ccd1f0266b792e4a06a28dbca3f9e4c9fff Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Sat, 9 Mar 2019 18:45:59 +0100 Subject: [PATCH] Add documentation for edit-text tabindex attribute (#3833) * add tabindex attr to edit-text documentation * add tabindex to edit widget documentation --- editions/tw5.com/tiddlers/widgets/EditTextWidget.tid | 3 ++- editions/tw5.com/tiddlers/widgets/EditWidget.tid | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid b/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid index e2bcfee59..c1884f1b3 100644 --- a/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid @@ -23,7 +23,8 @@ The content of the `<$edit-text>` widget is ignored. |class |A CSS class to be assigned to the generated HTML editing element | |placeholder |Placeholder text to be displayed when the edit field is empty | |focusPopup |Title of a state tiddler for a popup that is displayed when the editing element has focus | -|focus |Set to "yes" or "true" to automatically focus the editor after creation | +|focus |Set to "yes" or "true" to automatically focus the editor after creation | +|tabindex |Sets the `tabindex` attribute of the input or textarea to the given value | |tag |Overrides the generated HTML editing element tag. For a multi-line editor use `tag=textarea`. For a single-line editor use `tag=input` | |type |Overrides the generated HTML editing element `type` attribute | |size |The size of the input field (in characters) | diff --git a/editions/tw5.com/tiddlers/widgets/EditWidget.tid b/editions/tw5.com/tiddlers/widgets/EditWidget.tid index 22b5c8836..04db79002 100644 --- a/editions/tw5.com/tiddlers/widgets/EditWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/EditWidget.tid @@ -17,3 +17,4 @@ The content of the `<$edit>` widget is ignored. |field |The field to edit (defaults to `text`). Takes precedence over the `index` attribute | |index |The index to edit | |class |A CSS class to be added the generated editing widget | +|tabindex |Sets the `tabindex` attribute of the input or textarea to the given value |