13 votes
Accepted

How do I override the default CKEditor configuration?

To answer your question about how to modify CKEditor's config.js: In 4.6 You need to "hack" the config.js file within CiviCRM itself (packages/ckeditor/config.js). Editing this file will modify all ...
user avatar
  • 16.2k
11 votes

Is there a way to enable or install the full version of CKEditor in CiviCRM 4.6.x?

The difference between the "full" and "standard" CKEditor is one of plugins. You can drop additional plugins into the ckeditor plugins folder at: <civicrmroot>/packages/ckeditor/plugins. ...
user avatar
9 votes
Accepted

Is there a way to enable or install the full version of CKEditor in CiviCRM 4.6.x?

That's a good question. In the current version of Civi there is no UI for adding buttons to the CKEditor toolbar. However I think it would be relatively easy, especially since we now have a pluggable ...
user avatar
  • 16.2k
9 votes
Accepted

How to deal with ' or (&#39;) in CKeditor

You can turn off html encoding for CKeditor through UI (i.e >= 4.7) Navigate to Administer >> Customize Data and Screens >> Display preferences Scroll down until you see Configure CkEditor button. ...
user avatar
8 votes

Test email does not match CiviMail WYSIWYG editor

WYSIWYG is something of a misnomer; what-you-see is not really what-you-get. This is universally true whenever your editing environment is different from the final product, even going back to the ...
user avatar
  • 1,870
7 votes
Accepted

How do I center images or align text via CKEditor? Can I add more functionality?

A frustration I have had with CiviCRM has been the inability to center images or align text without modifying source code. This frustration was recently resolved by visiting Administer -> Customize ...
user avatar
  • 3,177
6 votes

Directory not replaced with site name?

I just found and fixed the same problem. There are two possible fixes to this problem, only one of which is available to you immediately. As per usual, Chris nails it. In your civicrm.settings.php ...
user avatar
5 votes
Accepted

Error "Unknown Error" when uploading a file with CKEditor

After digging, i have found that the problem was in the function packages/kcfinder/core/class/uploader.php :: checkFilePath This function forbids an upload if you have a symbolic link in your path. ...
user avatar
  • 2,311
5 votes
Accepted

Additional Fonts CKEditor

We had some more luck with the integrated UI configuration of CKeditor, and after some trial and error we came up with the following solution: In the following documentation I will assume that the ...
user avatar
  • 491
4 votes

Is there a way to enable or install the full version of CKEditor in CiviCRM 4.6.x?

Adding this answer to note that Coleman and others have done a good thing by adding the ability to get all the bells and whistles of CKEditor into Civi 4.7, see Coleman's blog post, Big Changes to ...
user avatar
4 votes

Is there a way to enable or install the full version of CKEditor in CiviCRM 4.6.x?

My answer to this question assumes you are using Drupal, the Drupal CkEditor module, have installed CkEditor as a Drupal library, and want to use ICME as your file browser. Also, I'm limiting my ...
user avatar
  • 1,017
4 votes
Accepted

After upgrading to 4.6 CiviMail HTML version is uneditable

