[SOLVED][Drupal CKEditor] CKEditor changing the image embed code on save

| | 1 min read

Some Drupal users have encountered an situation in their CKEditor in their Drupal website when all of a sudden CKEditor started changing the image embed code on save. The preview of the image seemed to be fine but the unwanted quotes were added when the content with the image was saved. If you are encountering the same situation in the CKEditor of your Drupal site then checkout the solution below.

Here is the fix

  • You should edit the php.ini file in your website and switch of magic_quotes
  • ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.