12. drop-site

drop-site(key, value, ..., key, value)

Inserts a button in generated content which can be used to execute a command (see Chapter 6, Commands written in the Java™ programming language in XMLmind XML Editor - Commands). Identical to command-button except that:

Example:

br|date:after {
    display: block;
    content: drop-site(text, "Drop a screen shot here",
                       icon, url(drop.gif),
                       icon-position, right,
                       command, "paste",
                       parameter, "after <?xml version='1.0'?><screenShot \
                           xmlns='http://www.xmlmind.com/xmleditor/schema/bugreport' \
                           image='%{value}'/>");
}