Implement editing comments

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-09 13:08:28 +02:00
parent 46720dc37b
commit dcc3601bd7
3 changed files with 51 additions and 12 deletions
+2 -1
View File
@@ -22,9 +22,10 @@
import app from '../app/App';
app.directive("contenteditable", function() {
app.directive("ngContenteditable", function($compile) {
return {
require: "ngModel",
restrict: 'A',
link: function(scope, element, attrs, ngModel) {
//read the text typed in the div (syncing model with the view)