NicEdit: Editor field is collapsed in IE

livingegg - December 16, 2008 - 00:11
Project:Wysiwyg
Version:6.x-2.x-dev
Component:Editor - nicEdit
Category:bug report
Priority:normal
Assigned:techlive
Status:closed
Description

The nicEdit editor field is collapsed along the horizontal plane in IE 6 and IE 7. This is not an issue in Firefox. I am marking this issue as critical because the Wysiwyg editor is functionally useless in this state.

#1

sun - December 16, 2008 - 08:38
Title:Editor Field is collapsed in IE» NicEdit: Editor field is collapsed in IE
Priority:critical» normal
Status:active» postponed (maintainer needs more info)

What do you mean with "collapsed"? If you cannot describe it, please attach a screenshot.

Also, did you ensure that this behavior does not occur in the official demos of NicEdit?

Note: Only API issues can be critical. Editor-specific issues are always normal, if not even minor.

#2

livingegg - December 17, 2008 - 21:08
Status:postponed (maintainer needs more info)» closed

Good point. I checked and it turns out that this behavior also occurs in one of the official demos of NicEdit. Basically when viewed in IE the width of the editor will collapse to the width of the smallest icon, unless its parent has an absolute pixel width. IMO its a pretty serious bug, but there have already been a few posts about it in their forums with no reply, so it doesn't seem like they have any intention of dealing with it. Too bad.

#3

dyardley - December 22, 2008 - 15:23

There has been an updated release of this. Version 0.9 r22 was released yesterday although without a changelog to be found, I can't say if this fixes the problem or not.

#4

beckyjohnson - February 26, 2009 - 03:29

I am running wysiwyg api for drupal 6 and the latest version of NicEdit but I am having the same problem. On some versions of IE6/7 it collapses and on others it doesn't. I'm trying to CSS a solution to this but it's not working out. Any help would be great.

Becky

#5

beckyjohnson - March 2, 2009 - 18:42

I updated to the latest NicEdit and nothing worked. The js area where the buttons are, are still colllapsing the test area box.

Has anyone else been trying to trouble shoot this? I think it is a Drupal issue, as the NicEdit demos on their site do not collapse in IE 6/7

Becky

#6

gettingpissed - March 23, 2009 - 11:41
Status:closed» active

Same here on 6.x and 5.x

Collapses to minimal icon width even on demos...
I can make it absolute width, I don't use fluid width themes, too messy... Others can't make it absolute...

Screenie:
http://img18.imageshack.us/my.php?image=uploadokb.jpg

This still very much needs work

#7

sun - March 29, 2009 - 07:33
Version:5.x-0.5» 5.x-1.x-dev
Status:active» won't fix

As mentioned before, this is an issue with the NicEdit editor library. Wysiwyg API does not do anything special here.

#8

beckyjohnson - March 29, 2009 - 18:49

This CSS fix does not work in IE 7. Not sure what to do......

Becky

#9

techlive - April 4, 2009 - 12:14
Version:5.x-1.x-dev» 6.x-2.x-dev
Assigned to:Anonymous» techlive
Status:won't fix» fixed

Here is a solution,the problem is a bug of the nicEdit editor itsself.
edit your nicEdit.js,
search for
parseInt(e.getStyle('width')) || e.clientWidth
replaced with
e.clientWidth || parseInt(e.getStyle('width'))
and then,everything works well.
enjoy!

#10

sun - April 4, 2009 - 13:18

Could you please submit that bugfix to the official bugtracker/forum of NicEdit? With a little luck, we are able to use on of the next versions then.

#11

System Message - April 18, 2009 - 13:20
Status:fixed» closed

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

#12

lee20 - April 29, 2009 - 17:28

#13

HmdSmk - November 6, 2009 - 14:57
Status:closed» fixed

There's the solution here:
Within the constructor of "nicEditorPanel", find the line with this content: "this.panelContain.appendTo(e);"; which is currently on line number 660. Then insert the following line of code before that line:

e.style.width = "100%";

And that's all. The Editor will now come up properly in both IE and FF.

#14

System Message - November 20, 2009 - 15:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.