Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Arve Posted July 11, 2016 Posted July 11, 2016 I'm unable to find any documentation on this, but how can I allow forum users to embed web pages using an iframe? Under Customization - Editor: Settings - Advanced there is a field for "Allowed iframe bases", but I can't see any button that I can add to the CKEditor to allow this. The potiential security issues that comes with iframes is not really a concern in this case. EDIT: Running IPB 4.1.13.2.
Nathan Explosion Posted July 11, 2016 Posted July 11, 2016 ACP -> Customization -> Toolbars -> Add Button -> Custom Set the 'Use option' on (and various other fields as you wish) Put this in the html: <iframe src="{option}"></iframe> Save, drag to the editor, test.
Arve Posted July 12, 2016 Author Posted July 12, 2016 9 hours ago, Nathan Explosion said: ACP -> Customization -> Toolbars -> Add Button -> Custom Set the 'Use option' on (and various other fields as you wish) Put this in the html: <iframe src="{option}"></iframe> Save, drag to the editor, test. This worked-ish. The forum does however replace the URL with about:blank, even when the site I'm linking to is whitelisted.
Nathan Explosion Posted July 12, 2016 Posted July 12, 2016 Works fine here - I'm not touching the thing you mentioned (the iframe bases) at all. So.... what exactly have you entered in the iframe bases? what link have you tested in the button?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.