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

Commit aaaf251

Browse files
committed
Add img-responsive class to image uploads
1 parent cc12367 commit aaaf251

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

angular-redactor-filepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ RedactorPlugins.filepicker = function() {
287287

288288
},
289289
insert: function(object) {
290-
html = "<img src='" + object[0].url + "'>"
290+
html = "<img class='img-responsive' src='" + object[0].url + "'>"
291291
this.insert.html(html);
292292

293293
this.code.sync();

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.4.0",
4+
"version": "2.4.1",
55
"homepage": "https://github.com/UseFedora/angular-redactor",
66
"authors": [
77
"Tyler Garlick <tjgarlick@gmail.com>",

0 commit comments

Comments
 (0)