Update the link that corresponds to the ID.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 'updateLink' link updating API |
| id | String | Link ID to update |
| url | String | URL of the hyperlink |
| text | String | Text to update |
| title | String | Title of the hyperlink |
| target | String | Target (_blank, _top, _parent, _self) |
Example:
editor.execCommand('updateLink', 'se_287be74c-119f', 'http://www.synapeditor.com', 'Go to the Synap Editor homepage', 'Synap Editor', '_blank');