lib/onebox/engine/trello_onebox.rb in onebox-1.8.99 vs lib/onebox/engine/trello_onebox.rb in onebox-1.9.0
- old
+ new
@@ -17,9 +17,13 @@
<<-HTML
<iframe src=\"#{link}\" width=\"100%\" height=\"#{height}\" frameborder=\"0\" style=\"border:0\"></iframe>
HTML
end
+ def placeholder_html
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon generic'></span></div>"
+ end
+
private
def match
return @match if @match
@match = @url.match(%{trello\.com/(?<type>[^/]+)/(?<key>[^/]+)/?\W*})