Opened 16 years ago
Closed 11 years ago
#2598 closed Bug (invalid)
Image Properties Dialog not applying BodyClass to Image Preview body element.
Reported by: | Pauline Perren | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | FCKeditor 2.6.3 |
Keywords: | Cc: |
Description
The Image Preview textarea in the Image Properties dialog doesn't have any classes associated with the body element for the preview pane. This can mean that the preview is unviewable and may not match the site's theme.
This can be fixed by adding the line:
document.body.className = FCKConfig.BodyClass;
In the window.onLoad function in the file: editor/dialog/fck_imagefck_image_preview.html.
I'm not a javascript programmer though and I haven't looked very deeply into the code for this application so it might not be the best way.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | Image Properties.png added |
---|
comment:1 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
The preview is only to show the image and its properties. Image can be seen in real environment in the editor. In fact, in the new image2 plugin we haven't implemented preview at all, because it doesn't make sense.