Michael Huebner wrote:
> 
> when clicking the insert-button, the list of possible sub-element types 
> is displayed.
> If this list contains only one entry, this entry could be chosen 
> automatically without showing the list.
> 
> There could be a parameter "show-list" to control this behavior 
> ("always"=default, "on-multiple-entries").

When you know that an element has only one possible child, we recommend 
that you use command-button() rather than insert-button().

Example:

---
command-button(text, "Insert Foo Here",
                command, "insert",
                parameter, "into foo")
---


Reply via email to