Opened 10 years ago

Closed 7 years ago

#1371 closed New Feature (worksforme)

Getting InstanceName though iframe ID

Reported by: raboofje@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF HasPatch Cc:

Description

FCKEditor currently communicates the InstanceName to fckeditor.html by setting it in the GET string.

Due to a restriction (not really relevant to describe here) in our case the use of a GET string was impossible.

We found a way to work around this by extracting the InstanceName from the ID of the enclosing iframe instead of from the GET-string. Relevant code snippet:

var frameid = this.frameElement.id;
var InstanceName = frameid.substring(0, frameid.length - 8);

It might be a nice idea to use this instead of looking at the GET-string.


Moved from sourceforge
Original author: Arnout Engelen

Change History (2)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Reporter: changed from Alfonso Martínez de Lizarrondo to raboofje@…

comment:2 Changed 7 years ago by Wiktor Walc

Resolution: worksforme
Status: newclosed

CKEditor is now working in a different way and this ticket is no longer valid.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy