Problem with scrolls

1 view
Skip to first unread message

lunix.lonigan

unread,
Jan 30, 2011, 7:10:33 AM1/30/11
to gwt-ckeditor
Hello,

I'm using gwt-ckeditor to embed ckeditor in a long page with scroll.
The problem is that when the page loads it automatically scrolls to
make visible the embedded ckeditor. I want to preserve the usual
broser behaviour so that when the page loads here is no scroll, but it
seems ckeditor wants to be visible by all means and when the page
loads it scrolls independendly on the ckedit configuration options I
use (I've tried many combinations).

This is the code I use to embed ckeditor:

Toolbar toolBar = new Toolbar();
toolBar.add(topToolBarLine);
toolBar.addSeparator();
//toolBar.add(middleToolBarLine);
toolBar.addSeparator();
toolBar.add(bottomToolBarLine);

ckConfig.setToolbar(toolBar);
//ckConfig.setEntities(true);
//ckConfig.setResizeEnabled(false);
//ckConfig.setSkin("office2003");
//ckConfig.setWidth("100%");
//ckConfig.setHeight("200px");
ckConfig.setFocusOnStartup(false);

ckEditor = new CKEditor(ckConfig);
ckEditorContainer.add(ckEditor);

Any clues on how to avoid ckeditor forcing the page to scroll would be
sincerely appreciated.

Best.

lunix.lonigan

unread,
Feb 2, 2011, 10:24:55 AM2/2/11
to gwt-ckeditor
I answer to myself. It seems this is a problem in CKEditor which is
documented in the following link:
http://cksource.com/forums/viewtopic.php?t=15686

Reply all
Reply to author
Forward
0 new messages