HTML TAG
'editor.contentFilter.allowIFrame' 설정을 false로 설정하면 사용자 iframe tag 삽입을 제한하여 자동 태그 설정하면 <iframe> 태그 삽입을 제한하여 자동으로 태그를 제거합니다.
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowIFrame': false
} |
'editor.contentFilter.allowScript' 설정을 false로 설정하면 <script> 태그 삽입을 제한하여 자동으로 태그를 제거합니다.
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowIFrameallowScript': false
} |
HTML EVENT
'editor.contentFilter.allowEventAttribute' 설정을 true로 설정하면 HTML 태그의 Event를 유지합니다.
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowEventAttribute': true
} |
'editor.contentFilter.allowIScript' 설정을 false로 설정하면 사용자 script tag 삽입을 제한하여 자동 태그 자동으로 태그를 제거합니다.
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | synapeditor.config.js |
---|
|
{
'editor.contentFilter.allowScriptallowEventAttribute': false
} |