Tag Archives: CKEditor

Drupal 7 – Avoid HTML tags stripped by CKEditor

Since version 4.1, CKEditor introduced the Advanced Content Filter(ACF) which limits some HTML tags so as to match the editor configuration in the best possible way. But that’s really annoying to me.

In order to disable the ACF, goes to @admin/config/content/ckeditor.
drupal7-ckeditor-disable-acf-1
 

Select the profile and goes to Advanced Options. Add the following Custom JavaScript configuration.

  • config.allowedContent=true;

drupal7-ckeditor-disable-acf-2
Continue reading Drupal 7 – Avoid HTML tags stripped by CKEditor

Drupal 7 – In-place editing using Edit module

The Edit module allows you to edit the node content directly on the node view page. It works with CKEditor and also it will be included in the Drupal 8 core. So see how it works in Drupal 7 first.

1. Drupal 7 >= 7.22 is required.

2. Download and install the CKEditor and Edit modules.

3. Grant the Access in-place editing to the relevant roles.
Continue reading Drupal 7 – In-place editing using Edit module

Drupal – Style Rendering problem of TinyMCE Editor in WYSIWYG

The WYSIWYG module works with lots of rich text editors such as TinyMCE, FCKeditor, CKEditor … etc. I downloaded the TinyMCE library and enable it in the WYSIWYG profile. After enabling the all available buttons in the rich text editor, i found that the style cannot be rendered correctly. All styled text are rendered without CSS style but attributes in square brackets []. Continue reading Drupal – Style Rendering problem of TinyMCE Editor in WYSIWYG