Rangy - Module 'WrappedSelection' Not Supported

♀尐吖头ヾ 提交于 2019-12-11 02:54:53

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/9611955/rangy-module-wrappedselection-not-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!