I want to integrate ckeditor in the app. Any pointers or steps in that direction will really help.
Below steps I followed.
npm install --save @ckeditor/ckeditor5-build-classic
path_mapping.json entry
"ckeditor": {
"cdn": "3rdparty",
"cwd": "node_modules/@ckeditor/ckeditor5-build-classic/build",
"debug": {
"src": ["ckeditor.js", "ckeditor.js.map"],
"path": "libs/ckeditor/ckeditor.js",
"cdnPath": "ckeditor/ckeditor"
},
"release": {
"src": ["ckeditor.js", "ckeditor.js.map"],
"path": "libs/ckeditor/ckeditor.js",
"cdnPath": "ckeditor/ckeditor"
}
}
web/js/libs/ckeditor folder is created.
main.js entry
'ckeditor': 'libs/ckeditor/ckeditor'
in view
<textarea id="feedback" data-bind="jqueryUI:{component: 'ckeditor', value: value, skin: 'moono-lisa', toolbar: 'basic', uiColor : '#9AB8F3'}"/>
defined 'ckeditor' in viewModel also but still getting error:-
Component ckeditor is not found
If you can point if I am missing something.
Thanks