diff --git a/src/main/glam/client/ui/document/interlinear_editor.cljs b/src/main/glam/client/ui/document/interlinear_editor.cljs index 9dca281..6f027bd 100644 --- a/src/main/glam/client/ui/document/interlinear_editor.cljs +++ b/src/main/glam/client/ui/document/interlinear_editor.cljs @@ -166,7 +166,7 @@ @spans)) needs-span (difference contentful-lines covered-lines)] (doseq [line-num needs-span] - (let [tokens-for-line (vec (line->tokens line-num)) + (let [tokens-for-line (mapv :token/id (line->tokens line-num)) record {:span/value "" :span/tokens tokens-for-line}] (swap! updates conj [:create record]) (swap! spans conj (assoc record :span/id (tempid/tempid))))))