It looks like you're new here. If you want to get involved, click one of these buttons!
Is there a way to allow the youtube iFrame tag from the ckeditor plugin? I've added https://ckeditor.com/cke4/addon/youtube to the ckeditor but everytime I try to save a page the iframe tag gets sanitized/purified/removed.
Thanks in advance.
Take a look at the fuel/application/config/purifier.php settings. By default, there should be a couple iframe specific rules that are commented out:
You may also need to add
Thanks for your reply,
I don't think it's the purifier. I've already disabled it completely and the iframe is still deleted.
This is my purifier.php
Can it be that it is in the regular sanitizer?
Oh... CKEditor will automatically remove iframes. You may have to use a MarkItUp field type instead.
I've done everything to stop CKEditor remove the iframes. The iframe tags are in the post to the /fuel/pages/edit controller. I cannot figure out why the tags are still removed.
Is there a way to disable purifier and sanitzer completely? Just to check.
This is my editor.php
Is this field in the Pages module or your own Simple Module? If it's in your own Simple Module, you can try setting the sanitizing options like so:
This has a little documentation on that option under the "Additional Configuration Parameters":
Youtube iframes can be used with CKEditor, the Youtube plugin and Purifier.
You need to use the latest Fuel version that has HTML5_Purifier support.
You're a livesaver.