I'm not sure why yet, but for some reason the editor does not appear when it is used with Panels IPE (in-place-editor) -- instead it renders a blank white canvas with no editor. This is rendered instead:

<div class="form-textarea-wrapper resizable resizable-textarea"><textarea class="text-full form-textarea insert-processed" id="edit-field-custom-text-und-0-value" name="field_custom_text[und][0][value]" cols="60" rows="5" style="visibility: hidden;">&lt;p&gt;&lt;img alt="arts integration graphic" class="image-medium" src="/sites/default/files/styles/medium/public/images/textbox/AIGraphic_1.jpg?itok=zH8fDTSK" style="width: 361px; height: 442px;" title="Plainview Elgin Millville teachers develop response to what is arts integration" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</textarea><div class="wysiwyg-toggle-wrapper"><a id="wysiwyg-toggle-edit-field-custom-text-und-0-value" href="javascript:void(0);" style="display: none;">Disable rich-text</a></div></div>

Editing that same fieldable panel pane via the FPP edit interface (with no IPE popup) and it works fine.

CommentFileSizeAuthor
#2 ckeditor_dialog_fix-2009924.patch575 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Thanks for the report. I've been seeing this happen in the normal Panels interface and in Views. Really it's any time the editor is loaded in a CTools dialog I think. What seems to be happening is that CKEditor is loading non-existent configuration files when being displayed in a dialog. It tries to execute the returned page (usually a 404 page) as JavaScript, which then errors out.

quicksketch’s picture

Status: Active » Fixed
FileSize
575 bytes

This patch corrects the problem in my testing. Please reopen if this problem still occurs after applying the patch. I've committed this fix to the 7.x-1.x branch.

quicksketch’s picture

Title: Editor is broken using Panels IPE » Editor is broken using Panels IPE and other dialog situations

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.