怎样在新建注释时调整条目标签? #246
Replies: 2 comments 1 reply
-
遇到了同样的问题,请问有其他解决思路吗 |
Beta Was this translation helpful? Give feedback.
1 reply
-
可以尝试将 let parentItem = Zotero.Items.getTopLevel(item)[0]; 改为 let parentItem = Zotero.Items.getTopLevel([item])[0]; See #340 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
求助各位!我的事件设置为新建注释:
我希望在我新建注释的时候,将标签替换为/read,使用脚本如下:
但是这样会将标签加在新建的注释上,无法改变条目的标签,我想要改变父条目的标签,就加入了寻找父项目的语句,并把
item
全部替换为了parentItem
:但运行会报错:items.map is not a function
请问这个问题怎样解决?
Beta Was this translation helpful? Give feedback.
All reactions