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.
584 B
584 B
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