firefox3 下 fckeditor 插入超链接失效解决办法

In firefox 3 only, when creating a new link, the link picker returns a link that looks something like
<a href="javascript:void(0);/*1214239238720*/">this</a>

解决办法一:
in the fckeditor/editor/dialog/fck_link/fck_link.js I replaced in the Ok function the line: oLink = oEditor.FCK.CreateLink( sUri ) ; with this code:
Code


解决办法二:
I got the same problem with FCK 2.3.2. The best solution is to change function CreateLink in fckeditorcode_gecko.js:
Old code I had:
Code

New code:
Code


In fact, I only replaced document.evaluate with this.EditorDocument.evaluate

posted on 2009-08-12 10:19  Prolove  阅读(821)  评论(0编辑  收藏  举报

导航