Closed (duplicate)
Project:
Insert
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2013 at 19:49 UTC
Updated:
21 Jul 2018 at 10:58 UTC
Jump to comment: Most recent
Comments
Comment #1
cbeier commentedI 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.
Comment #2
grantlee commentedTry 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
Comment #3
cbeier commentedThe 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.
Comment #4
s_ferdie commentedThanx that worked for me!
Comment #5
quicksketchThanks 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).
Comment #6
clcl commentedI 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?
Comment #7
clcl commentedI 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.
Comment #8
kdmarks commentedThe Advanced Options aren't available if you're using the WYSIWYG module. Had to download the CKeditor module. Fix from #2 works. Thanks!
Comment #9
dddbbb commentedCKEditor 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.
Comment #10
snater commentedThis 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+.