2013-10-31 22:03:40 +00:00
title: EditWidget
created: 201310241419
2015-02-24 17:41:16 +01:00
modified: 20150220161220000
2014-09-11 00:06:19 +01:00
tags: Widgets
caption: edit
2013-10-31 22:03:40 +00:00
! 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 |
2015-02-24 17:41:16 +01:00
|tiddler |The tiddler to edit (defaults to the [[current tiddler|Current Tiddler]]) |
2013-10-31 22:03:40 +00:00
|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 |
2019-03-09 18:45:59 +01:00
|tabindex |Sets the `tabindex` attribute of the input or textarea to the given value |