How to switch off TinyMCE iframe in ChronoForms 7

How to switch off TinyMCE iframe in ChronoForms 7.

Overview

The problem is that TinyMCE uses an iframe by default in the Text Area field, which may not be desired for certain layouts or integrations.
Disable the iframe mode by modifying the TinyMCE configuration in the ChronoForms plugin file, specifically in the g3.tinymce.js file, to use inline editing instead of iframe-based editing.

Co Colnem 30 Jul, 2026
Answer
1 Likes

Hi

How to use iframe in Text Area field on Joomla 6 + CF7 (may be CF8) + TinyMCE ? Like this...

File:  \plugins\system\chronog3_plg\chronog3\assets\js\g3.tinymce.js

How to switch off TinyMCE iframe in ChronoForms 7 image 1

Enjoy...

Max_admin Max_admin 12 Aug, 2026

Hi Colnem

Thanks for posting this one.

But why do you need to disable the iframe ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Co Colnem 13 Aug, 2026

Hi Max

"But why do you need to disable the iframe ?"

No. I need to disable sandbox to add an iframe in a textarea (insert an Openrunner map).

Is it possible to add an option in Textarea element with to able/disable sandbox?

Thanks

Max_admin Max_admin 28d ago

Hi Colnem

in v8 ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Co Colnem 28d ago

Hi

Yes. IN CF8 TextArea Element. So we'll use sandbox=true for some forms and sandbox=false for others. I've try with html attribute but it's doesn't work.

I think that you don't implemente CF7 to use with Joomla 6 without Joomla Plugin Compatibility.

So, I begin to transform my CF7 Forms to CF8, but it's not easy, because my forms are very complex. All is différent. Short codes are different. Spirit is différent.

Thanks

Max_admin Max_admin 25d ago

Hi Colnem

Please try this, in the Textarea HTML Attributes, you can add this new attribute:

data-settings={"sandbox_iframes":false}

The editor is supposed to load extra settings set in the settings data attribute of the textarea

v7 is not being developed anymore because the focus is on v8 which has the modern codebase and interface.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Co Colnem 23d ago

Hi, Max

This doesn't works in CF7 (HTML Tag Attributes behavior).

g3tinymce.js is commun to CF7 and CF8 and I use CF7 for many forms.

So, I have to keep sandbox:false in g3tinymce.js as long as I don't transform all my CF7 forms in cf8 forms.

Please, wait some weeks.

Sorry

Max_admin Max_admin 23d ago

Did you test it in v8 ? this is supported in v8 only now ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Co Colnem 22d ago

Hi

In CF8, it's not necessary to use HTML attributes. <iframe> is saved without sandbox_iframes:false in g3.tinymce.js

But I have two problems:

1 - Save Action: Syntax Error near 'my_table' at line 1... but It's work !!!

In Where Statement, I write id = '6952'Use {data.quote:param-name} to quote values in your where statement ??? I don't understand what it means.

2 - If I enable WYSIWIG editor in Textarea element and insert iframe like this...

<iframe width="100%" height="500" loading="lazy" src="https://www.openrunner.com/embed.html?code=513266383779616b334842566e694d55544d4c777448556647696843384a2f34777463414d3069525946303d3a3a688103388c94a7381466c122336ec849&lng=auto&unit=metric" style="border: none;"></iframe>

... Server answers...

... Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at wampserver@wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

All working in CF7...

Co Colnem 22d ago

In attachment, my test form...

Max_admin Max_admin 13d ago

Hi Colnem

1- the quote will be added automatically when you use a shortcode inside the WHERE statement box, but you can also add it manually:

id = {data.quote:param} // this will result in id = '123'

2- try to make the iframe URL shorter, maybe the main domain only, if it works then it's the URL format or length causing the issue, if not then it can be a server configuration issue, does it work when you force the sanebox_iframe to false in v8 ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply