Simple maxlength plugin validator for contenteditable html , this plugin do not allow you to put more than the specified max length allowed, paste from clipboard is also checked
npm install maxlength-contenteditable> Simple maxlength plugin validator for contenteditable html attribute, this plugin do not allow you to put more than the specified max length, paste from clipboard is also checked.
#### npm
``bash`
$ npm install maxlength-contenteditable --save`
#### yarnbash`
$ yarn add maxlength-contenteditable --save$3
You can also skip yarn/npm install by using repos on the cdn
`html`initialize
you have 3 ways to do it :
javascript
var maxlengthContentEditableLib = require('maxlength-contenteditable');
`
$3
`javascript via
import {maxlengthContentEditable} from 'maxlength-contenteditable';
`
$3
`javascript
maxlengthContentEditableModule.maxlengthContentEditable();
` ### Example of use
`html
`` IE 9+ , Chrome , Firefox , Opera