windingwind / zotero-plugin-toolkit

Toolkit for Zotero Plugin Developers.
https://www.npmjs.com/package/zotero-plugin-toolkit
MIT License
112 stars 13 forks source link

TypeError: tabbox is null #49

Closed recursive-beast closed 6 months ago

recursive-beast commented 7 months ago

I'm trying to set up the template to create a new Zotero plugin, so I followed the quick start guide from the README.

When running npm run start, Zotero is launched with the example add-on trying to load itself, but an error occurs:

image

Specifically, this line is the one that errors out.

If I comment it out, everything else works as expected, but unfortunately, I need to interact with a tab panel in my plugin.

Zotero version: Zotero-7.0.0-beta.68+c31a40c74_win-x64

northword commented 7 months ago

自 Zotero 7 beta 55 以来,注册侧边栏选项卡的接口基本失效,官方正在集成此接口,请关注 https://github.com/zotero/zotero/pull/3624


我觉得此 Issue 可以 transfer 到 zotero-plugin-toolkit 仓库,模板可以暂时移除与最新 beta 构建不兼容的示例,toolkit 可以将相关方法标记 deprecated.

recursive-beast commented 6 months ago

@windingwind The new interface has been implemented, are there any plans to update zotero-plugin-toolkit ?

windingwind commented 6 months ago

Please use the official API.