kiteditor 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: