Article.render: parse dojo widgets

This commit is contained in:
Andrew Dolgov 2021-02-16 22:05:12 +03:00
parent 91e7969383
commit 89e8176c69
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ const Article = {
container.innerHTML = row.getAttribute("data-content").trim();
dojo.parser.parse(container);
// blank content element might screw up onclick selection and keyboard moving
if (container.textContent.length == 0)
container.innerHTML += " ";