Why i can't even add a Iframe in a block?
I try to add a chatbox on my website.. Java problem it seems...
Now i want to add :
<iframe
allowfullscreen
title="AI Chatbot"
role="dialog"
id="ICG-iframe"
allow="accelerometer; autoplay; camera; display-capture; encrypted-media; fullscreen; gamepad; geolocation; gyroscope; hid; identity-credentials-get; idle-detection; local-fonts; magnetometer; microphone; midi; otp-credentials; payment; picture-in-picture; publickey-credentials-get; screen-wake-lock; serial; storage-access; usb; window-management; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts allow-top-navigation allow-top-navigation-by-user-activation"
src="https://app.insertchat.com/embed/6b78eb06-6727-4c39-84ae-425f5234c214"
style="display: block; border: 0; overflow: hidden; height: 100%; width: 100%; background-color: #fff;">
</iframe>
Also not possible... Or can someone halp me?
It's for this page: https://busimatch.club/chat-with-ai-busibot
-
-
·
LeonidS
- ·
Hello @Busimatch !
Usually, the iframe tag is exclduded form the edotir due to the lack of security. It's better to work with it using the HTML files of your template.
-
·
LeonidS
-
- · Mayki
- ·
Not the topic but I have to ask...
Is this overflow ever get addressed by UNA team?
-
- · Busimatch
-
·
In reply to Mayki
- ·
What do you mean,i just want to add a AI bot from interchat.
-
- · Wise
- ·
Use a RAW block. You can not use a HTML block.
-
- · Busimatch
-
·
In reply to Wise
- ·
Iframe is Html, right?
Also RAW is not working.
The site won't accept the code...
-
- · Wise
- ·
HTML block uses a sanitizer to stop malicious codes, like script tags, iframe, etc, since html editor is used sitewide. Htmlpurifier is the plugin used.
Anyhow.... yea, iframe is html. I'm not sure if that was a smart assed remark or you were asking a question... but either way, on my site that code saves in a raw block. So I don't know what else to say. Look in webserver error logs and see what is blocking the save.
-
-
·
LeonidS
-
·
In reply to Busimatch
- ·
You may try to disable the mod_security module for the studio folderon your server. It's better to ask hosting support to do that.
-
·
LeonidS
-
-
·
LeonidS
-
·
In reply to Mayki
- ·
Hello @Mayki !
Could you please specify your OS and browser? I couldn't reproduce it on the latest Chrome in Windows 10.
-
·
LeonidS
-
- · Busimatch
-
·
In reply to LeonidS
- ·
ok, thnx
-
- · Mayki
-
·
In reply to LeonidS
- ·
Hello @LeonidS , the above screenshot is from Android phone
-
-
·
LeonidS
-
·
In reply to Mayki
- ·
Yep, reproduced it too. Thnx for signal https://github.com/unacms/una/issues/4828 !
-
·
LeonidS