Skip to content

sunbird-content-plugins/org.ekstep.libs.ckeditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

org.ekstep.libs.ckeditor


Usage:

1. Include the plugin as a dependency in the manifest.json file:
{
    "dependencies": [
        {
            "type": "plugin",
            "plugin": "org.esktep.libs.ckeditor",
            "ver": "1.0"
        }
    ]
} 
2. Create a config.js file from config.sample.js in org.ekstep.ckeditor-1.0/ckeditor/ folder.

Customize the config.js file to modify the settings, and include/exclude the plugins needed for your implementation.

3. Finally, instantiate the CKEditor on a textarea using:
CKEDITOR.replace('myTextarea', {
    customConfig: ecEditor.resolvePluginResource(this.manifest.id, this.manifest.ver, "editor/config.js"),
    skin: 'moono-lisa,' + CKEDITOR.basePath + "skins/moono-lisa/",
    contentsCss: CKEDITOR.basePath + "contents.css"
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •