Ahoy, Kentipeeps!Hope all is well with you!I've decided to come back and revise this question based on some new information.Overview:
I've created a simple widget that a content editor can use to add a video to a page. It has a field where they can paste in a video embed code snippet. The code we're attempting to use contains a script tag that is required for some added functionality from the video vendor. Issue:
When you insert the widget into a widget zone, everything works as intended. The problem is when you insert the widget into the CKEditor(WYSIWYG), it will not work. Not only will it not work but the browser will display this error - in Chromes case:Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards).But this also occurs in other major browsers.I was provided an answer to why I would recieve this error below (Thanks Zach) - The browser thinks I'm inserting a malicious script. But I haven't been able to find an actual solution to get this widget to work in the CKEditor.So the real question is: Is there a way to paste video embed code, or I guess just a script in general, into the CKEditor and not have it break?I am stuck on this one so I am grateful for any help lolThanks!
YoYo Bubs
↧