How to include custom CSS or Javascript on a Content Item in Orchard

感情迁移 提交于 2020-01-24 15:14:43

问题


Sometimes I want to add some custom CSS or Javascript to a page but the HTML editor doesn't handle this gracefully, even when using text dialog.

I could use an alternate view but then I have to upload the view file to my host every edit.

Any ideas?


回答1:


Ok, I found a module (Vandelay.Classy) that does exactly this.

http://orchardproject.net/gallery/List/Modules/Orchard.Module.Vandelay.Classy



来源:https://stackoverflow.com/questions/6807939/how-to-include-custom-css-or-javascript-on-a-content-item-in-orchard

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