kiteditor 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,6 +57,11 @@
57
57
  height = @element.find('#media_image_height').val()
58
58
  attrs['width'] = width if width
59
59
  attrs['height'] = height if height
60
+
61
+ attrs['alt'] = @element.find("#media_image_alt").val()
62
+ padding = @element.find("#media_image_padding").val()
63
+ attrs['style'] = "padding: #{padding}" if (padding!="")
64
+
60
65
 
61
66
  if attrs['src'].indexOf('http')!=0
62
67
  size = 'original'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiteditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: