Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using the Full html filter, I switch to Source and paste in the embed code from a Google Calendar.
Click Preview and the calendar shows up.
Click Save and it disappears.
What am I doing wrong?? Thanks in advance for helping out a beginner.
Comments
Comment #1
kazar CreditAttribution: kazar commentedI finally got the iframe code to "stick" but have no clue why. Sometimes it works and sometimes it doesn't.
I am aware of the need to clear cache in "performance" and in my browser and had been following that practice ... I tried changing themes and that did not help. I made sure I am always using Full HTML filter.
Even with Full HTML selected, if I go into Edit on the page in question, and click the Source button in CKE, **the source disappears**.
Half the times if I preview the page the calendar shows, other times it doesn't.
I tried in Firefox and Safari, no difference.
Finally one time I clicked Save without previewing (which I had tried before) and this time the code stuck.
HUH?
I feel like there is something corrupt about my CKE installation. Even the buttons in the editor do not match the "used" buttons in the configurator ... many that are "used" do not show up in the editor for the given filter. But I deleted the old CKE and completely reinstalled CKE and CKFinder today, from scratch. Still no love.
arrrgh.
Willing to pay anyone who is seriously expert at CKE to do a real-time screen sharing session to get me up to speed here. kazarnyc@gmail.com
Comment #2
jcisio CreditAttribution: jcisio commented#1950498: JavaScript and other tags are being removed after updating to CKEditor 4.1
Comment #3
mazwakefield CreditAttribution: mazwakefield commentedKazar,
Did you every figure out what was wrong with your CKEditor? Im having the same issue where some of the source code disappears every single time i edit the page. I've had to keep txt files of all the code for each page so i can re copy and paste in every time i edit!
Thanks
Comment #4
jcisio CreditAttribution: jcisio commentedRevert #3
Comment #5
fischeme CreditAttribution: fischeme commentedThis sounds very much like an issue I had...source content seemingly being removed. It was caused by new content filtering turned on by default in CKE, as of 4.2, I believe. Try going to your CKE profile and adding the following to the Custom JavaScript configuration field:
config.allowedContent = true;
You can Google that phrase to find some discussion of it.