Rangy - 不支持模块'WrappedSelection' [英] Rangy - Module 'WrappedSelection' Not Supported
问题描述
我尝试在我的Google Chrome浏览器扩展程序中使用Rangy,但我一直收到不支持的模块'WrappedSelection错误。这是一个简单的扩展,所以我没有在Rangy之外的其他项目中实现任何代码。
有谁知道Rangy是否兼容Google Chrome扩展程序? 我不是Google Chrome扩展程序的专家,但我不相信Rangy无法用于其中的任何原因。我相信这是使用内容脚本完成的。一个名为 Feltipen 的项目在Chrome扩展中使用Rangy。 I am trying to use Rangy in my Google Chrome extension, but I keep on receiving the error "Module 'WrappedSelection' not supported". This is a bare-bones extension so I have not implemented any code in this project other then Rangy. Does anyone know if Rangy is compatible with a Google Chrome extension? I'm no expert in Google Chrome extensions but I don't believe there's any reason why Rangy couldn't be used in one. I believe it's done using content scripts. A project called Feltipen uses Rangy in a Chrome extension. 这篇关于Rangy - 不支持模块'WrappedSelection'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!