Opened 18 years ago
Closed 12 years ago
#997 closed Bug (fixed)
Wrong position of panel on fixed positioned toolbar
Reported by: | Lukasz Frankowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Toolbar | Version: | FCKeditor 2.4.3 |
Keywords: | Cc: |
Description
We have the fckeditor toolbar located on outer div which is 'fixed' positioned (in gecko browser), in order to be global for the website. So, our:
oFCKeditor.Config[ "ToolbarLocation" ] = "Out:fckToolbar";
In this case the toolbar panels (eg. the font panel) are not positioned correctly. I have found the place in the code, which should be changed to fix it, but I have no time for now to look in the code for the style of toolbar panel container to create conditional clause, depended on the container position, but the fckeditor developers won't have a problem to insert the code like this there:
oIFrame.style.position = 'absolute'; if (fckeditor.toolbar.container.style.position == 'fixed') oIFrame.style.position = 'fixed';
The location of bug is indicated in attached fckpanel-fixed-position-bug.js file.
Attachments (1)
Change History (5)
Changed 18 years ago by
Attachment: | fckpanel-fixed-position-bug.js added |
---|
comment:1 Changed 18 years ago by
I've realized that it's not so easy, because the panel is used in the editor context menu as well. So the solution must be more sophisticated, eg. looking upwards DOM hierarchy starting from panel parent, for the element fixed positioned, to set its position to 'fixed'?
comment:2 Changed 18 years ago by
Keywords: | panel position fixed removed |
---|
comment:3 Changed 17 years ago by
Keywords: | Confirmed added |
---|
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I believe this bug is gone because shared spaces feature was introduced in CKEditor.
The toolbar panel fixed position bug indication.