SecurityError: Blocked a frame with origin «null» from accessing a cross-origin frame. в чем проблема?
function startEdit() {
// Turn on design mode in the <iframe>.
try
{
var editor = document.getElementById("pageEditor");
editor.contentWindow.document.designMode = "on";
}
catch(e){
alert(e);
}
}