Craftsman at Work

I'm Artur Karbone, coding software architect and independent IT consultant and this is my blog about craftsmanship, architecture, distributed systems, management and much more.

CKEditor and ASP.NET Bundling

I was kind of surprised that CKEditor does not work with ASP.NET bundling in optimization mode. Faced some path related glitches.

Turned out there is some additional acrobatics with CKEDITOR_BASEPATH required:

<script type="text/javascript">  
    CKEDITOR_BASEPATH = "@Url.Content("~/Scripts/ckeditor/")";

Thanks to this post

Hope it helps.

comments powered by Disqus