Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

If you set "editor.contentFilter.allowIFrame" value to false, insertion of <iframe> tag by the user is restricted and the tag is automatically removed.

synapeditor.config.js
{
	'editor.contentFilter.allowIFrame': false
}


If you set "editor.contentFilter.allowIScript" value to false, insertion of <script> tag by the user is restricted and the tag is automatically removed.

synapeditor.config.js
{
	'editor.contentFilter.allowScript': false
}

RELEASE 2.3.0 OR ABOVE

RELEASE 2.7.0 OR ABOVE If you set 'editor.contentFilter.allowScript' value to falseinsertion of <a> tag by the user is restricted and the tag is automatically removed.

synapeditor.config.js
{
	'editor.contentFilter.allowLink': false
}

HTML EVENT

RELEASE 2.7.0 OR ABOVE If you set 'editor.contentFilter.allowEventAttribute' value to true, you can use event attributes (onclick, onload, onchange, ....) in HTML tags.

synapeditor.config.js
{
	'editor.contentFilter.allowEventAttribute': false
}
  • No labels