Datatable Editor inline embeded iframe

Datatable Editor inline embeded iframe

fvsademfvsadem Posts: 1Questions: 1Answers: 0
edited July 2020 in Free community support

Hi,

I use ckeditor to save a rich text in my database with Datatable Editor.

ckeditor work great with the inline editor but when i would like to add an iframe to my rich text, it's was escaped !
So this is useless...

I tried to use a simple text field instead of ckeditor but the tag <iframe> was also escaped.

Is there a setting for not escaping a field in datatable Editor ? or others solutions ?

Thanks

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    What are you using on the server-side? If you are using one of our libraries, it is probably seeing that as a possible XSS attack. You could add ->xss(false) (PHP) or .Xss(false) (.NET) to the Field parameter in question to stop it doing that encoding.

    Allan

This discussion has been closed.