app/views/sketchily/_embed.html.erb~ in sketchily-1.3.0 vs app/views/sketchily/_embed.html.erb~ in sketchily-1.4.0
- old
+ new
@@ -3,19 +3,19 @@
# value
#
# Additionally, they may override the following variables:
width ||= "750px"
height ||= "650px"
- bkgd_color ||= "FFFFFF"
+ bkgd_color ||= "FFF"
bkgd_url ||= ""
canvas_width ||= 640
canvas_height ||= 480
canvas_expansion ||= 3
hide_rulers ||= false
hide_menu ||= false
hide_image_tool ||= false
- hide_hyperlink_tool ||= false
+ show_hyperlink_tool ||= false
show_layers ||= false
url ||= nil
%>
<% iframe_src = URI.parse("/assets/svg-editor.html")
@@ -44,10 +44,10 @@
<%= render :partial => "sketchily/embed",
:formats => :js,
:locals => {:id => id,
:value => value,
:hide_menu => hide_menu,
+ :show_hyperlink_tool => show_hyperlink_tool,
:hide_image_tool => hide_image_tool,
- :hide_hyperlink_tool => hide_hyperlink_tool,
:url => url} %>
</script>