Skip to content

Commit

Permalink
add placeholder to text box in editor L224 (publiclab#8181)
Browse files Browse the repository at this point in the history
  • Loading branch information
samarakoon-ryan authored and shubhangikori committed Oct 12, 2020
1 parent 537314f commit 4ae415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/editor/rich.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
</div>

<div class="ple-module-content col-lg-9">
<textarea aria-label="Enter note description" id="text-input" class="ple-textarea form-control"><% if @node && @node.latest && @node.latest.body_rich %><%= @node.latest.body %><% else %><%= params[:body] %><% end %></textarea>
<textarea aria-label="Enter note description" id="text-input" placeholder="Enter the content here" class="ple-textarea form-control"><% if @node && @node.latest && @node.latest.body_rich %><%= @node.latest.body %><% else %><%= params[:body] %><% end %></textarea>
</div>

</div>
Expand Down

0 comments on commit 4ae415c

Please sign in to comment.