Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albinotonnina/contenteditable-utilities
Utilities for contenteditable
https://github.com/albinotonnina/contenteditable-utilities
Last synced: 29 days ago
JSON representation
Utilities for contenteditable
- Host: GitHub
- URL: https://github.com/albinotonnina/contenteditable-utilities
- Owner: albinotonnina
- License: mit
- Created: 2017-04-06T17:10:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T17:56:43.000Z (about 7 years ago)
- Last Synced: 2025-01-14T03:06:50.367Z (about 1 month ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/albinotonnina/contenteditable-utilities)
[](https://coveralls.io/github/albinotonnina/contenteditable-utilities)
[](https://www.bithound.io/github/albinotonnina/contenteditable-utilities/master/dependencies/npm)Contenteditable Utilities
=========[codepen example](http://codepen.io/albino/pen/oZRPJK)
## Installation
`npm install contenteditable-utilities`
## Usage
import ContentEditable from 'contenteditable-utilities';
// const ContentEditable = require('contenteditable-utilities');new ContentEditable({
element: dummyElement,
options: {
onBlur: (value) => {
console.log(value);
}
}
});value should be valid
## Tests
`npm test`
## Contributing
In lieu of a formal style guide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.