Skip to content

Commit

Permalink
Issue #SB-7213 fix: CKEditor Config issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pallakartheekreddy committed Oct 10, 2018
1 parent 3634f69 commit 831f90c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions org.ekstep.richtext-1.0/editor/richtexteditorapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ angular.module('richtexteditorapp', [])
}
});
ctrl.selectedText = false;
var manifest = org.ekstep.pluginframework.pluginManager.getPluginManifest("org.ekstep.richtext");
CKEDITOR.replace( 'editor1', {
customConfig: CKEDITOR.basePath + "config.js",
customConfig: ecEditor.resolvePluginResource(manifest.id, manifest.ver, "editor/libs/config.js"),
skin: 'moono-lisa,'+CKEDITOR.basePath + "skins/moono-lisa/",
contentsCss: CKEDITOR.basePath + "contents.css",
contentsCss: ecEditor.resolvePluginResource(manifest.id, manifest.ver, "editor/libs/contents.css"),
});
var textObj = ecEditor.getCurrentObject();
if(e.currentScope.ngDialogData && e.currentScope.ngDialogData.textSelected && textObj) {
Expand Down

0 comments on commit 831f90c

Please sign in to comment.