I am trying to build out my front page and I want my users to have Google Charts come up every time they log in so they can see their progress. However, using the HTML editor, every time I try to use certain tags such as <div> and <body>, when I click "update," it automatically removes them.
I looked into the issue on the Tiny MCE forums and their forums suggested taking a look at the tiny_mce_src.js file. I thought I needed to edit this code:
// Allow all elements and attributes if verify_html is set to false
if (settings.verify_html === false)
settings.valid_elements = '*[*],';
As I understand it, the '*' implies that all elements should be allowed in the HTML editor.
So what are my options here? I am able to accomplish my goals with an iframe, but we all know iframes can be insecure and are not very often an ideal solution. Might I try a piece of code that explicitly allows the <div> and <body> tags? Should I try a piece of code that bypasses the front page altogether and goes to a custom HTML page that I make? Should I use a different editor? Thanks a lot moodlers.
Moodle v2.3