Opened 18 years ago
Closed 17 years ago
#898 closed New Feature (fixed)
Add EditorAreaCSS to image preview
Reported by: | Owned by: | Alfonso Martínez de Lizarrondo | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.1 |
Component: | General | Version: | |
Keywords: | SF Review+ | Cc: |
Description
It would be a nice improvement for the image preview pane to view the image in the context of the current editor area CSS file. To do this, I've added this code to the <head> of the fck_image_preview.html file: (inside the exisiting <script>)
// Sets the editor area CSS if (window.parent.FCKConfig.EditorAreaCSS.length > 0) document.write( '<link href="' + window.parent.FCKConfig.EditorAreaCSS + '" type="text/css" rel="stylesheet">' ) ;
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1496671&group_id=75348&atid=543656
Attachments (1)
Change History (7)
comment:1 Changed 18 years ago by
Reporter: | changed from Martin Kou to redtopia@… |
---|
comment:2 Changed 17 years ago by
Keywords: | HasPatch added |
---|
comment:3 Changed 17 years ago by
Owner: | set to Alfonso Martínez de Lizarrondo |
---|---|
Status: | new → assigned |
Changed 17 years ago by
comment:4 Changed 17 years ago by
Keywords: | Review? added; HasPatch removed |
---|
This should be enough to be able to see the images with the classes applied to them.
comment:5 Changed 17 years ago by
Keywords: | Review+ added; Review? removed |
---|---|
Milestone: | → FCKeditor 2.6.1 |
I don't want to Review- it just because of this, but please remove the indentation from lines 38 and 39 before committing.
Proposed SVN patch