Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.contentFilter.allowScript': false
}



Status
colourYellow
title릴리즈 2.7.0 이상
 If you set 'editor.contentFilter.allowScript' value to falseinsertion of <a> tag by the user is restricted and the tag is automatically removed.

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.contentFilter.allowLink': false
}


HTML EVENT

Status
colourYellow
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
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.contentFilter.allowEventAttribute': false
}