ページへ戻る

+ Links

 印刷 

IE 9 で FCKeditor 2.6 を使うとダイアログが表示されないバグの修正案 :: XOOPS マニア

UsersWiki:nao-pon/blog/2011-11-01


RSS of nao-pon/blog
2011 11月 1 (火)
 

IE 9 で FCKeditor 2.6 を使うとダイアログが表示されないバグの修正案 anchor.png

Tag: FCKeditor Bug IE9

本家のサポートでは、CKEditor に移行しろとか、親ページに

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

を記述しろとかのつれない返事の模様なので、なんとか直したいと調べてみた。

以下解決策。

editor/js/fckeditorcode_ie.js の 38行目

Everything is expanded.Everything is shortened.
 
FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};

Everything is expanded.Everything is shortened.
 
FCKTools.RegisterDollarFunction=function(A){A.$=function(B){return A.document.getElementById(B);};};

に置換。

参照

Bug fix for FCKeditor "RegisterDollarFunction" - ToThePoint Solution

IE9 の強化された DOM 機能の紹介 - Internet Explorer ブログ (日本語版) > 暗黙の関数呼び出しの削除



Last-modified: 2011-11-01 (火) 22:19:20 (JST) (4560d) by nao-pon