If you set "editor.contentFilter.allowIFrame" value to false, insertion of <iframe> tag by the user is restricted and the tag is automatically removed.
...
If you set "editor.contentFilter.allowIScript" value to false, insertion of <script> tag by the user is restricted and the tag is automatically removed.
| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
{
'editor.contentFilter.allowScript': false
} |
| Status |
|---|
| colour | Yellow |
|---|
| title | 릴리즈 2.7.0 이상 |
|---|
|
If you set 'editor.contentFilter.allowScript' value to false, insertion of <a> tag by the user is restricted and the tag is automatically removed.| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
{
'editor.contentFilter.allowLink': false
} |
HTML EVENT
| Status |
|---|
| colour | Yellow |
|---|
| title | 릴리즈 2.7.0 이상 |
|---|
|
If you set 'editor.contentFilter.allowEventAttribute' value to true, you can use event attributes (onclick, onload, onchange, ....) in HTML tags.| Code Block |
|---|
| language | js |
|---|
| theme | Emacs |
|---|
| title | synapeditor.config.js |
|---|
|
{
'editor.contentFilter.allowEventAttribute': false
} |