ng-cemodel
Angular directive allowing you to bind ngmodel to contenteditable, complete with placeholder support
Installation
- install the directive
npm install --save ng-cemodel
or if you're using yarn:
yarn add ng-cemodel
- import it in your module file along with @angular/forms' FormModule
;;
- you can now use this directive wherever you want!
features
This directive allows for both ngModel as well as formcontrol, on top of that it supports placeholder and has custom stylings when a contenteditable element with this directive is hovered