Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit e2c3abc

Browse files
committed
Fix model updating -- oops
1 parent a75ceff commit e2c3abc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

angular-redactor-filepicker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ RedactorPlugins.filepicker = function() {
186186
});
187187
},
188188
options = {
189+
changeCallback: updateModel,
189190
plugins: ['filepicker', 'fullscreen'],
190-
buttons: ['html', 'formatting', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule']
191+
buttons: ['html', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule']
191192
},
192193
additionalOptions = attrs.redactor ?
193194
scope.$eval(attrs.redactor) : {},

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-redactor-filepicker",
33
"main": "angular-redactor-filepicker.js",
4-
"version": "1.7.0",
4+
"version": "1.8.0",
55
"homepage": "https://github.com/UseFedora/angular-redactor",
66
"authors": [
77
"Tyler Garlick <tjgarlick@gmail.com>",

0 commit comments

Comments
 (0)