There's an issue+patch filed for 4.6.1 at https://issues.civicrm.org/jira/browse/CRM-16246. You can try disabling Drupal's aggregation as a work-around (by visiting "admin/config/development/...
user avatar
  • 5,589
4 votes

CKEditor - add left, right, centre, justify buttons

It turns out this has a simple fix: add the 'Justify' plugin to Civicrm. Go to the CKEditor config screen: Administer > Customise data and screens > Display preferences > CKEditor config Then add ...
user avatar
  • 1,571
4 votes
Accepted

Unable to use ckeditor after upgrade to 5.3.1

Do you have the Boxes contrib module enabled on your Drupal site? If so, your problem may be this: Issue #2175471: Incompatible with CiviCRM - CKEditor WYSIWYG does not load There is a patch ...
user avatar
4 votes
Accepted

Missing CKEditor & config button

There appears to be a recent bug, possibly introduced in 5.8 though I'm not certain, that affects the CKEditor, namely missing Configure CKEditor button and CKEditor itself won't appear. See this ...
user avatar
4 votes
Accepted

CKEditor can only edit user driven message templates

Jaap's comment is correct. It's unfortunately not possible to use a WYSIWYG editor on system templates because they're not (just) HTML, but contain Smarty code as well. Not only would Smarty break ...
user avatar
3 votes

WYSIWYG Editor Messing with URL's

I feel your pain. Using wysiwyg editors to write emails is like using salt to heal a bleeding wound. It might have a purpose, but probably not in this context. and in this context, it hurts. A lot. ...
user avatar
  • 10.1k
3 votes
Accepted

Drupal's Aggregate Javascript breaks CKEditor Config

You're right, that was a bug. I poked around and found a spot for the js that doesn't break under aggregation: https://github.com/civicrm/civicrm-core/pull/7711
user avatar
  • 16.2k
3 votes

How can I use <html>, <head>, <body> tags in a mailing?

Not a good solution but what you can do is disable Advanced Content Filter (ACF) in ckeditor by editing the config.js file in the ckeditor folder like this: config.allowedContent = true; See ...
user avatar
  • 2,301
3 votes

Did anyone have a problem with CKEditor after 4.6.22 upgrade?

After checking my js console, I found my justify plugin folder was missing: ../civicrm/packages/ckeditor/plugins/justify <= folder missing I downloaded the plugin from here: http://ckeditor.com/...
user avatar
3 votes

WYSIWYG editor disappeared in CiviCRM 4.7.16

Well, it works again through magic and voodoo. All I did was go to the Wordpress Access Control page as Christia recommended and clicked "Save". I didn't modify any settings. Just clicking "Save" ...
user avatar
3 votes

How to restore the colour button in Ckeditor

If you go to civicrm/admin/ckeditor?reset=1 you should be able to activate the plugin "Colorbutton".
user avatar
3 votes

CiviMail WYSIWYG not working

Based on the screenshots it looks like you've installed WP in it's own directory as opposed to the web root. Starting in Version 4.7.27 CiviCRM will detect if WP is installed in it's own directory ...
user avatar
3 votes

crm.ckeditor.js not found

You can write the below code in civicrm.settings.php file to override the current value of [civicrm.root] token. global $civicrm_paths; $civicrm_paths['civicrm.root'] = array( 'url' => 'https://...
user avatar
3 votes
Accepted

image directory path seems to be ignored in CiviMail editor

Ok, I've worked it out. And it turns out that there is a location where CKEditor settings can be configured, namely at civicrm/admin/ckeditor?preset=default. (Through the GUI it's at "Administer" -> "...
user avatar
  • 51
2 votes

Error uploading an image in email wysiwyg

CiviCRM Starterkit is installed as a Drupal installation profile, so it's got the civicrm module directory inside /profiles/civicrm_starterkit/modules rather than /sites/all/modules. CiviCRM is ...
user avatar
  • 7,357
2 votes

How can I use <html>, <head>, <body> tags in a mailing?

Another option: Don't use those tags in your email. If you actually need a <title> in your email, sure, this isn't for you. For the majority of cases, it's unlikely those top-level tags ...
user avatar
2 votes

Error "Unknown Error" when uploading a file with CKEditor

I had the same case, the "clean" solution was to set an absolute path to Image Directory and the corresponding absolute URL to Image Upload URL
user avatar
2 votes

Minor Problems with CKEditor

The CKEditor integration was re-written in CiviCRM 4.7. I recommend upgrading when that version is released, as it may solve your problem. You could verify that now by upgrading a test copy of your ...
user avatar
  • 16.2k
2 votes

WYSIWYG Editor Messing with URL's

From my tests, it seems like this mostly happens when the URL goes through the URL tracking of CiviCRM. For example, if I send myself a test email from CiviMail, the URL will have a &amp; in the ...
user avatar
  • 3,161

Only top scored, non community-wiki answers of a minimum length are eligible