0
我想提醒在Moodle的tinyMCE编辑器中选定的文本。这在谷歌浏览器中工作正常,但不能在IE中工作。从tinyMCE警报选定的文本在IE中不工作
警报被选中的文本编辑器中
alert(tinyMCEPopup.editor.getContent()); //working in both chrome and IE
alert(tinyMCEPopup.editor.selection.getContent()); // working in chrome not working in IE
警报整个文本我怎么能提醒在IE浏览器中选中的文本?
我使用IE版本11,tinyMCE的3.5和Moodle的2.7
我使用3.5.10,这是最新版本。 – Santhucool 2014-12-11 06:04:09
TinyMCE 4.1.7是最新的,因此如果可能的话,您可以迁移到它。 – Abhi 2014-12-11 06:07:41
访问主页 [链接](http://www.tinymce.com/index.php) 并选择任何文本 'tinyMCE.activeEditor.selection.getContent()' – Abhi 2014-12-11 06:11:34