Body: <p>While I am trying to add/edit the CiviCRM events, instead of CKEditor, the default textarea is displaying and also the HTML tags are display. But the CKEditor is working as expected for the Drupal contents.</p>
  <p>I have checked on the Browser Console and I saw an error. The JS file URL is missing the actual domain, instead it takes the CiviCRM path.</p>
  <blockquote>
  <p>GET https://sites/all/modules/civicrm/js/wysiwyg/crm.ckeditor.js?r=ufXP1 net::ERR_NAME_NOT_RESOLVED</p>
  <p>Please check the Image link for more details - <a href="https://ibb.co/Nr4DcX4" rel="nofollow noreferrer">https://ibb.co/Nr4DcX4</a></p>
  </blockquote>
  <p><strong>CiviCRM 5.26.1<br>
  Drupal 7</strong></p>
  <p>I doubt this is something related to the paths and URL configuration. Please let me know if you require any more details to investigate this issue.</p>
  <p>Thanks in advance!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-20T11:23:41.360Z
Comments.Text: What is your civicrm root set in civicrm.settings.php and drupal directory path set in nginx or apache
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-20T13:32:11.303Z
Comments.Text: How is this question different from your deleted question here? https://civicrm.stackexchange.com/questions/35846/ckeditor-is-not-working-while-editing-civicrm
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-22T10:32:14.293Z
Comments.Text: $civicrm_root = SITE_DIR . '/sites/all/modules/civicrm/';
  civicrm root set in civicrm.settings.php
Comments.UserDisplayName: Soukhin Basu
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-29T10:47:33.217Z
Comments.Text: Thanks for your help. Its working. I have missed to add the '/' on $civicrm_root = SITE_DIR . 'sites/all/modules/civicrm/'. Once I have added '/' on $civicrm_root = SITE_DIR . '/sites/all/modules/civicrm/', the CKEditor has been started working.
Comments.UserDisplayName: Soukhin Basu
Tags: <drupal><civicrm-home><civicrm.settings.php><ckeditor><civicrm-event>
Title: CKEditor is not working while editing CiviCRM
ThreadText: # CKEditor is not working while editing CiviCRM
  
  (Asked by: username_0 on 2020-06-20)
  
  While I am trying to add/edit the CiviCRM events, instead of CKEditor, the default textarea is displaying and also the HTML tags are display. But the CKEditor is working as expected for the Drupal contents.
  
  I have checked on the Browser Console and I saw an error. The JS file URL is missing the actual domain, instead it takes the CiviCRM path.
  
  > GET https://sites/all/modules/civicrm/js/wysiwyg/crm.ckeditor.js?r=ufXP1 net::ERR\_NAME\_NOT\_RESOLVED
  >
  > Please check the Image link for more details - <https://ibb.co/Nr4DcX4>
  
  **CiviCRM 5.26.1  
  Drupal 7**
  
  I doubt this is something related to the paths and URL configuration. Please let me know if you require any more details to investigate this issue.
  
  Thanks in advance!
  
  **Tags:** drupal, civicrm-home, civicrm.settings.php, ckeditor, civicrm-event
  
  > **Comments:**
  > **username_1**: What is your civicrm root set in civicrm.settings.php and drupal directory path set in nginx or apache  
  > **username_2**: How is this question different from your deleted question here? https://civicrm.stackexchange.com/questions/35846/ckeditor-is-not-working-while-editing-civicrm  
  > **username_0**: $civicrm_root = SITE_DIR . '/sites/all/modules/civicrm/'; civicrm root set in civicrm.settings.php  
  > **username_0**: Thanks for your help. Its working. I have missed to add the '/' on $civicrm_root = SITE_DIR . 'sites/all/modules/civicrm/'. Once I have added '/' on $civicrm_root = SITE_DIR . '/sites/all/modules/civicrm/', the CKEditor has been started working.  
  
  ---
  
  ## 0 answers
  
  