Hi All,
I am new in using CKEditor. I seem not be able to enter javascripts in the editor. I click on the source button and I type this text:
Help me about this
<!--
You are free to copy and use this sample in accordance with the terms of the
Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
--><script src="http://www.google.com/jsapi" type="text/javascript"></script><!-- Dynamic Feed Control and Stylesheet --><script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");</style>
<script type="text/javascript">
/*
* How to use the Dynamic Feed Control, which has pretty UI already made for you!
* Don't forget to check out the options:
* http://www.google.com/uds/solutions/dynamicfeed/reference.html
*/
google.load('feeds', '1');
function OnLoad() {
var feeds = [
{
title: 'Wedstrijden',
url: 'http://www.volleybal.nl/application/handlers/export.php?format=rss&type=vereniging&programma=7260&iRegionId=7000'
}
];
var options = {
stacked : true,
horizontal : false,
numResults : 17,
title : "Avance komende wedstrijden"
};
new GFdynamicFeedControl(feeds, 'content', options);
document.getElementById('content').style.width = "500px";
}
google.setOnLoadCallback(OnLoad);
</script>
After that I save this I only say the following:
Help me about this
<!--
You are free to copy and use this sample in accordance with the terms of the
Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
-->
I tried the allowedContent = true;
and the extraAllowedContent.= 'script';
Both doesn't seem to help me out.
Does anyone have an idea how I can save the script in the editor?
Thanks in advanced for your help.
Kind regards,
Stefan