Email
Share

We Rock Your Web Forum » Content Management Systems » Drupal

FCKEditor Enter Key Jumps to Bottom

(3 posts)
  1. DrupalJunkie

    senior member
    Joined: Oct '09
    Posts: 77

    I'm having the darndest time trying to figure out what's going on with my Drupal 6.x/ FCKEditor installation. Everything seems to be working fine, but when I hit the "Enter" key while in edit mode, the cursor jumps all the way to the bottom of the page/ window.

    I've got FCKEditor installed on other Drupal sites that aren't experiencing this issue. Anyone have an idea what might be going on?

    Posted 1 year ago #

  2. Posted 1 year ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    This appears to have been resolved in FCKEditor v 2.6.3 and up. You can also modify older versions of FCKEditor to implement this fix as follows:

    \fckconfig.js:
    FCKConfig.EnterMode = 'p' ; // not 'br'

    \editor\_source\classes\fckenterkey.j:
    change

    if ( FCKBrowserInfo.IsSafari )
    FCKDomTools.ScrollIntoView( dummy, false ) ;
         else
    dummy.scrollIntoView( false )

    to
    FCKDomTools.ScrollIntoView( dummy, false ) ;

    Posted 1 year ago #
  4. Woofus

    member
    Joined: Sep '09
    Posts: 32

    I have this same problem. Unfortunately, it's still happening. I've updated FCKEditor to 2.6.5 (the code above appears the way it should in fckconfig.js and fckenterkey.js), cleared cache, etc., but still, if I apply a heading and hit enter the "view" (not the cursor) jump to the bottom of the page. Terribly annoying...

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.