more normalization and copy button
This commit is contained in:
@ -10,8 +10,8 @@ defmodule ClipWeb.BoardLive do
|
||||
<form phx-change="paste">
|
||||
<textarea type="text" name="snippet" data-updated-val="<%= @snippet %>" phx-hook="SnippetInput" autocomplete="off"><%= @snippet %></textarea>
|
||||
</form>
|
||||
Current content: <%= @snippet %><br>
|
||||
<button phx-click="normalize">-> 004930112</button>
|
||||
<!-- Current content: < %= @snippet %><br> -->
|
||||
<button phx-click="normalize">+4930112 -> 0004930112#</button> <button id="copy-button">copy</button>
|
||||
"""
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user