HTML TAG
<iframe> 태그 삽입 허용
'editor.contentFilter.allowIFrame' 설정을 false로 설정하면 <iframe> 태그 삽입을 제한하여 자동으로 태그를 제거합니다.allowIframe' 옵션을 true 로 설정하면 <iframe> 태그 삽입을 허용합니다. (기본값 false)
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowIframe': false
} |
<embed> 태그 삽입 허용
'editor.contentFilter.allowEmbed' 옵션을 true 로 설정하면 <embed> 태그 삽입을 허용합니다. (기본값 false)
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowEmbed': false
} |
<object> 태그 삽입 허용
'editor.contentFilter.allowIFrame' 옵션을 true 로 설정하면 <object> 태그 삽입을 허용합니다. (기본값 false)
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowObject': false
} |
<link> 태그 삽입 허용
Status |
---|
colour | Yellow |
---|
title | 릴리즈 2.7.0 이상 |
---|
|
'editor.contentFilter.
allowScript' 설정을 false로 설정하면 <script> 태그 삽입을 제한하여 자동으로 태그를 제거합니다.allowLink' 옵션을 true로 설정하면 <link> 태그 삽입을 허용합니다. (기본값 false) Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowScriptallowLink': false
} |
...
HTML
...
SCRIPT & EVENT ATTRIBUTES
Warning |
---|
|
옵션사용으로 인해 발생하는 보안문제는 책임질 수 없습니다. |
<script> 태그 삽입 허용
'editor.contentFilter.allowEventAttribute' 설정을 true로 설정하면 HTML 태그의 Event를 제거합니다.allowScript' 옵션을 true로 설정하면 <script> 태그 삽입을 허용합니다. (기본값 false)
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowEventAttributeallowScript': truefalse
} |
이벤트 속성(Attribute) 삽입 허용
Status |
---|
colour | Yellow |
---|
title | 릴리즈 2.7.0 이상 |
---|
|
'editor.contentFilter.
allowEventAttribute'
설정을 true로 옵션을 true로 설정하면 HTML 태그의
Event를 유지합니다이벤트 속성(onclick, onload, onchange, ....)을 허용합니다. (기본값 false)
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowEventAttribute': false
} |
...