JSPM

hyperdom-ckeditor

1.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23037F
  • License MIT

ckeditor component for hyperdom

Package Exports

  • hyperdom-ckeditor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hyperdom-ckeditor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hyperdom-ckeditor

npm install hyperdom-ckeditor

expects to have window.CKEDITOR already defined.

usage

function render() {
  return h('div',
    h('h1', 'ckeditor'),
    h('textarea', {binding: [this, 'html']}),
    ckeditor({binding: [this, 'html']})
  );
}

api

var vdom = ckeditor(options);
  • options.binding - the binding to the model
  • options.config - ckeditor config.
  • options.inline - inline ckeditor.
  • options - the rest of the options are passed to create the vdom element, so you can use class and key among other things.