Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能支持在评论组件里面能配置额外加载 css 和 js 文件,方便自定义组件里面的样式和某些逻辑 #126

Open
qiushaocloud opened this issue May 12, 2024 · 1 comment
Labels
priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@qiushaocloud
Copy link

希望能支持在评论组件里面能配置额外加载 css 和 js 文件,方便自定义组件里面的样式和某些逻辑,我在外面想要控制评论组件里面的元素,结果找不到,希望能支持配置额外的 css 和 js 来控制组件里面的情况

@ruibaby
Copy link
Member

ruibaby commented May 24, 2024

如果一定有特殊需求,当前建议直接 fork 后修改。要支持扩展功能可能不止是注入 js 就可以完成,这不是当前的目标。样式目前可以考虑使用提供的 CSS 变量,如果没有满足的 CSS 变量,可以新增,欢迎贡献。

https://github.com/halo-dev/plugin-comment-widget#%E9%85%8D%E8%89%B2%E5%88%87%E6%8D%A2%E6%96%B9%E6%A1%88

@ruibaby ruibaby added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

2 participants