-
I'd like to allow iframe to be rendered when using HTML editor of pages.
To do it, I need to modifyserver/modules/rendering/html-security/rendering.js
and add this to whitelist:iframe: ['src', 'class', 'style']
My only problem is that this is to be configured in a file that is in
/app/code
.
Is there a way for me to do it? -
@ruihildt In the Admin page of WikiJS -> General, there is a security section:
-
@ruihildt Can you try this comment that says:
I'm able to use iframes without issue in HTML and Markdown pages. Note that you first need to disable HTML sanitization under Administration -> Rendering -> (HTML -> HTML) -> Security.
-
@girish said in Allow iframe on wiki.js:
@ruihildt Can you try this comment that says:
man, you made my day!