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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

셀렉션된 텍스트에 링크를 설정합니다.

캐럿 상태인 경우 입력받은 텍스트 혹은 URL로 링크를 입력합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
urlString

링크 URL

textString입력될 텍스트
titleString링크 설명
targetString

설정할 타겟 (_blank, _top, _parent, _self)


Example:

editor.execCommand('insertLink', 'http://www.synapeditor.com', '사이냅에디터 홈페이지로 가기', '사이냅에디터 홈페이지', '_blank');
  • No labels