Inside /sites/all/modules/civicrm/CRM/Core/Resources.php Line 738 and for civicrm version 5.3.1
$editor = Civi::settings()->get('editor_id');
if ($editor == "CKEditor") {
CRM_Admin_Page_CKEditorConfig::setConfigDefault();
$items[] = array(
'config' => array(
'wysisygScriptLocation' => Civi::paths()->getUrl("[civicrm.root]/js/wysiwyg/crm.ckeditor.js"),
'CKEditorCustomConfig' => CRM_Admin_Page_CKEditorConfig::getConfigUrl(),
),
);
}
I get error event configuration page which is as follows: Failed to load resource: net::ERR_NAME_NOT_RESOLVED and url which is not loaded is as shown below https://newspace/prestige/public_html/sites/all/modules/civicrm/js/wysiwyg/crm.ckeditor.js So link is incorrect which seems to be due to incorrect [civicrm.root],
Can I set $civicrm_root in civicrm.settings.php and can that help fix it? When I place directly the url it works but it is in the code below which is Core part of civicrm