https://github.com/featurist/hyperdom-ckeditor
https://github.com/featurist/hyperdom-ckeditor
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/featurist/hyperdom-ckeditor
- Owner: featurist
- Created: 2015-06-04T15:29:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T14:28:29.000Z (about 7 years ago)
- Last Synced: 2025-02-26T09:02:04.303Z (2 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# hyperdom-ckeditor
```bash
npm install hyperdom-ckeditor
```expects to have `window.CKEDITOR` already defined.
# usage
```js
function render() {
return h('div',
h('h1', 'ckeditor'),
h('textarea', {binding: [this, 'html']}),
ckeditor({binding: [this, 'html']})
);
}
```# api
```js
var vdom = ckeditor(options);
```* `options.binding` - the binding to the model
* `options.config` - [ckeditor config](http://docs.ckeditor.com/#!/api/CKEDITOR.config).
* `options.inline` - [inline ckeditor](http://docs.ckeditor.com/#!/guide/dev_inline).
* `options` - the rest of the options are passed to create the vdom element, so you can use `class` and `key` among other things.## We're Hiring!
Featurist provides full stack, feature driven development teams. Want to join us? Check out [our career opportunities](https://www.featurist.co.uk/careers/).