in zotero -- tools --developers -- run javascript, paste the following script and click run,
the selections can display correctly in zotero beta 96 and former, but not in beta 97-99, which can't show the item content.
however, I can get the right "out" result, whether in zotero beta 96 or 97-99.
Anyone can help me to fix this problem?
Many thanks.
```javascript
function selectItems(itemList) {
var io = { dataIn: itemList, dataOut: null };
window.openDialog("chrome://zotero/content/ingester/selectitems.xhtml",
"_blank", "chrome,modal,centerscreen,resizable=yes", io);
return io.dataOut;
}
templateNames = [
"[Item] item-notes with metadata",
"[Note] with metadata",
"[QuickInsert]",
"[QuickImport]",
"[Text] table",
"[QuickInsertV2]",
];
let out = selectItems(templateNames);
console.log(out);
```
ref.