Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8718533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:34:30+00:00 2026-06-13T06:34:30+00:00

I have a ckeditor plugin in my ASP.NET MVC 4 web site. The plugin

  • 0

I have a ckeditor plugin in my ASP.NET MVC 4 web site. The plugin is in the Content folder of an Area.

When working in debug environment, everything is fine. When I am deploying to a production server, js optimization kicks in, that along with a CliendDependency framework I use optimizes javascripts to serve less files, resulting in less connections to server. That is fine, except for the fact, that javascript plugins, like ckeditor, in my case, reference other .js files internally when rendering themselves onth the page. As a result, I have a few .js files being requested by the page’s javascript as if they are to be in the root folder of the site (optimized JS files come “as if” from root). But in reality, the requested files are deep within the folder structure.

Is there a more conceptual workaround to this problem other then disabling JS optimization? Some custom rules I can set? Or do I just copy the required files to the root folder and forget about the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:34:32+00:00Added an answer on June 13, 2026 at 6:34 am

    You can continue to use optimisation and bundling with CkEditor.

    You just need to set the following global for your ckeditor folder

    CKEDITOR_BASEPATH = ApplicationPath + '/scripts/ckeditor/ckeditor_3.5.3/';
    

    and when you initialise a ckeditor set the baseHref, e.g.

    CKEDITOR.replace(editorName, {
          baseHref: CKEDITOR_BASEPATH, 
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a CKEditor in place, on a ASP.Net MVC 3 page: var editor
I have an ASP.NET MVC application and I'm using CKEditor for text entry. I
i have installed ckeditor into my asp.mvc project, now i need to implement just
I am looking to use CKEditor in ASP MVC application. I have been having
I have an C# .Net MVC3 web app. We are utilizing the CkEditor control.
I have used CKEditor in my ASP.NET pages. But after than, that pages are
I have CKEditor on my web site. When I enter this code into source
I have a CKEditor custom plugin I'm trying to write, but need some help
I have traced the root of this exception to the sourcearea plugin of CKEditor
I have a ckeditor plugin that depends on some custom parameters. These parameters may

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.