firefox里文本编辑器的ctrl+v功能没用!IE里面却可以用

coder_hero 2007-01-29 11:07:07

firefox里文本编辑器(Editor.js)的ctrl+v功能没用!IE里面用可以用ctrl+v粘贴却可以用.各位帮帮忙。请问怎么解决
...全文
332 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
showlin 2007-01-29
  • 打赏
  • 举报
回复
在线编辑器对ff的兼容性是个问题
因此最近都弃用ewebeditor改用fckeditor了
chenguang79 2007-01-29
  • 打赏
  • 举报
回复
真不明白这些开发商怎么想的,互不兼容。IE里有的在FF里就不让用。真受不了
gzdiablo 2007-01-29
  • 打赏
  • 举报
回复
FF压根就用不了编辑器 因为编辑器用了个IE专有的控件
dh20156 2007-01-29
  • 打赏
  • 举报
回复
可能是用到了EditMode,在FF里不支持!
coder_hero 2007-01-29
  • 打赏
  • 举报
回复
我按你上面的方法试了,新建了一个user.js.加了上面这些信息,还是不能用ctrl+V
BlueDestiny 2007-01-29
  • 打赏
  • 举报
回复
Setting Prefs for the Mozilla Rich Text Editing Demo

To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so the corresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enable these functions for purposes of the demo, you must modify your browser preferences.

1. Quit Mozilla. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
2. Find your Mozilla profile directory. On Windows, this is often located in c://WINNT/Profiles//Application Data/Mozilla. (See also editing configuration files for more info on locating your profile folder.)
3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
4.

Add these lines to user.js:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

5. Save the file, and restart Mozilla. The Clipboard buttons should now function.
BlueDestiny 2007-01-29
  • 打赏
  • 举报
回复
我印象中不能用ctrl+v,ff是出于安全性考虑的,
可以改设置来做到的。详细的做法goole有很多的

firefox ctrl+v

87,907

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