FCKEditor doesn't work in IE10

后端 未结 5 874
予麋鹿
予麋鹿 2021-01-02 19:18

FCKEditor doesn\'t appear in IE10. When I go to IE development tools and switch browser mode to IE9, FCKEditor works all right. But when I put meta tag for emulate IE9:

5条回答
  •  生来不讨喜
    2021-01-02 20:10

    try this

    Mozilla 17

    in fckeditorcode_gecko.js

    find this>>

    if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko10=false;}
    

    and replace with>>

    if (A.IsGecko){var B=s.match(/gecko\/([0-9.]+)/)[1];if(B != "17.0"){A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));}A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko19=true;}
    

    in fckeditor.php

    find this>>

    return ($iVersion >= 20030210);
    

    and replace with>>

    //return ($iVersion >= 20030210);
    
    return true;
    

提交回复
热议问题