搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Security policy to allow pasting local file links into contenteditable section

  • 无回复
  • 2 人有此问题
  • 23 次查看
more options

On a web page using a contenteditable-based rich text editor, pasting an html fragment including an hyperlink to a local file (URI file:///...) will remove the link from the pasted content.

I can enable local file links from remote pages per site basis using CAPS: http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

However, how I can enable pasting such links into a contenteditable area, so that users can copy-paste such links e.g. into intranet wiki site?

On a web page using a contenteditable-based rich text editor, pasting an html fragment including an hyperlink to a local file (URI file:///...) will remove the link from the pasted content. I can enable local file links from remote pages per site basis using CAPS: http://kb.mozillazine.org/Links_to_local_pages_don%27t_work However, how I can enable pasting such links into a contenteditable area, so that users can copy-paste such links e.g. into intranet wiki site?