2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: fckeditorapi.js
14
* Create the FCKeditorAPI object that is available as a global object in
15
* the page where the editor is placed in.
18
* Frederico Caldeira Knabben (fredck@fckeditor.net)
23
function FCKeditorAPI_GetInstance( instanceName )
25
return this.__Instances[ instanceName ] ;
28
if ( !window.parent.FCKeditorAPI )
30
// Make the FCKeditorAPI object available in the parent window.
31
FCKeditorAPI = window.parent.FCKeditorAPI = new Object() ;
32
FCKeditorAPI.__Instances = new Object() ;
34
// Set the current version.
35
FCKeditorAPI.Version = '2.1 PR' ;
37
// Function used to get a instance of an existing editor present in the
39
FCKeditorAPI.GetInstance = FCKeditorAPI_GetInstance ;
42
FCKeditorAPI = window.parent.FCKeditorAPI ;
44
// Add the current instance to the FCKeditorAPI's instances collection.
45
FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
b'\\ No newline at end of file'