13

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 instances of CKEditor in CiviCRM (angular and quickform add a few additional settings related to file uploads but they do both respect that file). If you don't ...


11

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. Depending on the plugin, you may also need to edit the config at <civicrmroot>/packages/ckeditor/config.js. Detailed instructions are available here. I've ...


9

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 interface for wysiwyg editors, to integrate with the new Toolbar Configurator to allow a CiviCRM admin to drag n drop buttons in the toolbar. Update: I've ...


8

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 print world— my bluesheet was always going to be slightly "off" compared to my proof. This is not specific to CiviCRM, but the inherent problems are exacerbated ...


6

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 file, there's a line $civicrm_root = /path/to/civicrm. If you have a symlink in that path, then the [civicrm.root] is miscalculated. So the easy fix is to fix ...


6

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. Click on it to view all the settings. Under Advance options add entities option as False(as shown in image) and save the form. Note: You will need to clear ...


6

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 Data and Screens -> Display Preferences -> Configure CKEditor At the top of that page you will notice you can customize the skin (I recommend Moono-Lisa) and ...


5

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 fonts, files and configurations will be put in /sites/default/files/civicrm/persist/ and /sites/default/files/civicrm/persist/customfonts. The persist folder can ...


4

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. There is also a related issue in CiviCRM JIRA : https://issues.civicrm.org/jira/browse/CRM-15607 EDIT: Probably not a very good solution but you can patch ...


4

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 WYSIWYG Editing in 4.7


4

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 answer to the Angular code (eg, New CiviMail). Hopefully it's still useful even if you have a different setup. The changes that are required are ... alter which ...


4

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/performance"). If that work-around doesn't resolve it, let us know (since that would mean it's a different problem).


4

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 the Justify plugin. A new toolbar group will appear in the 'paragraph' section, which you can then move around as you'd like. Then save your settings... In my ...


4

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 available from the above link that resolves the issue.


4

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 issue: https://lab.civicrm.org/dev/core/issues/594#note_11806 If you are comfortable working in the database directly you can work around this by deleting the ...


3

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


3

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. Anyway, back to your question: are you having the replacement in the href or "only" when you leave the link as part of the text you send? The latest version of ...


3

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 documentation for more info. What I do is extend the ACF like this: config.extraAllowedContent = 'html;head;body;span;ul;li;table;td;style;*[id];*(*);*{*}'; [ ] // ...


3

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/addon/justify Expand the .zip in plugins folder, it will create the justify folder and fixes the problem.


3

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" seems to have reconnected everything. http://www.YOUR-ORG.com/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Faccess%2Fwp-permissions&reset=1


3

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 So on new installs we will see a new section in civicrm.settings.php: // Additional settings generated by installer: $civicrm_paths['wp.frontend.base']['url'] ...


3

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://website_url.com/.../civicrm', 'path' => '/path/to/civicrm/folder/', ); Similarly, it can be used to set [civicrm.files] and [cms.root].


3

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" -> "System Settings" -> "Display Preferences", then click the "Configure CKEditor" button towards the bottom.) There are a few hitches on the way and perhaps this ...


3

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 CKEditor, but CKEditor would break the Smarty code. This unfortunately makes editing system templates difficult to do. However, one trick that makes it easier ...


2

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 assuming that you can go up two levels from the folder where it's currently running and then over to the default folder to find civicrm.settings.php. That's not the ...


2

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 actually are required elements in the email content or design. By replacing them with regular block-level elements like <div>, and updating the CSS to reflect ...


2

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 site to 4.7.beta.


2

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 URL, but my browser/email reader doesn't mind. It only becomes a problem when I do a full mailing and track the URL: $ wget -O /dev/null -S "https://example....


2

A solution that is round the corner (available now as alpha) is Mosaico integration with CiviCRM to give you a drag and drop template builder. Alpha-5 was released recently which works with 4.7


2

What WYSIWYG editor are you using? IF CKEditor, reestablish roles and permissions for the CKEditor by going into the configuration settings for text editors on your CMS side and make sure it's still set as the default editor. This is what I had to do after updating to 4.7.15. Here is a screenshot on Drupal to give you an idea of what I mean. If someone can ...


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