hyperdom-ckeditor
v1.3.0
Published
ckeditor component for hyperdom
Downloads
3
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 modeloptions.config
- ckeditor config.options.inline
- inline ckeditor.options
- the rest of the options are passed to create the vdom element, so you can useclass
andkey
among other things.