TinyMCE 4.0b3不适用于Firefox上的localhost

时间:2013-06-05 10:36:56

标签: javascript firefox tinymce localhost

我正在尝试使用tinymce(4.0b3)并且tinymce.js具有导致异常的代码行。 (第27888行)

if (window.localStorage) {
    return localStorage;
}

当我使用Firefox从localhost请求我的html页面(http://localhost/editor.html)时,我得到一个例外: SecurityError:操作不安全。它适用于IE和铬。

当我在我的网站上部署页面并请求页面时(http://www.mydomain.com/editor.html)它适用于所有这三种浏览器Firefox,IE和Chrome

Firefox在localhost上给出的SecurityError可能是什么原因?可能是beta版引起的错误吗?

0 个答案:

没有答案