firefox3 下 fckeditor 插入超链接失效解决办法
In firefox 3 only, when creating a new link, the link picker returns a link that looks something like
解决办法一:
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:
解决办法二:
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:
New code:
In fact, I only replaced document.evaluate with this.EditorDocument.evaluate
<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