Page tree
Skip to end of metadata
Go to start of metadata

Update the link that corresponds to the ID.


Parameters:

NameTypeDescription
actionNameString'updateLink' link updating API
idStringLink ID to update
urlString

URL of the hyperlink

textStringText to update
titleStringTitle of the hyperlink
targetString

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');
  • No labels