Topic: Access <head> tag and add html
I give up, went through all the examples, but I still canot figure it out how can I add one script into head tag.
Starting like this:
var head_node = editor.dom.getPrev(editor.dom.getRoot(),"head");
It doesnt work.
What is even more interesting: just alerting head_node variable after first line returns me some giberish not visible in editor->source code..
Any quick help?