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'
|