...
Code Block | ||||
---|---|---|---|---|
| ||||
const synapEditorConfig = { //... /** * 에디터 자동링크 사용 여부를 설정합니다. */ 'editor.autoLink': true, 'editor.autoLink': true, //... }; |
editor.autoLink: true (기본값) | editor.autoLink: false |
---|---|
자동 링크 target 기본 값 설정
Status | ||||
---|---|---|---|---|
|
'editor.autoLink.defaultTarget'값을 설정하여 자동 링크에 설정 될 target값을 변경할 수 있습니다. (기본값: '_blank')
Code Block | ||||
---|---|---|---|---|
| ||||
const synapEditorConfig = {
//...
'editor.autoLink.defaultTarget': '_blank', // '_self' | '_parent' | '_top'
//...
}; |
...
...
속성값 | 설명 |
---|---|
_blank (기본값) | 링크된 문서를 새로운 윈도우나 탭(tab)에서 엽니다. |
_self | 링크된 문서를 링크가 위치한 현재 프레임에서 엽니다. |
_parent | 링크된 문서를 현재 프레임의 부모 프레임에서 엽니다. |
_top | 링크된 문서를 현재 윈도우 전체에서 엽니다. |