Just tried this out on a clean install Drupal 7.22 with the latest dev of WYSIWYG. I'm using Ckeditor 4.1 and am unable to insert any images with the editors enabled. Downgrading to Ckeditor 3.6 fix the issue.

Comments

cbeier’s picture

I think this is a problem related to CKEditor 4.1. I have the problem even with the combination CKeditor 4.1 Full with the CKEditor drupal module.

If I insert a image to the editor I get the Javascript error: "Uncaught TypeError: Cannot read property 'isBlock' of undefined' in ckeditor.js #320.

grantlee’s picture

Try this:

config.allowedContent = true;

in the Custom JavaScript configuration field of the Advanced Options setion for your CKEditor profiles.

From:
http://drupal.org/project/ckeditor

cbeier’s picture

The problem is "official" a bug in CKEditor. See the related bug report on ckeditor: https://dev.ckeditor.com/ticket/10339

The workaround with the deactivated Advanced Content Filter works and prevent the bug.

s_ferdie’s picture

Thanx that worked for me!

quicksketch’s picture

Category: bug » support

Thanks guys. Yeah the new CKEditor specifically requires that certain tags be allowed in the editor. My guess is that this problem is better solved by the CKEditor module (which can provide the configuration to the CKEditor library).

clcl’s picture

I use drupal 7.22 and wysiwyg 7.x-2.2 module in combination with the CKEditor 3.6.6.1 and the insert 7.x-1.3 module and it does not insert the images as expected. The images are on the bottom of the page. I did the patch i1954546-9.patch on the insert.module file at http://drupal.org/node/1954546. It did not help. Have I missed something? I'm working with the omega theme.
Can somebody help me please?

clcl’s picture

I have solved my problem.It was due to a filter at the level of textformat. Unable the 'Correct faulty and chopped off HTML'. Stupid that I didn't think earlier about that.

kdmarks’s picture

The Advanced Options aren't available if you're using the WYSIWYG module. Had to download the CKeditor module. Fix from #2 works. Thanks!

dddbbb’s picture

CKEditor 4.1+ ACF support is currently being dealt with in this WYSIWYG issue: https://drupal.org/node/1956778#comment-7931603 The latest patch in that thread seems to fix any issues with Insert for me. It's getting a lot of positive feedback too - I hope we're nearing a commit.

snater’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

This issue seems to be have been dealt with by now in the Wysiwyg module as per #1956778: Ckeditor 4.1 ACF. Closing as duplicate of #2160303: Insert, Colorbox and CKeditor 4.2+.