I really like that the ckeditor module adds an editor to the summary of the body field. However, although the summaries used to be collapsed when the edit form was loaded, the summary is now visible by default.

How can I configure ckeditor not to expand the summary field?

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Please check in Firebug or similar tool if you have any errors reported in console.
Summary field should be hidden by default.
Please also check admin status report page if there are any errors reported by CKEditor module.

Tim-Erwin’s picture

Status: Postponed (maintainer needs more info) » Active

Indeed I'm getting a lot of errors.

Firebug says:
[10:05:24.398] Das angegebene Attribut auf Attributen sollte nicht mehr verwendet werden. Es liefert immer true. @ http://www.mydomain.com/misc/jquery.js?v=1.4.4:52

Which translates to "This attribute should not be used any more. It's always true."

The number of error reports on loading the edit page is a little frightening:

  • Notice: Trying to get property of non-object in _htmlpurifier_process_text() (line 245 of site-data/all/modules/htmlpurifier/htmlpurifier.module).
  • Warning: Missing argument 4 for wysiwyg_filter_filter_wysiwyg_process(), called in site-data/all/modules/ckeditor/includes/ckeditor.page.inc on line 241 and defined in wysiwyg_filter_filter_wysiwyg_process() (line 25 of site-data/all/modules/wysiwyg_filter/wysiwyg_filter.pages.inc).
  • Warning: Missing argument 5 ...
  • Warning: Missing argument 6 ...
  • Notice: Trying to get property of non-object in wysiwyg_filter_filter_wysiwyg_process() (line 36 of site-data/all/modules/wysiwyg_filter/wysiwyg_filter.pages.inc).
  • Warning: Missing argument 4 for _htmlpurifier_process(), called in site-data/all/modules/ckeditor/includes/ckeditor.page.inc on line 241 and defined in _htmlpurifier_process() (line 148 of site-data/all/modules/htmlpurifier/htmlpurifier.module).
  • Warning: Missing argument 5...
  • Notice: Undefined variable: langcode in _htmlpurifier_process() (line 149 of site-data/all/modules/htmlpurifier/htmlpurifier.module).
  • Notice: Trying to get property of non-object in _htmlpurifier_process_text() (line 245 of site-data/all/modules/htmlpurifier/htmlpurifier.module).
  • Warning: Missing argument 4 for wysiwyg_filter_filter_wysiwyg_process(), called in site-data/all/modules/ckeditor/includes/ckeditor.page.inc on line 241 and defined in wysiwyg_filter_filter_wysiwyg_process() (line 25 of site-data/all/modules/wysiwyg_filter/wysiwyg_filter.pages.inc).
  • Warning: Missing argument 5...
  • Warning: Missing argument 6...
  • Notice: Trying to get property of non-object in wysiwyg_filter_filter_wysiwyg_process() (line 36 of site-data/all/modules/wysiwyg_filter/wysiwyg_filter.pages.inc).

If just seen issue #1219348: WYSIWYG filter - Missing argument which however does not describe any symptoms. Hope, this helps solving the issue. Thanks for looking into this.

Tim-Erwin’s picture

I got more info: This only happens if the summary field is not empty. If it is blank, the field is collapsed.

mkesicki’s picture

@Tim-Erwin,
about errors in: http://drupal.org/node/1722118#comment-6341954:
*_process errors related with CKEditor are reported in other tickets.
jQuery error can by caused by some module (not necessary CKEditor). You should disable your modules and check which fires this JavaScript exception.

About http://drupal.org/node/1722118#comment-6344382. I think this is default drupal behaviour. When I disable CKEditor and add node in 'clean' drupal, summary field (which has a content) is visible during edit.

Tim-Erwin’s picture

Status: Active » Closed (fixed)

You are totally right. Sorry, my bad. I'll go watch the other tickets for the error messages. Thanks for looking into this.