【发布时间】:2014-06-10 05:25:05
【问题描述】:
我正在使用 Tinymce 版本 4.0.12 和 firefox 版本 29.0.1、.net 4.0、mvc 4.0、VS 2012 我正面临 Tinymce 编辑器和 firefox 的问题。重新加载屏幕时,它显示呈现的 html e。 G。
hi
在编辑器中仅在 firefox 浏览器中的几分之一秒。而屏幕的其他部分正常加载。在 IE、Chrome 等其他浏览器中运行良好。 以下是我初始化 tinymce 编辑器的代码。{
tinyMCE.baseURL = GetNewEmailURL() + "scripts/tinymce/js/tinymce";
tinyMCE.init({
menubar: false,
mode: 'none',
submit_patch: false,
add_form_submit_trigger: false,
selector: '#tinyMceForViewMail',
statusbar: false,
plugins: 'noneditable',
toolbar: false,
readonly: true,
setup: function (editor) {
editor.on('init', function () {
$("#" + this.id + "_ifr").height(window.screen.height - $("#TopMenuContainer").height() - $("#breadcrumbs").height() - $("#subject").height() - $("#MailHeader").height() - $("#Attachment").height() - 276);
});
}
});
}
我尝试了不同的属性,但没有成功。请帮我解决这个问题。
【问题讨论】:
标签: asp.net-mvc firefox tinymce