<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Integration into TinyMCE tip</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Integration into TinyMCE tip</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 02:38:29 +0000</pubDate>

<item>
<title>yuniar on "Integration into TinyMCE tip"</title>
<link>https://www.machform.com/forums/topic/integration-into-tinymce-tip#post-918</link>
<pubDate>Fri, 29 Feb 2008 11:00:00 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">918@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Great info, thanks for sharing!&#60;/p&#62;
&#60;p&#62;About that path problem... try this, remove &#60;strong&#62;relative_urls : false&#60;/strong&#62; from your init declaration and replace it with &#60;strong&#62;convert_urls : false&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;That should preserve all your URL. More info here:&#60;br /&#62;
&#60;a href=&#34;http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Paths.2FURL.27s_are_incorrect.2C_I_want_absolute.2Frelative_URLs.3F&#34; rel=&#34;nofollow&#34;&#62;http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Paths.2FURL.27s_are_incorrect.2C_I_want_absolute.2Frelative_URLs.3F&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>MatthewGrdinic on "Integration into TinyMCE tip"</title>
<link>https://www.machform.com/forums/topic/integration-into-tinymce-tip#post-917</link>
<pubDate>Fri, 29 Feb 2008 01:50:43 +0000</pubDate>
<dc:creator>MatthewGrdinic</dc:creator>
<guid isPermaLink="false">917@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hopefully this hasn't already been posted. &#60;/p&#62;
&#60;p&#62;If you want to use this great software with TinyMCE, you'll have to tell TinyMCE the iFrame tags are valid. Otherwise, when you try to submit the form embed code, TinyMCE erases the iFrame tags. See more about this behavior:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements&#34; rel=&#34;nofollow&#34;&#62;http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Anyway, to get the embed to work, add this to your TinyMCE.init declaration:&#60;/p&#62;
&#60;p&#62;extended_valid_elements : &#34;iframe[height&#124;allowTransparency&#124;frameborder&#124;scrolling&#124;style&#124;border&#124;src&#124;title]a[href&#124;title]&#34;&#60;/p&#62;
&#60;p&#62;Thus, mine looks like this in its entirety:&#60;br /&#62;
tinyMCE.init({&#60;br /&#62;
	mode : &#34;textareas&#34;,&#60;br /&#62;
	theme : &#34;advanced&#34;,&#60;br /&#62;
	content_css : &#34;/main-tinyMCE.css&#34;,&#60;br /&#62;
	relative_urls : false,&#60;br /&#62;
	extended_valid_elements : &#34;iframe[height&#124;allowTransparency&#124;frameborder&#124;scrolling&#124;style&#124;border&#124;src&#124;title]a[href&#124;title]&#34;&#60;br /&#62;
});&#60;/p&#62;
&#60;p&#62;similarly, you could also just use: iframe[*]&#60;/p&#62;
&#60;p&#62;Now when you click the edit HTML button and copy/paste the embed code from the admin section of MachForm, TinyMCE will accept the iFrame tags and properties. &#60;/p&#62;
&#60;p&#62;There is one small issue, perhaps someone can chime in here. &#60;/p&#62;
&#60;p&#62;I loose the:&#60;br /&#62;
&#60;a href=&#34;http://10.16.3.84/modules/machform/view.php?id=1&#34; title=&#34;&#34;&#62;&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In short, TinyMCE rewrites the include:&#60;br /&#62;
&#38;lt;iframe height=&#34;756&#34; allowTransparency=&#34;true&#34; frameborder=&#34;0&#34; scrolling=&#34;no&#34; style=&#34;width:100%;border:none&#34; src=&#34;http://10.16.3.84/modules/machform/embed.php?id=1&#34; title=&#34;&#34;&#38;gt;&#60;a href=&#34;http://10.16.3.84/modules/machform/view.php?id=1&#34; title=&#34;&#34;&#62;&#60;/a&#62;&#38;lt;/iframe&#38;gt;&#60;/p&#62;
&#60;p&#62;into:&#60;br /&#62;
&#38;lt;p&#38;gt;&#38;lt;iframe height=&#34;756&#34; allowTransparency=&#34;true&#34; frameborder=&#34;0&#34; scrolling=&#34;no&#34; style=&#34;width:100%;border:none&#34; src=&#34;/modules/machform/embed.php?id=1&#34;&#38;gt;&#38;lt;/iframe&#38;gt;&#38;lt;/p&#38;gt;&#60;/p&#62;
&#60;p&#62;This doesn't seem to break anything, as both URL's seem to work, but it feels wrong to me. Any ideas?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
