set/all/editor.rb in card-mod-edit-0.15.6 vs set/all/editor.rb in card-mod-edit-0.16.0
- old
+ new
@@ -47,12 +47,17 @@
text_area :content, rows: 5, class: "d0-card-content",
"data-card-type-code": card.type_code
end
def text_field_input
- text_field :content, class: classy("d0-card-content")
+ text_field :content, class: classy("d0-card-content"), placeholder: placeholder_text
end
def hidden_input
hidden_field :content, class: classy("d0-card-content")
+ end
+
+ # for override (placeholder for placeholders)
+ def placeholder_text
+ ""
end
end