Preserve text on edit ref

pull/204/head
M66B 3 years ago
parent 7a407cd884
commit fc6debb507

@ -1233,8 +1233,11 @@ public class FragmentCompose extends FragmentBase {
p.html(TextUtils.join("<br>", line)); p.html(TextUtils.join("<br>", line));
document.body().appendChild(p); document.body().appendChild(p);
return document.html(); return document.html();
} else } else {
return ref.html(); // Edit-ref for (Element element : ref)
document.body().appendChild(element);
return document.html(); // Edit-ref
}
} }
@Override @Override

Loading…
Cancel
Save