Opened 17 years ago

Closed 16 years ago

#374 closed Bug (fixed)

sourceArea has right margin

Reported by: Paul Moers Owned by: Hallvord R. M. Steen (Opera Software)
Priority: Must have (possibly next milestone) Milestone: Opera Compatibility
Component: General Version: FCKeditor 2.4.2
Keywords: Cc:

Description

In source view, the content area has a right margin

Change History (9)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: margin right source view Opera removed

comment:2 Changed 17 years ago by Kaare Byberg

This is reported as Opera bug 262091. Setting padding on the textarea shrinks it.

comment:3 Changed 17 years ago by Hallvord R. M. Steen (Opera Software)

Owner: set to Hallvord R. M. Steen (Opera Software)
Status: newassigned

comment:4 Changed 17 years ago by Frederico Caldeira Knabben

Hallvord, do you still confirm it?

It seams there is no margin with build 9494. There is instead another issue: the scrollbar for the source textarea is out of the editor, cropped at the right, becoming just partially visible.

comment:5 Changed 16 years ago by Hallvord R. M. Steen (Opera Software)

It's the same issue - if you remove padding on TEXTAREA it works fine. A small demo on sample01 would be:

javascript:void( FCKeditor1_Frame.document.getElementsByTagName('textarea')[0].style.padding='0px' );

comment:6 Changed 16 years ago by Frederico Caldeira Knabben

The textarea padding is set at fck_editor.css , for the ".Source" class. It is used to give a small space (5px) between the text and the textarea borders. If is working well with FF, IE and Safari.

It would be ok to not have that margin, impacting the poor Opera users only. Is there any CSS trick suggestion to hide that entry to Opera, or it must be really done by code?

comment:7 Changed 16 years ago by Frederico Caldeira Knabben

Priority: NormalHigh

This one is causing a terrible user experience.

comment:8 Changed 16 years ago by Martin Kou

How about this:
[CSS browser selector http://rafael.adm.br/css_browser_selector/]

There's a little JavaScript involved, but I can see it being very useful in many other cases.

comment:9 Changed 16 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

I'm happy to say that the first Opera Beta (build 9608) seams to have completely fixed this issue!

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy