I found that on the content editing page, the "Switch to rich text editor" link just beneath the body editing box is half covered by another block below it.

It can be fixed by adding some CSS code:

#edit-body .filter-wrapper {
  margin-top:0px;
}

Do any other people have this problem too?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ChrisFlink’s picture

Status: Needs review » Active

I experience the same issue, even if the CKEditor setting is set to hide this link. (this is because I was using admin account)
Versions:

  • Rubik: 7.x-4.0-beta7
  • CKEditor module: 7.x-1.6

Browsers:

  • Chrome (latest)
  • Firefox (latest)
  • Internet Explorer 9

HTML (localized to Dutch):

<a class="ckeditor_links" style="display:none" href="javascript:void(0);" onclick="javascript:Drupal.ckeditorToggle(['edit-field-news-intro-und-0-value'],'Naar platte-teksteditor overschakelen','Naar tekstverwerker met opmaak overschakelen',0);" id="switch_edit-field-news-intro-und-0-value">Naar platte-teksteditor overschakelen</a>

<fieldset  class="filter-wrapper form-wrapper fieldset" id="edit-field-news-intro-und-0-format">
  <div class='fieldset-content fieldset-wrapper clearfix'>
    <div class="form-item form-type-select form-item-field-news-intro-und-0-format">
      [...]
    </div>
  <div class="filter-guidelines form-wrapper" id="edit-field-news-intro-und-0-format-guidelines"></div>
</div>
</fieldset>

The code of metakel will fix the layout when the link is present, but without the link, the box will not align to the editors-div.

What confuses me is that in the html, the <a>-tag contains inline style to hide the link, but this is overridden somehow and somewhere.

Coop920’s picture

Status: Active » Needs review
FileSize
423 bytes

I went ahead and removed the negative top margin and missing top border to the #edit-body .filter-wrapper element. See attached patch.

deryck.henson’s picture

subscribe

Macronomicus’s picture

Status: Active » Reviewed & tested by the community

Yep #2 does it

acbramley’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
433 bytes

This also happens on regular text fields if they are enabled to use Filtered Text instead of just plain text, this patch uses a single rule to cover all cases of text-format fields.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Patch from #5 works here. Thanks!

haydeniv’s picture

Status: Reviewed & tested by the community » Fixed

Committed: f4d424d
Thanks!

Status: Fixed » Closed (fixed)

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