Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ckeditor integration

Wrushasen DakhaneMar 22 2019 — edited Mar 25 2019

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

Comments
Post Details
Added on Mar 22 2019
2 comments
528 views