mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 18:40:28 +00:00
648c7ccd1f
* add tabindex attr to edit-text documentation * add tabindex to edit widget documentation
21 lines
797 B
Plaintext
21 lines
797 B
Plaintext
title: EditWidget
|
|
created: 201310241419
|
|
modified: 20150220161220000
|
|
tags: Widgets
|
|
caption: edit
|
|
|
|
! Introduction
|
|
|
|
The edit widget provides a general purpose interface for editing a tiddler. It dynamically chooses the appropriate widget depending on the type of the tiddler (currently either the EditTextWidget or the EditBitmapWidget).
|
|
|
|
! Content and Attributes
|
|
|
|
The content of the `<$edit>` widget is ignored.
|
|
|
|
|!Attribute |!Description |
|
|
|tiddler |The tiddler to edit (defaults to the [[current tiddler|Current Tiddler]]) |
|
|
|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 |
|