Hi Michael,<div>thanks for the info.</div><div><br></div><div>As Yanel is now github based, I'd recommend the following for such code change suggestions in future:</div><div><br></div><div>- You create an issue with the content of your mail</div>
<div>- You send an email to this distribution list with just the link to the github issue</div><div>- people can reply via mail or via commenting the issue</div><div><br></div><div>and now the important part:</div><div>- if you commit your change to Yanel, you add this into the commit message: "closes #132" (where 132 is an example for the issue ID).</div>
<div>- if you push your local branch to github, github automatically closes the issue #132 and makes a hyperlink to the commit.</div><div>- this way people can very easily read and understand what has been changed and they can also jump to the code very easily.</div>
<div><br></div><div>Cheers</div><div>Balz<br><br><div title="signature"> </div><div class="gmail_quote">On Wed, Oct 26, 2011 at 4:27 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>
<br>
Somebody recently asked me how to make TinyMCE not drop iframe code when using the HTML mode.<br>
I think the following patch should work:<br>
<br>
git diff src/resources/tinymce/htdocs/<u></u>js/tinymceinit_3_3_5_1.js<br>
diff --git a/src/resources/tinymce/<u></u>htdocs/js/tinymceinit_3_3_5_1.<u></u>js b/src/resources/tinymce/<u></u>htdocs/js/tinymceinit_3_3_5_1.<u></u>js<br>
index 3784be5..15350f9 100644<br>
--- a/src/resources/tinymce/<u></u>htdocs/js/tinymceinit_3_3_5_1.<u></u>js<br>
+++ b/src/resources/tinymce/<u></u>htdocs/js/tinymceinit_3_3_5_1.<u></u>js<br>
@@ -7,6 +7,7 @@ tinyMCE.init({<br>
        theme_advanced_toolbar_align : "left",<br>
        theme_advanced_statusbar_<u></u>location : "bottom",<br>
        theme_advanced_resizing : true,<br>
+        extended_valid_elements : "iframe[src|width|height|name|<u></u>align]",<br>
        entity_encoding : "numeric",<br>
        file_browser_callback : 'yanelLookupResource',<br>
 });<br>
<br>
I will test it some more and if no problems or objections, then I would commit/push it.<br>
<br>
Thanks<br>
<br>
Michael<br><font color="#888888">
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-<u></u>bin/mailman/listinfo/yanel-<u></u>development</a><br>
</font></blockquote></div><br></div>