#10044 closed Bug (duplicate)
CKEditor 4 textarea replace - Toolbar increase the textarea width
Reported by: | Roy Shoa | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0.1 |
Keywords: | Cc: |
Description
I have a textarea that i replace to a CKEditor 4.1 instance using the "moono" skin. The problem is that even when i configure the CKEditor instance to be 100% its toolbar increase my width depend on the its buttons amount.
From my research i understand that its happen because the in the "moono" skin "editor.css" file there is a "white-space:nowrap;" on all the element and this definition is preventing the ".cke_toolbar" object to go into a new line even if are floating.
Notes:
- The problem exist only if the parent object is a table object and this is why it can increase its width.
- The default CKEditor width is 100% and when its say to the editor to get the parent pbject width so in my case i do not need to set a width to the editor (or i can set 100%) and it need to get the parent width.
- For proving that the problem is from the toolbar you can cancel the javascript note lines in the SJFiddle project and see that the editor get the correct width.
- In my case i can not use a new line on the toolbar because the textarea width is depend on the user.
Change History (6)
comment:1 Changed 12 years ago by
Keywords: | CKEditor 4 Toolbar removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 12 years ago by
Hi, Can someone open this ticket again? This is not a duplicate of #9947, It is another bug.
comment:3 follow-up: 4 Changed 12 years ago by
@royshoa could you tell me why do you think that? Both test cases look the same.
comment:4 Changed 12 years ago by
Replying to j.swiderski:
@royshoa could you tell me why do you think that? Both test cases look the same.
I think that it is not the same because two response:
- The fix that they give to it on ticket #9947 is not fixing it (Use white-space: normal for .cke_toolbar and .cke_toolgroup and destroy toolbar.)
You can see it in http://jsfiddle.net/royshoa/9c2Xp/11/ on the CSS area (use Chrome).
- As i see from the images that they share on ticket #9947 the toolbar is overflow but its not increasing the textarea width and in my case its increasing it with itself.
I fix this issue to my self by adding "*{white-space: normal !important;}" but i beleve that my fix can cause another bugs.
comment:5 Changed 12 years ago by
@royshoa #9947 is now fixed and as you can see it fixes both issues.
I am leaving this as duplicate.
@royshoa Taking into account that this happens only in Webkit and from CKE 4.x beta then yes you are right. This looks like a duplicate of #9947