You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not use the umd mode, such as developing in vue, it will only trigger one of the following bugs:
After the user clicks to edit the cell, the hyperlink plugin will remain disabled unless the user refreshes the page manually.
If it is in umd mode, the following bugs will be triggered normally:
After the user clicks to edit the cell, the hyperlink plug-in will continue to be disabled.
Uncaught TypeError: Cannot read properties of undefined (reading 'SheetDataValidationModel') Exception
When I submitted this bug, in the recorded video, we can see that if the hyperlink UI menu is disabled, drag the window size and the hyperlink UI status will be refreshed.
However, the right-click hyperlink status will not be refreshed.
Actually, I discovered this bug when I was recording a video.
Expected behavior
After the user edits the cell, the hyperlink plugin can be used normally.
Actual behavior
After the user edits the cell, the hyperlink plug-in enters a disabled state, and the user can no longer operate the hyperlink, such as adding a new one.
univer-botbot
changed the title
[Bug] 你好, 超链接插件【hyperlink】似乎出现了一个bug
[Bug] Hello, there seems to be a bug in the hyperlink plugin [hyperlink]
Mar 24, 2025
在您提交此问题之前,您是否检查了以下内容?
受影响的包和版本
v0.6.6
复现链接
20250324_172814_20250324_17371592.mp4
复现代码
https://stackblitz.com/edit/univer-sheets-umd-ujtj7qm2?file=index.html
本地样本
demo.zip
如果不使用umd模式,比如在vue中开发,只会触发下面的一种bug:
用户点击编辑单元格后,超链接插件就会一直进入禁用状态,除非用户手动刷新页面。
如果在 umd模式下,才会触正常触发下面的种bug:
我在提交这个bug的时候,录制的视频中,我们可以看到,如果 超链接(hyperlink)UI菜单被禁用后,拖动窗口大小,会重新刷新 超链接(hyperlink)UI 状态,
但是不会刷新 右键的超链接状态。
其实这个bug是我在录制视频才发现的。
预期行为
用户编辑单元格后,超链接插件 是可以正常使用的
实际行为
用户编辑单元格后,超链接插件进入禁用状态,用户无法再操作超链接,比如新增
运行环境
Chrome
系统信息
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400
Memory: 12.43 GB / 31.78 GB
Binaries:
Node: 18.17.1 - E:\java-dev\node-v18.17.1-win-x64\node.EXE
Yarn: 1.22.22 - E:\java-dev\node-v18.17.1-win-x64\yarn.CMD
npm: 9.6.7 - E:\java-dev\node-v18.17.1-win-x64\npm.CMD
pnpm: 10.6.5 - E:\java-dev\node-v18.17.1-win-x64\pnpm.CMD
Browsers:
Edge: Chromium (121.0.2277.83)
Internet Explorer: 11.0.19041.4355
The text was updated successfully, but these errors were encountered: