How to include custom CSS or Javascript on a Content Item in Orchard
-
25-10-2019 - |
Question
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?
Solution
Ok, I found a module (Vandelay.Classy) that does exactly this.
http://orchardproject.net/gallery/List/Modules/Orchard.Module.Vandelay.Classy
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow