You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4e42e4d74c | 11 years ago | |
---|---|---|
src | 11 years ago | |
test | 11 years ago | |
.editorconfig | 11 years ago | |
.gitattributes | 11 years ago | |
.gitignore | 11 years ago | |
.jshintrc | 11 years ago | |
Gruntfile.coffee | 11 years ago | |
README.md | 11 years ago | |
angular-contenteditable.js | 11 years ago | |
bower.json | 11 years ago | |
package.json | 11 years ago |
README.md
angular-contenteditable
An AngularJS directive to bind html tags with the contenteditable
attribute to models.
Install
bower install angular-contenteditable
Usage
angular.module('myapp', ['contenteditable'])
.controller('Ctrl', function($scope){
$scope.model="<i>interesting</i> stuff" })
<div ng-controller="Ctrl">
<span contenteditable="true"
ng-model="model"
strip-br="true"
select-non-editable="true"></span></div>
Development
npm install
grunt build
grunt karma:e2e