Skip to content

Commit 9f15a81

Browse files
author
Tyler Garlick
committed
Merge pull request #28 from gather/master
Use `code.set` rather than `insert.set`.
2 parents 8e5405d + da40ee2 commit 9f15a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular-redactor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
ngModel.$render = function() {
6060
if(angular.isDefined(editor)) {
6161
$timeout(function() {
62-
$_element.redactor('insert.set', ngModel.$viewValue || '');
62+
$_element.redactor('code.set', ngModel.$viewValue || '');
6363
scope.redactorLoaded = true;
6464
});
6565
}

0 commit comments

Comments
 (0)