open-web-reference-modal-for-insert

How to get open-web-reference-modal-for-insert

Depend on fontoxml-web-references to make this operation available.

Opens the web reference modal for inserting a web reference.

If this operation is executed while the selected text is a valid URL, the modal is skipped and the url step data property is set to that URL directly. This simplifies the process of converting a selected plain text URL to a reference.

Imported operation data

Name Type Description
modalIcon String

(Optional) The icon to show at the top of the modal. This should be one of the Fontawesome (v4.7.0) icons. Do not include the fa- prefix, just use the icon names as-is from the documentation.

modalPrimaryButtonLabel String

(Optional) The label for the primary button. Defaults to t__Insert.

modalTitle String

(Optional) The title being shown at the top of the modal. Defaults to t__Edit hyperlink.

url String

(Optional) The url to be inserted. This will be empty when inserting a new web reference.

Exported operation data

Name Type Description
url String

The URL as entered by the user or selected in the content if the modal was skipped.