Add creating and basic editing of translation

This commit is contained in:
Thelonius Kort
2023-01-04 14:42:13 +01:00
parent f4b5abef5a
commit d589d84b40
15 changed files with 235 additions and 47 deletions

View File

@ -9,9 +9,9 @@ defmodule Outlook.InternalTree do
|> Html.to_html()
end
def render_html_preview(tree) do
def render_html_preview(tree, target \\ "1") do
tree
|> Html.to_html_preview("1")
|> Html.to_html_preview(target)
end
require Logger