New example import/export.

This commit is contained in:
2020-01-14 00:03:59 +01:00
parent 38fe7a5740
commit dcb4840f2a
3 changed files with 15 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ class View:
return h("div.example", {}, [
h("div.example-dot", {}, ""),
h(example_tag, {}, [
h("span.example-text", {"on": {"click": msg(ShowExampleEdit(example))} }, example.example),
h("span.example-text", {"on": {"click": msg(ShowExampleEdit(example))} }, example.text),
h("div.example-translation-list", { "on": {"click": msg(ShowExampleTranslationEdit(example))} }, [
h("div.example-translation", {}, [
h("span.example-arrow", {}, ""),