项目是用Java框架写的,客户指出在360安全浏览器上不显示输入框,测试结果是Chrome、FF和IE11都显示正常。没办法,还是得解决兼容性问题。
原始代码
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<script type="text/javascript" charset="utf-8" src="/plugin/ueditor/ueditor.config.js"></script> <script type="text/javascript" charset="utf-8" src="/plugin/ueditor/ueditor.all.min.js"></script> <script type="text/javascript" charset="utf-8" src="/plugin/ueditor/lang/zh-cn/zh-cn.js"></script> <script type="text/javascript"> var ue = UE.getEditor('editor',{ textarea:'content', initialFrameHeight:320, autoHeightEnabled: true, autoFloatEnabled: true }); </script> <!-- 其他网页代码 --> <script id="editor" type="text/plain" name="content" ></script> |
修改后代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<script type="text/javascript" charset="utf-8" src="/js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="/plugin/ueditor/ueditor.config.js"></script> <script type="text/javascript" charset="utf-8" src="/plugin/ueditor/ueditor.all.min.js"></script> <script type="text/javascript" charset="utf-8" src="/plugin/ueditor/lang/zh-cn/zh-cn.js"></script> <script type="text/javascript"> $(document).ready(function(){ var ue = UE.getEditor('editor',{ textarea:'content', initialFrameHeight:320, autoHeightEnabled: true, autoFloatEnabled: true }); }); </script> <!-- 其他网页代码 --> <script id="editor" type="text/plain" name="content" ></script> |
解决方法就是先进行页面加载,加载完成之后在加载文本编辑器。
来源:http://blog.csdn.net/myfmyfmyfmyf/article/details/17683315
- 本文固定链接: https://blog.kuoruan.com/25.html
- 转载请注明: Index 于 扩软博客 发表
捐 赠如果您觉得这篇文章有用处,请支持作者!鼓励作者写出更好更多的文章!
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客
Amazing! This blog looks exactly like my old one! It’s on a completely different topic but it has
pretty much the same layout and design. Wonderful choice of colors!
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客 http://jamteng.com/uchome/link.php?url=https://www.hongkongpool.io/
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客 http://my.apa.org/apa/idm/logout.seam?ERIGHTS_TARGET=http://18.182.187.26/
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客 http://aboutoptions.ru/bitrix/rk.php?goto=https://www.hongkongpool.io/
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客
I do agree with all of the ideas you’ve introduced
to your post. They are very convincing and will certainly work.
Nonetheless, the posts are too brief for starters. Could you please lengthen them a little
from next time? Thank you for the post.
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客
Thank you, I have just been looking for info about
this subject for a long time and yours is the greatest I have found out so far.
However, what in regards to the conclusion? Are you certain about the source?
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客
I have read so many articles about the blogger lovers however this
piece of writing is really a nice post, keep it up.
解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客 http://situspokeranda.com
Hello, I log on to your 解决百度编辑器Ueditor在360浏览器和IE下不显示 | 扩软博客 blogs on a regular basis. Your humoristic style is awesome, keep it up! situs poker uang asli http://feraripoker.com/