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

Commit 22669c5

Browse files
committed
Allow script tags
1 parent bd75450 commit 22669c5

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
@@ -188,7 +188,8 @@ RedactorPlugins.filepicker = function() {
188188
focusCallback: updateModel,
189189
blurCallback: updateModel,
190190
plugins: ['filepicker', 'fullscreen'],
191-
buttons: ['html', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule']
191+
buttons: ['html', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule'],
192+
deniedTags: ['html', 'head', 'body', 'meta', 'applet']
192193
},
193194
additionalOptions = attrs.redactor ?
194195
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": "2.0.0",
4+
"version": "2.1.0",
55
"homepage": "https://github.com/UseFedora/angular-redactor",
66
"authors": [
77
"Tyler Garlick <tjgarlick@gmail.com>",

0 commit comments

Comments
 (0)