Add showing tunit boundaries
This commit is contained in:
@ -13,8 +13,9 @@
|
||||
</:actions>
|
||||
</.header>
|
||||
|
||||
|
||||
<div class="article">
|
||||
<a href="#" class="show-link" phx-click={JS.add_class("show-boundary", to: ".article")}>show boundaries</a>
|
||||
<a href="#" class="hide-link" phx-click={JS.remove_class("show-boundary", to: ".article")}>hide boundaries</a>
|
||||
<%= InternalTree.render_html(@article.content) |> raw %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user