开发者

nicEditor link problems in Chrome and Firefox

开发者 https://www.devze.com 2023-03-31 06:47 出处:网络
I\'m using nicEdit with the \"link\" button. And I have different problems with Chrome and Firefox when: I don\'t select any text and introduce a link and a title,then click Submit Query.

I'm using nicEdit with the "link" button. And I have different problems with Chrome and Firefox when: I don't select any text and introduce a link and a title, then click Submit Query.

In Chrome, a link with the correct URL appears but with the content "javascript:nicTemp();" (ie, that's the html between the tags).

开发者_运维技巧

In Firefox the results is different: nothing happens.

Does anyone have a clue of how to fix/change this behavior?

If you download the nicEdit source you'll be able to see the executed code in src/nicLink/nicLink.js


There are forks on GitHub that have this fixed, e.g.: https://github.com/danishkhan/NicEdit


I experimented the same problem with nicedit (Version 0.9 r23 released January 4th, 2009. ) when using FF6.0 Finally, when pressing link button with a selected text AND do'nt filing the link text, it works.

0

精彩评论

暂无评论...
验证码 换一张
取 消