Internet Explorer上的Tinymce Image拖放问题?

时间:2012-07-24 11:08:52

标签: internet-explorer firefox web-applications tinymce wysiwyg

我有html页面,我正在使用tinymce编辑器。当我在firefox浏览器中打开模型时,现在拖放jpg图像 在tinymce编辑器的任何位置,它都会正确插入。但是,当我在IE / Chrome浏览器中执行相同的过程时,那一刻 我删除了一个图像,它没有将图像放在tinymce编辑器中,而是整个浏览器重定位到图像的url。 我无法理解为什么图像不是 在IE浏览器和Chrome浏览器中打开html页面时,将其置于tinymce编辑器中(虽然它在IE / Chrome中正确放置)? 将jpg图像正确放入IE9 / Chrome的tinymce编辑器中的解决方法是什么?

这是我与之相关的帖子

http://www.tinymce.com/forum/viewtopic.php?id=23597

我尝试了ryanreeves帖子建议的解决方案。这就是我做的。我创建了一个名为myCustomCSSFile.css的css文件,其内容低于内容

html, body { height:100% }

现在我的tinymce代码我把它提到下面

tinyMCE.init({
     mode : "textareas",
    theme : "advanced",
    plugins : "advlist",
    content_css : "myCustomCSSFile.css",
    theme_advanced_buttons1 : "forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect,sub,sup,|,bold,italic,underline,strikethrough",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    theme_advanced_resizing : true

  });

有关信息,我已将css文件,即myCustomCSSFile.css放在我的html(具有上面的tinymce代码)文件所在的同一位置。 这是根据http://www.tinymce.com/wiki.php/Configuration:content_css

建议的

也在http://www.tinymce.com/forum/post.php?fid=1发布到tinymce论坛,但没有帮助。

0 个答案:

没有答案