Ticket #898 (closed New Feature: fixed)

Opened 2 years ago

Last modified 13 months ago

Add EditorAreaCSS to image preview

Reported by: redtopia@… Owned by: alfonsoml
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

898.patch (1.6 KB) - added by alfonsoml 14 months ago.
Proposed SVN patch

Change History

Changed 2 years ago by martinkou

  • reporter changed from martinkou to redtopia@…

Changed 16 months ago by w.olchawa

  • keywords HasPatch added

Changed 14 months ago by alfonsoml

  • owner set to alfonsoml
  • status changed from new to assigned

Changed 14 months ago by alfonsoml

Proposed SVN patch

Changed 14 months ago by alfonsoml

  • keywords Review? added; HasPatch removed

This should be enough to be able to see the images with the classes applied to them.

Changed 13 months ago by fredck

  • keywords Review+ added; Review? removed
  • milestone set to 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.

Changed 13 months ago by alfonsoml

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [2023]

Note: See TracTickets for help on using tickets.