Auto Link Insertion
Release 2.5.0 and above.
Auto link insertion is a feature that automatically inserts a link when Space or Enter is entered after text that is recognized as a link.
Example
http://, https://, www. + TEXT + top-level domain (.com, .co.kr, ...)
By setting editor.autoLink to false, you can configure so that links are not automatically inserted. (default: true)
const synapEditorConfig = {
//...
'editor.autoLink': true,
//...
};
<table>
<thead>
<tr><th><code>editor.autoLink: true</code> (default)</th><th><code>editor.autoLink: false</code></th></tr>
</thead>
<tbody>
<tr>
<td>


Auto Link Default Target Setting
Release 2.18.2403, 3.0.2403 and above.
By setting editor.autoLink.defaultTarget, you can change the target value to be set on auto links. (default: '_blank')
const synapEditorConfig = {
//...
'editor.autoLink.defaultTarget': '_blank', // '_self' | '_parent' | '_top'
//...
};
| Attribute Value | Description |
|---|---|
_blank (default) | Opens the linked document in a new window or tab. |
_self | Opens the linked document in the current frame where the link is located. |
_parent | Opens the linked document in the parent frame of the current frame. |
_top | Opens the linked document in the full current window. |