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

Commit cc12367

Browse files
committed
Don't replace divs with P tags
1 parent 7245e0a commit cc12367

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
@@ -330,7 +330,8 @@ RedactorPlugins.filepicker = function() {
330330
blurCallback: updateModel,
331331
plugins: ['filepicker', 'fullscreen', 'fontcolor', 'fontsize', 'fontfamily'],
332332
buttons: ['html', 'formatting', 'bold', 'italic', 'underline', 'orderedlist', 'unorderedlist', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule'],
333-
deniedTags: ['html', 'head', 'body', 'meta', 'applet']
333+
deniedTags: ['html', 'head', 'body', 'meta', 'applet'],
334+
replaceDivs: false
334335
},
335336
additionalOptions = attrs.redactor ?
336337
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.3.0",
4+
"version": "2.4.0",
55
"homepage": "https://github.com/UseFedora/angular-redactor",
66
"authors": [
77
"Tyler Garlick <tjgarlick@gmail.com>",

0 commit comments

Comments
 (0)