Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#6967 closed Bug (fixed)

IE: autogrow plug in is not working properly

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: IBM IE Cc: Damian, joek, james, c

Description

To reproduce the defect:

  1. open a CKEditor sample with autogrow plug in loaded
  1. press enter 5 times to create 5 empty paragraphs.
  1. press enter for the 6th time.

Expected Result:

Editor body size should increase automatically with out any scrollbars no matter how many paragraphs we created in editor body.

Actual Result:

In IE6 & IE7 we are getting scrollbars in editor body after 5 empty paragraphs or after 11 lines of text in a paragraph.

In IE8 we are getting scrollbars after 15 empty paragraphs.

Attachments (2)

scrollbars.png (12.1 KB) - added by gabel 9 years ago.
Scrollbars in IE after autogrow
6967.patch (705 bytes) - added by typeof 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by Krzysztof Studnik

Keywords: IE added
Status: newconfirmed
Version: 3.4

comment:2 Changed 9 years ago by Damian

Is there any update to this ticket?

Changed 9 years ago by gabel

Attachment: scrollbars.png added

Scrollbars in IE after autogrow

comment:3 Changed 9 years ago by gabel

Cc: james c added; James removed

I can confirm that behavior. In FF and Chrome there is the known scrollbar-flicker and in IE i got scrollbars as soon it should autogrow.

Scrollbars in IE after autogrow

CKEditor 3.5.3 Internet Explorer 8 (IE shows the page in IE8 compatibility mode)

var config = {
	toolbar:
	[
		['Bold', 'Italic','-','NumberedList', 'BulletedList','Outdent','Indent','-','Link', 'Unlink'],
		'/',
		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Find','Replace'],
	],
	autoUpdateElement: 'true',
	autoUpdateElementJquery: 'true',
	removeDialogTabs: 'link:advanced;',			
	extraPlugins: 'autoclean,autogrow',
	autoGrow_maxHeight : 0,
	width: '477'
};

comment:4 Changed 9 years ago by Garry Yao

Resolution: fixed
Status: confirmedclosed

Issue is fixed by #7173.

comment:5 Changed 9 years ago by typeof

In the meantime I've created a patch for this issue that also deals with scrollbar flickering. Please take a look at it, hope you'll find it useful.

Changed 9 years ago by typeof

Attachment: 6967.patch added

comment:6 in reply to:  5 Changed 9 years ago by Garry Yao

Replying to typeof:

In the meantime I've created a patch for this issue that also deals with scrollbar flickering. Please take a look at it, hope you'll find it useful.

Patch makes it perfect, #7852 opened for it, nice contribution.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy