Parameters | context | The object that is being edited. |
| exported_field | The attribute being edited. This should be
a field from an interface of the form ISomeInterface['fieldname'] |
| title | The string to use as the link title. |
| tag | The HTML tag to use. |
| css_class | The css class value to use. |
| max_width | The maximum width of the rendered text before it is
truncated with an '...'. |
| truncate_lines | The maximum number of lines of text to display
before any overflow is truncated with an '...'. |
| content_box_id | The HTML id to use for this widget.
Defaults to edit-<attribute name>. |
| edit_view | The view name to use to generate the edit_url if
one is not specified. |
| edit_url | The URL to use for editing when the user isn't logged
in and when JS is off. Defaults to the edit_view on the context. |
| edit_title | Used to set the title attribute of the anchor. |
| default_text | Text to show in the unedited field, if the
parameter value is missing or None. |
| initial_value_override | Use this text for the initial edited
field value instead of the attribute's current value. |
| width | Initial widget width. |