I want my user to be able to put an iframe in the editor but Umbraco wont let me!
I tried configure the allows tags in tinyMceConfig to allow an iframe and it allows the Iframe and not the parameters? Am I doing something wrong?
I would suggest that you create a little macro (xslt is probably the easiest) which they can add it with. It'd make it easier to edit the properties than having to edit the raw HTML from the WYSIWYG
Do you have a copy of the XSLT code you used to insert the iframe macro?
I have an old Umbraco 4.11+ project I’d like to add an iframe to and would like to insert the iFrame via a macro as I get this error when I add the iFrame:
I’m not a Developer but can get my head around XSLT integration via macro if helped.
Bottom line, the version of TinyMCE/Tidy that ships with Umbraco 4.7 is broken by not allowing iframes even though they are allowed in the TinyMCE config. Tidy should not be stripping out the empty iframe tag. And, TinyMCE should not be removing content inside the iframe tag, which is your no frames content.
Iframe in TinyMce
Hi!
I want my user to be able to put an iframe in the editor but Umbraco wont let me!
I tried configure the allows tags in tinyMceConfig to allow an iframe and it allows the Iframe and not the parameters? Am I doing something wrong?
iframe[width|height|frameborder|scrolling|marginheight|marginwidth|src|style]
I would suggest that you create a little macro (xslt is probably the easiest) which they can add it with. It'd make it easier to edit the properties than having to edit the raw HTML from the WYSIWYG
That worked nicely :)
Thank you!
Hi Fredrik,
Do you have a copy of the XSLT code you used to insert the iframe macro?
I have an old Umbraco 4.11+ project I’d like to add an iframe to and would like to insert the iFrame via a macro as I get this error when I add the iFrame:
I’m not a Developer but can get my head around XSLT integration via macro if helped.
Regards, Robert
Bottom line, the version of TinyMCE/Tidy that ships with Umbraco 4.7 is broken by not allowing iframes even though they are allowed in the TinyMCE config. Tidy should not be stripping out the empty iframe tag. And, TinyMCE should not be removing content inside the iframe tag, which is your no frames content.
is working on a reply...