IE8 iframe DesignMode loses selection

前端 未结 3 1479
青春惊慌失措
青春惊慌失措 2021-01-05 18:28

The example below is a simple example of an iframe which uses window.parent.[turn designmode on] (this works). In FF all is well, but in IE8 (surprise surprise) any selectio

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-05 19:03

    My Editbox can add images, tables etc where you last clicked in the iframe and works for ie6, ie7 and FF but for ie8 it adds then at the start. They can then be cut and pasted to where you want them but that is a nuisance. MORE SERIOUS is that when I want to change the attributes of a table cell, for example, I have to have some text now in the cell which I must highlight or I can't determine what element I'm in!

    Have Microsoft any bug fixes for the selection method or is Firefox or old versions of ie the only course?

    regards Mike W

提交回复
热议问题