FLITE (LoopIndex Tracking Enhancement) for CKEditor

See the API reference for a more detailed documentation


If your ckeditor build does not already contain FLITE, drop the flite folder into ckeditor's plugins folder

Getting Started

  1. (Optional) Include the flite plugin's interface in your html, e.g.
    	<script type="text/javascript" src="ckeditor/plugins/flite/flite-interface.js"></script>
    You don't have to include this file, but doing so will allow you to use the constants defined in it, e.g. FLITE.Commands.TOGGLE_TRACKING, FLITE.Events.ACCEPT
  2. If FLITE is not included in ckedito's plugins list, add it to the editor's configuration. The simplest way to do this is by adding the following line to ckeditor's config.js:
    	config.extraPlugins = 'flite';
    If your configuration already contains some plugin tweaking, just make sure that FLITE is included in the editor's plugins list.
  3. If you wish to make any other configuration changes via config.js, verify that the editor's configuation contains a flite section by adding the following lines to ckeditor's config.js:
    	var flite = config.flite|| {};
    	config.flite = flite;
  4. If your page doesn't include jQuery, the FLITE plugin will load it during its initialization. By default the code is loaded from the flite/js folder. If you want to provide a different path, you can do so by configuring the value of flite.jQueryPath in ckeditor's config.js. The path you specify should be relative to the flite folder.
    	config.flite.jQueryPath = "../common/jquery.min.js";