As the security concern, HTML content may include XSS script so to prevent this issue, CKeditor provide the configuration as ACF 'advance content filtering'
Can I add this configuration? if yes how to config it.
Thank in advance
Refer>> https://ckeditor.com/docs/ckeditor4/latest/guide/dev_best_practices.html#validate-preview-content
Hi , instead of adding this configuration you can add a javascript script which filters whether the text sent by ckeditor presents a vulnerability or not
var pattern = /<(.*)>/;
function hasHtmlTags(string) { return pattern.test(string);};
if (hasHtmlTags(userData)) { // Do something?}