Namespaces

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

The entire CKEditor core code (and most of its plugins) we'll be running inside a single reference object, the CKEDITOR namespace.This object will be available in the page running the editor, and no other variables will be defined in the page by our code.

Inside the core code, the CKEDITOR namespace will be then fragmented in further namespaces, which will group the code resources in specialized blocks. Some examples are CKEDITOR.dom, CKEDITOR.env and CKEDITOR.ui.

Namespaces will mainly hold objects and classes, but it is also allowed to have properties and functions on it. For example, CKEDITOR.env.ie returns a Boolean value, while CKEDITOR.dom.document points to a class

This page was last edited on 6 August 2008, at 13:37.