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 wichanart committed Oct 26, 2021
1 parent 312a468 commit 5975b62
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 5975b62

Please sign in to comment.