plastiq-ckeditor

1.3.0 • Public • Published

plastiq-ckeditor

npm install plastiq-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.

Readme

Keywords

Package Sidebar

Install

npm i plastiq-ckeditor

Weekly Downloads

0

Version

1.3.0

License

MIT

Last publish

Collaborators

  • refractalize