ckeditor wasn't working for us in Sakai 22, there was an error:
Uncaught TypeError: a.charAt is not a function
so we switched to
Note - for that plug-in we also had to apply a patch to it as described in that plug-in's comments, "if(typeof ids !== "undefined")"
var faIcons='';
for(var x in allFaIcons){
var ids = allFaIcons[x].id;
if(typeof ids !== "undefined") { var id = ids.split('-').join('<br/>');
faIcons += '<a href="#" onclick="klick(this);return false;" title="'+ids+'"><span class="fa fa-'+ids+'"></span>'+id+'</a>';
}}
to install it:
1. download the plugin
2. add it to /library/src/webapp/editor/cextraplugins/ckeditorfa
3. edit /library/src/webapp-filtered/editor/ckeditor.launch.js and add the following
extraPlugins: [
//These plugins are included in the ckeditor4 webjar
// 'a11yhelp',
'about',
// 'adobeair',
.
.
.
.
(sakai.editor.enableSakaiOpenLink ? 'sakaiopenlink' : ''),
`${ckeditor-extra-plugins}`,
`${ckeditor-a11y-extra-plugins}`,
`${ckeditor-math-extra-plugins}`,
'ckeditorfa'
].join(','),
.
.
.
[ 'AudioRecorder', 'Image', 'Html5video','Table','HorizontalRule','Smiley','SpecialChar','ckeditorfa'],
.
.
.
CKEDITOR.plugins.addExternal('a11ychecker',webJars+'a11ychecker/${ckeditor.a11ychecker.version}/', 'plugin.js');
// FMathEditor plugin
CKEDITOR.plugins.addExternal('FMathEditor', fmathPath, 'plugin.js');
CKEDITOR.plugins.addExternal('pasteFromGoogleDoc',webJars+'pasteFromGoogleDoc/${ckeditor.pasteFromGoogleDoc.version}/', 'plugin.js');
CKEDITOR.plugins.addExternal('ckeditorfa',basePath+'ckeditorfa/', 'plugin.js');